Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 2AD389FB2DE for ; Sat, 7 Apr 2007 19:37:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 75638-04 for ; Sat, 7 Apr 2007 19:37:34 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail01.enterprisedb.com (mail01.enterprisedb.com [63.246.7.168]) by postgresql.org (Postfix) with ESMTP id 550409FB2DB for ; Sat, 7 Apr 2007 19:37:34 -0300 (ADT) thread-index: Acd5ZV4Q0PeQjaSkTe6kFf9tpNEkpQ== Received: from [192.168.0.22] ([85.211.147.35]) by mail01.enterprisedb.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 7 Apr 2007 18:37:45 -0400 Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 Subject: Re: Hot Backup using WAL files From: "Simon Riggs" To: "Tom Lane" Cc: "Damian Lubosch" , In-Reply-To: <21861.1175699275@sss.pgh.pa.us> References: <21861.1175699275@sss.pgh.pa.us> Content-Type: text/plain; charset="iso-8859-1" Date: Sat, 07 Apr 2007 23:33:37 +0100 Message-ID: <1175985217.3623.599.camel@silverbirch.site> MIME-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Apr 2007 22:37:45.0812 (UTC) FILETIME=[5CC06940:01C77965] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/70 X-Sequence-Number: 25134 On Wed, 2007-04-04 at 11:07 -0400, Tom Lane wrote: > Damian Lubosch writes: > > My problem now is, how to continually feed the slave server with new > > received WAL files? > > You need to make the restore_command script wait until the next WAL file > is available, instead of failing immediately. > > This is actually not that simple to get right. You might want to try > pg_standby which will ship with 8.3: > http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_standby/ Thanks Tom. pg_standby will be back compatible with 8.2 also, though isn't available as part of the 8.2 distribution. The README will contain information for both 8.2 and 8.3 releases, since there will be one minor difference. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com