pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Sabin Coanda <sabin.coanda@deuromedia.ro>
Cc: pgsql-admin@postgresql.org
Subject: Re: WAL based backup/recovery clarifications
Date: Tue, 20 Mar 2007 20:01:33 -0400 (EDT)
Message-ID: <200703210001.l2L01XD12793@momjian.us> (raw)
In-Reply-To: <etlfr2$2pa5$1@news.hub.org>

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  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +



view thread (2+ messages)

Message-ID: <200703210001.l2L01XD12793@momjian.us>
Permalink:  ../200703210001.l2L01XD12793@momjian.us/
Also on:    postgresql.org/message-id/200703210001.l2L01XD12793@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, sabin.coanda@deuromedia.ro
  Subject: Re: WAL based backup/recovery clarifications
  In-Reply-To: <200703210001.l2L01XD12793@momjian.us>
  References: <etlfr2$2pa5$1@news.hub.org> <200703210001.l2L01XD12793@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox