Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 49992650374 for ; Tue, 26 Aug 2008 21:58:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 61927-01-10 for ; Tue, 26 Aug 2008 21:58:46 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by postgresql.org (Postfix) with ESMTP id E1CB66504C9 for ; Tue, 26 Aug 2008 21:38:03 -0300 (ADT) Received: by mu-out-0910.google.com with SMTP id i2so1959847mue.3 for ; Tue, 26 Aug 2008 17:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=qH3XWr37fo78jdTPAf9jqpm1YazB9ATE7W4MMFu5y9s=; b=mTrGHBdY2J/nm/afr22dXA7G1SNInYJRA3Q/vYJIGgkmmPxHHAfQaeesMxm+5rdaTi BoGmUstkBSGlgg9pcNgKJ/qVBCo8GkHdUHS40EYOuMgN714RskyBumUv3N1v8NqdZVVQ uiFrkD+MeHC3ZxVg4oWsTp8kiLzJ1HI+HYIy0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=b+bUhHpo/ZFs45grdql74JKUse0PIe5/Fq3BmzgTdSHstEzgGlefqPuBb4CldFKvhc v8p6+smhk45+olsNmxB30AzsckyDlCRDmf4rUHdvbP20QtgsGje6ORMZ2Dmdh66dqTai lH4WChn+Qq9o8Vn3yIP9sxCH6B+qVUkXqWhEY= Received: by 10.103.170.6 with SMTP id x6mr4206892muo.42.1219797481125; Tue, 26 Aug 2008 17:38:01 -0700 (PDT) Received: by 10.103.12.18 with HTTP; Tue, 26 Aug 2008 17:38:01 -0700 (PDT) Message-ID: Date: Tue, 26 Aug 2008 20:38:01 -0400 From: "Merlin Moncure" To: "Richard Broersma" Subject: Re: [GENERAL] PITR - base backup question Cc: "pgsql-general@postgresql.org" , pgsql-admin@postgresql.org In-Reply-To: <396486430808261553k6687500q19f4117b6c71ae3f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <396486430808261553k6687500q19f4117b6c71ae3f@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/185 X-Sequence-Number: 30030 On Tue, Aug 26, 2008 at 6:53 PM, Richard Broersma wrote: > From the following link: > http://www.postgresql.org/docs/8.3/interactive/continuous-archiving.html#BACKUP-BASE-BACKUP > > Step 3 says to perform the back up. > > Does this mean a File System Backup of the Data directory? > OR > Does this mean performing a pg_dumpall and backing up the dump file? File system backup. You tar up the database folder except pg_xlog (and maybe pg_log). You then expand it on the other side (making sure to set up pg_xlog properly). If you ever want to mess around with log shipping I strongly suggest you go through the motions of setting up a warm standby vi the pg_standby utility and practice popping the standby out of recovery. It will give you a good understanding of the process. merlin