Thread: Production Backup and Recovery

Production Backup and Recovery

From
"P. Dwayne Miller"
Date:
Is it documented somewhere how to do on-line backups and then how to
recover from some event using those backups with no (or minimum) loss of
data?


Re: Production Backup and Recovery

From
Doug McNaught
Date:
"P. Dwayne Miller" <dmiller@espgroup.net> writes:

> Is it documented somewhere how to do on-line backups and then how to
> recover from some event using those backups with no (or minimum) loss of
> data?

Right now there is no PIT recovery.  All you can do is run pg_dump
whenever you want to make a backup.  This  will take a consistent
snapshot of the database and write it out as SQL code that will
recreate the database.. 

There has been talk of using the new WAL (write-ahead log) feature to
enable point-in-time recovery, but it is not currently implemented.

-Doug
-- 
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time...          --Dylan


Re: Production Backup and Recovery

From
"John Moore"
Date:
"Doug McNaught" <doug@wireboard.com> wrote in message
news:m38zi7dyfl.fsf@belphigor.mcnaught.org...
> "P. Dwayne Miller" <dmiller@espgroup.net> writes:
>
> > Is it documented somewhere how to do on-line backups and then how to
> > recover from some event using those backups with no (or minimum) loss of
> > data?
>
> Right now there is no PIT recovery.  All you can do is run pg_dump
> whenever you want to make a backup.  This  will take a consistent
> snapshot of the database and write it out as SQL code that will
> recreate the database..

By consistent... does that mean that committed transactions are completely
there, and uncommitted are not there at all?