Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 61FA89FB6F7 for ; Tue, 20 Mar 2007 21:01:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 11962-09 for ; Tue, 20 Mar 2007 21:01:39 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from momjian.us (momjian.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 2A6BF9FB6E7 for ; Tue, 20 Mar 2007 21:01:39 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id l2L01XD12793; Tue, 20 Mar 2007 20:01:33 -0400 (EDT) From: Bruce Momjian Message-Id: <200703210001.l2L01XD12793@momjian.us> Subject: Re: WAL based backup/recovery clarifications In-Reply-To: To: Sabin Coanda Date: Tue, 20 Mar 2007 20:01:33 -0400 (EDT) CC: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL123] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.059 tagged_above=0 required=5 tests=AWL, BAYES_50, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200703/138 X-Sequence-Number: 24962 Sabin Coanda wrote: > Hi there, > > I'd like to use WAL, but I need some clarifications about the > backup/recovery procedure. > > In Postgresql v8.2.3 documentation, I found I have to make backup between > pg_start_backup/pg_stop_backup executions, using tar/cpio tools. > > May I use pg_dumpall instead ? Is it enough to restore the database later > with WAL ? No, you need a binary backup, not a logical backup. > If I cannot use pg_dumpall, please tell me exactly what are the directories > that have to be archived. I note that I use a standard configuration on > Windows. All under "data". Isn't the documentation clear? -- Bruce Momjian http://momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +