X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 876BAD1B18F for ; Tue, 13 Jul 2004 19:25:39 -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 00706-05 for ; Tue, 13 Jul 2004 22:25:37 +0000 (GMT) Received: from cmailg4.svr.pol.co.uk (cmailg4.svr.pol.co.uk [195.92.195.174]) by svr1.postgresql.org (Postfix) with ESMTP id 190DED1B181 for ; Tue, 13 Jul 2004 19:25:34 -0300 (ADT) Received: from modem-1511.orangutan.dialup.pol.co.uk ([217.135.229.231] helo=[192.168.0.100]) by cmailg4.svr.pol.co.uk with esmtp (Exim 4.14) id 1BkViR-00045h-FP; Tue, 13 Jul 2004 23:25:35 +0100 Subject: Re: Point in Time Recovery From: Simon Riggs To: Tom Lane Cc: pgsql-hackers@postgresql.org In-Reply-To: <18739.1089753596@sss.pgh.pa.us> References: <1089060299.17493.58.camel@stromboli> <4263.1089064016@sss.pgh.pa.us> <1089150005.17493.270.camel@stromboli> <1089718702.17493.2527.camel@stromboli> <15780.1089728984@sss.pgh.pa.us> <1089750349.17493.3092.camel@stromboli> <18739.1089753596@sss.pgh.pa.us> Content-Type: text/plain Organization: 2nd Quadrant Message-Id: <1089757534.17493.3217.camel@stromboli> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Tue, 13 Jul 2004 23:25:34 +0100 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200407/720 X-Sequence-Number: 56281 On Tue, 2004-07-13 at 22:19, Tom Lane wrote: > To have a consistent recovery at all, you must replay the log starting > from a checkpoint before the backup began and extending to the time that > the backup finished. You only get to decide where to stop after that > point. > So the situation is: - You must only stop recovery at a point in time (in the logs) after the backup had completed. No way to enforce that currently, apart from procedurally. Not exactly frequent, so I think I just document that and move on, eh? Thanks for your help, Best regards, Simon Riggs