From: Simon Riggs <simon@2ndquadrant.com>
To: Mike C <smith.not.western@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: WAL and pg_dump
Date: Wed, 21 Dec 2005 23:33:48 +0000
Message-ID: <1135208028.2964.329.camel@localhost.localdomain> (raw)
In-Reply-To: <bd0eabd0512121418h4c39a3e6mc71947264e18656f@mail.gmail.com>
References: <bd0eabd0512121418h4c39a3e6mc71947264e18656f@mail.gmail.com>
On Tue, 2005-12-13 at 11:18 +1300, Mike C wrote:
> All the documentation I've seen for PITR points to having to do a file
> system copy of sorts.
Yes. There's no other way, but why would you want another way?
> Is it possible to have a weekly pg_dump and restore the database up to
> the last archived WAL file if the db server fails?
No.
pg_dump only copies the data, not the current state of the database.
> If so, how? Is it just a matter of restoring the database then copying
> the archived WAL files into the xlog dir and creating a recovery.conf
> file?
Best Regards, Simon Riggs
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: simon@2ndquadrant.com, smith.not.western@gmail.com
Subject: Re: WAL and pg_dump
In-Reply-To: <1135208028.2964.329.camel@localhost.localdomain>
References: <bd0eabd0512121418h4c39a3e6mc71947264e18656f@mail.gmail.com> <1135208028.2964.329.camel@localhost.localdomain>
* 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