Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id BC57D9F98FD for ; Wed, 10 Oct 2007 13:42:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 85641-01 for ; Wed, 10 Oct 2007 13:42:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.int.journyx.com (mail.journyx.com [66.219.41.227]) by postgresql.org (Postfix) with ESMTP id 367D59F924B for ; Wed, 10 Oct 2007 13:42:34 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.int.journyx.com (Postfix) with ESMTP id 809EE3F22D2; Wed, 10 Oct 2007 11:42:33 -0500 (CDT) X-Virus-Scanned: amavisd-new at Received: from mail.int.journyx.com ([127.0.0.1]) by localhost (mail.int.journyx.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iajFZrwpD7eF; Wed, 10 Oct 2007 11:42:27 -0500 (CDT) Received: from whitneys (dhcp-100-201.int.journyx.com [192.168.100.201]) by mail.int.journyx.com (Postfix) with ESMTP id 7D89F3F2710; Wed, 10 Oct 2007 11:42:27 -0500 (CDT) From: "Scott Whitney" To: "'Bruce Momjian'" Cc: Subject: Re: Using rsync for base backups for PITR Date: Wed, 10 Oct 2007 11:46:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <200710101639.l9AGdRr01651@momjian.us> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: AcgLXCQQlEu51pzOToOs0644kAqPbAAAJvHg Message-Id: <20071010164227.7D89F3F2710@mail.int.journyx.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/78 X-Sequence-Number: 26992 In the same way that you don't have a valid archive while the tar is running, no? In either case, I have to archive the WAL segments used during the file system backup, right? Is rsync a supported method for a warm standby server? Specifically, I'm thinking about: http://www.taygeta.com/ha-postgresql.html -----Original Message----- From: Bruce Momjian [mailto:bruce@momjian.us] Sent: Oct 10, 2007 11:39 AM To: Scott Whitney Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Using rsync for base backups for PITR Scott Whitney wrote: > I'm reading conflicting information on this. Is this a supported technique? > > start_backup > rsync the initial base backup > stop_backup > > Then, periodically, > start_backup > rsync again > stop_backup > > It's my opinion that this wouuld significantly cut down the 30GB base backup > I'll need to take for each PITR. Uh, well, yes, that will work, but you don't have a valid archive _while_ the rsync is happening. I think that would be a problem if there was a failure during the rsync update. -- Bruce Momjian http://momjian.us EnterpriseDB http://postgres.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +