Re: backup and recovery problem

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: backup and recovery problem
Date: 2009-08-25 14:40:29
Message-ID: 4A93F7DD.3050102@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2009-08-25 14:44:21 Re: R: Field's position in Table
Previous Message Tom Lane 2009-08-25 14:12:58 Re: Invalid memory alloc request