Re: backups and WAL - Mailing list pgsql-admin

From Gaetano Mendola
Subject Re: backups and WAL
Date
Msg-id 412EF36F.8050809@bigfoot.com
Whole thread Raw
In response to backups and WAL  (pablobarbachano@yahoo.es)
List pgsql-admin
pablobarbachano@yahoo.es wrote:

> Hi, first of all thanks for postgresql, it has never given a problem
> and is performing great.
>
> Now my question: my employer wants to do backups every 12 hours, and
> save the logs evry 2 hours to... Can I simply save the logs
> (cp pg_xlog/* ...) or do I need something more elaborate?
>
> Now in a restore situation ... I restore the database, and then what?
> put the saved files back in the pg_xlog/ dir, then start postmaster
> and magically all starts working? Am I correct or completely insane?
> The documentation is not clear in that aspect...

I suppose that you use a pre 8.0 version, if yes take a look at:

http://www.postgresql.org/docs/7.4/interactive/backup.html


take also a look at PITR available in the future ( near I hope :-) )
8.0:

http://developer.postgresql.org/docs/postgres/backup-online.html



Regards
Gaetano Mendola



pgsql-admin by date:

Previous
From: pablobarbachano@yahoo.es
Date:
Subject: backups and WAL
Next
From: G u i d o B a r o s i o
Date:
Subject: Re: backups and WAL