X-Original-To: pgsql-admin@postgresql.org Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 5463D476353 for ; Wed, 12 Mar 2003 17:46:30 -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 h2CMkVub029988; Wed, 12 Mar 2003 17:46:32 -0500 (EST) To: gborges@radiumsystems.com.br Cc: pgsql-admin@postgresql.org Subject: Re: Problems starting the database In-reply-to: <20030310213657.D80C76C31F@smtp.radiumsystems.com.br> References: <20030310213657.D80C76C31F@smtp.radiumsystems.com.br> Comments: In-reply-to gborges@radiumsystems.com.br message dated "Mon, 10 Mar 2003 18:36:57 -0300" Date: Wed, 12 Mar 2003 17:46:31 -0500 Message-ID: <29987.1047509191@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200303/169 X-Sequence-Number: 7809 gborges@radiumsystems.com.br writes: > A kernel panic ocurred with my machine. > So, I have to recover my postgresql data directory. I copy the data directory to a new instalation (same version that I used before). Did you forget to copy pg_xlog/ ? Or did the kernel crash lose those files? > There is some way to ignore this problem and start the postgres? I only want to start the database to do a pg_dump. You can run pg_resetxlog, but you'll need to manually inspect your dumped data to see if you have any partially-committed recent transactions. regards, tom lane