X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 85D74475F00 for ; Wed, 26 Mar 2003 09:40:45 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id AD4A9475CBC for ; Wed, 26 Mar 2003 09:40:44 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2QEehub004838; Wed, 26 Mar 2003 09:40:43 -0500 (EST) To: "Philip Geer" Cc: pgsql-admin@postgresql.org Subject: Re: Lost pg_xlog pgclog In-reply-to: <007701c2f2db$a2297220$9e51210a@administrator> References: <007701c2f2db$a2297220$9e51210a@administrator> Comments: In-reply-to "Philip Geer" message dated "Tue, 25 Mar 2003 09:34:23 -0500" Date: Wed, 26 Mar 2003 09:40:43 -0500 Message-ID: <4837.1048689643@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-29.3 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/441 X-Sequence-Number: 8081 "Philip Geer" writes: > I had move my pgxlog and pgclog files to a drive of their own and that driv= > e crashed with no chance of data recovery. This is not a production server = > so its not that big of a deal but I would like to recover the databases tha= > t the server had on it but ever time I start postmaster I get the following= > error.=20 You could try running pg_resetxlog (see contrib if pre-7.3; in 7.3 it's standard). That should let you start the database, but keep in mind that any transactions completed shortly before the crash might be missing or partially applied. Don't trust the data too much until you've checked it. And definitely do a dump and reload... regards, tom lane