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 463C652992 for ; Wed, 6 Jul 2005 15:52:01 -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 54238-01 for ; Wed, 6 Jul 2005 18:51:53 +0000 (GMT) Received: from hosting.commandprompt.com (128.commandprompt.com [207.173.200.128]) by svr1.postgresql.org (Postfix) with ESMTP id 7A28E52991 for ; Wed, 6 Jul 2005 15:51:53 -0300 (ADT) Received: from [192.168.1.52] (fc1smp [66.93.38.87]) (authenticated bits=0) by hosting.commandprompt.com (8.12.8/8.12.8) with ESMTP id j66IpqoQ010249; Wed, 6 Jul 2005 11:51:53 -0700 Message-ID: <42CC2848.3050107@commandprompt.com> Date: Wed, 06 Jul 2005 11:51:52 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Richard Doust Cc: pgsql-admin@postgresql.org Subject: Re: Desparate: Lost WAL files References: <2C386A13-7865-49FD-BB6C-953A24A4201D@mac.com> In-Reply-To: <2C386A13-7865-49FD-BB6C-953A24A4201D@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.015 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/30 X-Sequence-Number: 18086 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. Well the exact error would be good just in case but you may be able to use pg_resetxlog to get the machine back up. However you will have no idea what state the database itself is in. You need to restore from backup. Sincerely, Joshua D. Drake > Thanks in advance. > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org -- Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240 PostgreSQL Replication, Consulting, Custom Programming, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/