Production Backup and Recovery

Started by P. Dwayne Millerover 24 years ago3 messages
#1P. Dwayne Miller
dmiller@espgroup.net

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?

#2Doug McNaught
doug@wireboard.com
In reply to: P. Dwayne Miller (#1)
Re: Production Backup and Recovery

"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

#3John Moore
NOSPAMnews@NOSPAMtinyvital.com
In reply to: Doug McNaught (#2)
Re: Production Backup and Recovery

"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?