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 6FDAC5E3F15 for ; Fri, 27 Aug 2004 11:28:53 -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 24135-09 for ; Fri, 27 Aug 2004 14:28:50 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 281455E3631 for ; Fri, 27 Aug 2004 11:28:48 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i7RESs7B010453; Fri, 27 Aug 2004 10:28:54 -0400 (EDT) To: pablobarbachano@yahoo.es Cc: pgsql-admin@postgresql.org Subject: Re: backups and WAL In-reply-to: <20040827080307.GA7494@vayven.info> References: <20040827080307.GA7494@vayven.info> Comments: In-reply-to pablobarbachano@yahoo.es message dated "Fri, 27 Aug 2004 10:03:07 +0200" Date: Fri, 27 Aug 2004 10:28:53 -0400 Message-ID: <10452.1093616933@sss.pgh.pa.us> From: Tom Lane 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/279 X-Sequence-Number: 14674 pablobarbachano@yahoo.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