Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 44A5D47674D for ; Wed, 30 Oct 2002 10:23:35 -0500 (EST) Received: from mail.libertyrms.com (unknown [209.167.124.227]) by postgresql.org (Postfix) with ESMTP id E9A2C476A66 for ; Wed, 30 Oct 2002 10:23:09 -0500 (EST) Received: from andrew by mail.libertyrms.com with local (Exim 3.22 #3 (Debian)) id 186ugc-0002Xk-00 for ; Wed, 30 Oct 2002 10:23:14 -0500 Date: Wed, 30 Oct 2002 10:23:14 -0500 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: postgres xlog crashes - recovery procedure Message-ID: <20021030102314.C9431@mail.libertyrms.com> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: <20021029184740.GW1644@blackbox.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021029184740.GW1644@blackbox.cisco.com>; from akorobov@cisco.com on Tue, Oct 29, 2002 at 01:47:40PM -0500 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/304 X-Sequence-Number: 6162 On Tue, Oct 29, 2002 at 01:47:40PM -0500, Alexander Korobov wrote: > > I'm aware of contrib/pg_resetxlog but this does not seem to be reliable tool. It's as reliable as it can be, as far as I know. There is the potential for data loss, but that's the problem with having lost your WAL. > Are there any postgres specific recovery procedures and /or documentation on how > to prevent such situations? The recovery in this case is pg_resetxlog. As for prevention, it depends on what happened. Any ideas? A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada M2P 2A8 +1 416 646 3304 x110