Re: backup and recovery problem - Mailing list pgsql-general

From Craig Ringer
Subject Re: backup and recovery problem
Date
Msg-id 4A93F7DD.3050102@postnewspapers.com.au
Whole thread Raw
In response to backup and recovery problem  (chanda roopesh <roopeshuss@gmail.com>)
List pgsql-general
On 25/08/2009 8:12 PM, chanda roopesh wrote:
> Hi,
>
> i want to know is there any automated backup and recovery process for
> postgres 8.3 if not can you suggest me how to handle on Windows Server
> 2003 and Linux.

Linux: pg_dump and cron (or ideally your existing backup scheduler via
an external command)

Windows: pg_dump via your existing backup software's ability to run a
command before the backup. If it can't do that, get better backup software.


Also look into PITR / WAL shipping (see the manual and Google). If you
rely on these, TEST YOUR BACKUPS! They're solid, but only if you get the
setup right, and there ARE mistakes you can make.

Note that you MUST NOT use pg_start_backup and pg_stop_backup for file
system copies unless you have WAL archiving in place or have scripts to
copy the required WAL archives after pg_stop_backup.

--
Craig Ringer

pgsql-general by date:

Previous
From: "Eric Comeau"
Date:
Subject: Re: New database or New Schema?
Next
From: Alvaro Herrera
Date:
Subject: Re: R: Field's position in Table