X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5BF3A5E37D0 for ; Fri, 27 Aug 2004 06:19:30 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 22964-05 for ; Fri, 27 Aug 2004 09:19:25 +0000 (GMT) Received: from tino.sinectis.com.ar (tino.sinectis.com.ar [216.244.192.232]) by svr1.postgresql.org (Postfix) with ESMTP id EEBF25E3631 for ; Fri, 27 Aug 2004 06:19:23 -0300 (ADT) Received: by tino.sinectis.com.ar (Postfix, from userid 99) id 33BBE6C3BB; Fri, 27 Aug 2004 06:19:23 -0300 (GMT+3) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-Mailer: Sinectis Webmail 5.6.16-1.5.1 From: G u i d o B a r o s i o To: mendola@bigfoot.com, pablobarbachano@yahoo.es, pgsql-admin@postgresql.org Subject: Re: backups and WAL Reply-To: gbarosio@uolsinectis.com.ar Message-Id: <20040827091923.33BBE6C3BB@tino.sinectis.com.ar> Date: Fri, 27 Aug 2004 06:19:23 -0300 (GMT+3) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/273 X-Sequence-Number: 14668 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