Skip site navigation (1) Skip section navigation (2)

Re: backups and WAL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pablobarbachano(at)yahoo(dot)es
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: backups and WAL
Date: 2004-08-27 14:28:53
Message-ID: 10452.1093616933@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
pablobarbachano(at)yahoo(dot)es writes:
> 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?

You can't realistically do this in any pre-8.0 release; it's perhaps
doable in theory but there are too many gotchas to consider it a
trustworthy backup technique.

8.0 will have real support for log-based backup.  Feel free to try out a
beta --- we could use more people testing this feature.

			regards, tom lane

In response to

pgsql-admin by date

Next:From: Chris BrowneDate: 2004-08-27 14:29:39
Subject: Re: vacuum pg_attribute causes high load
Previous:From: G u i d o B a r o s i oDate: 2004-08-27 13:13:43
Subject: REINDEX process

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group