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 13FEB528E7 for ; Wed, 6 Jul 2005 15:53:02 -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 52671-03 for ; Wed, 6 Jul 2005 18:53:00 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 2BB645284E for ; Wed, 6 Jul 2005 15:52:59 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j66Ir0221445; Wed, 6 Jul 2005 14:53:00 -0400 (EDT) From: Bruce Momjian Message-Id: <200507061853.j66Ir0221445@candle.pha.pa.us> Subject: Re: Desparate: Lost WAL files In-Reply-To: <2C386A13-7865-49FD-BB6C-953A24A4201D@mac.com> To: Richard Doust Date: Wed, 6 Jul 2005 14:53:00 -0400 (EDT) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/31 X-Sequence-Number: 18087 Richard Doust wrote: > Hi. > Can anyone please tell me what I can do? I've lost the contents of my > pg_xlog directory and postmaster is failing to start because it can't > find a valid checkpoint record. It had done a clean shutdown, so I > know that the dbms should be okay if I could just restart it. > I'm in a desparate situation. It's a production database. > Thanks in advance. Have you tried pg_resetxlog to get it started? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073