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 D2B035294F for ; Thu, 30 Jun 2005 18:12:25 -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 23052-07 for ; Thu, 30 Jun 2005 21:12:23 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id D49AB5280D for ; Thu, 30 Jun 2005 18:12:22 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j5ULCOoj021709; Thu, 30 Jun 2005 17:12:24 -0400 (EDT) To: Romain Thouvenin Cc: pgsql-admin@postgresql.org Subject: Re: problem with WAL files In-reply-to: <42C422AC.7090309@sfwan.com> References: <42C422AC.7090309@sfwan.com> Comments: In-reply-to Romain Thouvenin message dated "Thu, 30 Jun 2005 18:49:48 +0200" Date: Thu, 30 Jun 2005 17:12:24 -0400 Message-ID: <21708.1120165944@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/297 X-Sequence-Number: 18052 Romain Thouvenin writes: > I'm currently testing PITR features of 8.0 release. I followed the steps > given by the documentation and thus deleted the WAL files in pg_xlog > after having restored the database. But you have the WAL files in your archive area, right? > 2005-06-30 17:57:50 LOG: restore_command = "copy E:\\temp\\archive\\%f > "%p"" > 2005-06-30 17:57:50 LOG: recovery_target_time = 2005-07-01 00:45:00+02 > 2005-06-30 17:57:50 LOG: could not open file "C:/Program > Files/PostgreSQL/8.0/data/pg_xlog/00000001000000000000000B" (log file 0, > segment 11): No such file or directory Apparently it wasn't able to get the 00000001000000000000000B segment from the archive either. The displayed restore_command looks a bit bogus to me: too many \'s. Maybe you need to correct that? regards, tom lane