X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1B8BA3A1A94 for ; Mon, 20 Dec 2004 00:52:37 +0000 (GMT) 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 26828-01 for ; Mon, 20 Dec 2004 00:52:24 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 993F63A1A16 for ; Mon, 20 Dec 2004 00:52:25 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id iBK0qPFD008263; Sun, 19 Dec 2004 19:52:26 -0500 (EST) To: harry@uklug.co.uk Cc: pgsql-docs@postgresql.org Subject: Re: Database Recovery In-reply-to: <20041220001118.87459.qmail@web50403.mail.yahoo.com> References: <20041220001118.87459.qmail@web50403.mail.yahoo.com> Comments: In-reply-to Harry message dated "Sun, 19 Dec 2004 16:11:17 -0800" Date: Sun, 19 Dec 2004 19:52:25 -0500 Message-ID: <8262.1103503945@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/32 X-Sequence-Number: 2728 Harry writes: > Is there any material online on how to recover a corrupt postgresql > database? There are dozens if not hundreds of case histories in the mailing list archives; the latest example is this thread: http://archives.postgresql.org/pgsql-hackers/2004-12/msg00479.php Feel free to try to pull something together from that info. However, the rule of thumb is "every problem is different". If we could think of a cookbook procedure then we'd build an automated recovery tool ... so you need to think more in terms of teaching than of giving recipes. regards, tom lane