pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: G u i d o B a r o s i o <gbarosio@uolsinectis.com.ar>
To: mendola@bigfoot.com
To: pablobarbachano@yahoo.es
To: pgsql-admin@postgresql.org
Subject: Re: backups and WAL
Date: Fri, 27 Aug 2004 06:19:23 -0300 (GMT+3)
Message-ID: <20040827091923.33BBE6C3BB@tino.sinectis.com.ar> (raw)

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




view thread (6+ messages)  latest in thread

Message-ID: <20040827091923.33BBE6C3BB@tino.sinectis.com.ar>
Permalink:  ../20040827091923.33BBE6C3BB@tino.sinectis.com.ar/
Also on:    postgresql.org/message-id/20040827091923.33BBE6C3BB@tino.sinectis.com.ar

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gbarosio@uolsinectis.com.ar, mendola@bigfoot.com, pablobarbachano@yahoo.es
  Subject: Re: backups and WAL
  In-Reply-To: <20040827091923.33BBE6C3BB@tino.sinectis.com.ar>
  References: <20040827091923.33BBE6C3BB@tino.sinectis.com.ar>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox