Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 92A90B5DC01 for ; Mon, 10 Oct 2011 16:09:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 00300-07 for ; Mon, 10 Oct 2011 19:08:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from EXCASHUBB.onmobile.com (unknown [124.30.188.115]) by mail.postgresql.org (Postfix) with ESMTP id ECCABB5DBF2 for ; Mon, 10 Oct 2011 16:08:53 -0300 (ADT) Received: from MUSCA.onmobile.com ([172.16.28.141]) by EXCASHUBB.onmobile.com ([172.16.28.185]) with mapi; Tue, 11 Oct 2011 00:43:49 +0530 From: Akash Kodibail To: Kevin Grittner , Scott Marlowe CC: "pgsql-admin@postgresql.org" Date: Tue, 11 Oct 2011 00:43:48 +0530 Subject: Re: Postgres Server crashed Thread-Topic: [ADMIN] Postgres Server crashed Thread-Index: AcyHf/DFzeTGRqsZQXal4nUxzU993AAABDsQ Message-ID: <04DA5C9AF2453F44ACD4541A08EFE9832D0CF8EF30@MUSCA.onmobile.com> References: <04DA5C9AF2453F44ACD4541A08EFE9832D0CF8EE87@MUSCA.onmobile.com> <4E92E24E0200002500041CCA@gw.wicourts.gov> <4E92FB0E0200002500041CE9@gw.wicourts.gov> In-Reply-To: <4E92FB0E0200002500041CE9@gw.wicourts.gov> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.107 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RDNS_NONE=0.793 X-Spam-Level: X-Archive-Number: 201110/49 X-Sequence-Number: 38501 I was hopeful of restoring the data from data files in $PGDATA path. I read= this article about PITR using the recovery.conf, But I am not aware of the= pre-requisites and not entirely sure about the concept beneath this. Would it not be possible? Regards, Akash. -----Original Message----- From: Kevin Grittner [mailto:Kevin.Grittner@wicourts.gov] Sent: Tuesday, October 11, 2011 12:33 AM To: Scott Marlowe Cc: Akash Kodibail; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Postgres Server crashed Scott Marlowe wrote: > Kevin Grittner wrote: > >> And normal maintenance may be viewing newer data as old, due to >> transaction wrap-around from the old pg_control file, and >> removing it as part of normal cleanup. So you may have destroyed >> some of your more recent data by doing that. > > At this point, once you have a backup, would you deploy > pg_resetxlog? That's what I was thinking. I shudder to think what autovacuum may have done while running with the old pg_control file; but I don't know what else to do at this juncture. Anyone else have a better idea? -Kevin DISCLAIMER: The information in this message is confidential and may be lega= lly privileged. It is intended solely for the addressee. Access to this mes= sage by anyone else is unauthorized. If you are not the intended recipient,= any disclosure, copying, or distribution of the message, or any action or = omission taken by you in reliance on it, is prohibited and may be unlawful.= Please immediately contact the sender if you have received this message in= error. Further, this e-mail may contain viruses and all reasonable precaut= ion to minimize the risk arising there from is taken by OnMobile. OnMobile = is not liable for any damage sustained by you as a result of any virus in t= his e-mail. All applicable virus checks should be carried out by you before= opening this e-mail or any attachment thereto. Thank you - OnMobile Global Limited.