From: Akash Kodibail <akash.kodibail@onmobile.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Postgres Server crashed
Date: Mon, 10 Oct 2011 21:24:57 +0530
Message-ID: <04DA5C9AF2453F44ACD4541A08EFE9832D0CF8EE87@MUSCA.onmobile.com> (raw)
Hi All,
I am a noob in database field.
Lately the postgres server crashed due to space constraints, pg_control file got lost and the server wouldn't start. Had a old pg_control file placed in $PGDATA/global/ path.
I was able to start the server, however, the data seems to be a very old one (2011 Jan 07) (probably the time where pg_control I had pasted was last updated). How do I recover the rest of the data? The data directory seems to be showing entire data, I am guessing so, because the major 4 tables which seemed to be missed are the only contributors to around 100 GB and the DATAPATH still says 163 GB is utilized.
When trying to take a pg_dump, it says : pg_dump: schema with OID 29257 does not exist, this OID is there in pg_type, but not there in any other catalog tables.
Please help me!!
Regards,
Akash.
________________________________
DISCLAIMER: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message 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 precaution 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 this 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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: akash.kodibail@onmobile.com
Subject: Re: Postgres Server crashed
In-Reply-To: <04DA5C9AF2453F44ACD4541A08EFE9832D0CF8EE87@MUSCA.onmobile.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox