Re: backups and WAL

From: G u i d o B a r o s i o <gbarosio(at)uolsinectis(dot)com(dot)ar>
To: mendola(at)bigfoot(dot)com, pablobarbachano(at)yahoo(dot)es, pgsql-admin(at)postgresql(dot)org
Subject: Re: backups and WAL
Date: 2004-08-27 09:19:23
Message-ID: 20040827091923.33BBE6C3BB@tino.sinectis.com.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On this issue,

Is a good idea to ln -s the pg_xlog directory onto another place, while the postmaster is running?

I agree with pablo, documentation at this point is not easy to found.

Regards,

> pablobarbachano(at)yahoo(dot)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
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gaetano Mendola 2004-08-27 09:51:19 Re: backups and WAL
Previous Message Gaetano Mendola 2004-08-27 08:40:15 Re: backups and WAL