Re: Recover data....

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>, "Azghar Hussain" <Azghar(dot)Hussain(at)rmsi(dot)com>
Subject: Re: Recover data....
Date: 2011-12-06 16:25:38
Message-ID: 4EDDEDA20200002500043904@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Azghar Hussain" <Azghar(dot)Hussain(at)rmsi(dot)com> wrote:

> Due to some unknown reason all contents of PostGresql data folder
> (D:\Program Files\PostgreSQL\8.4\data) got deleted except base and
> global folder.
> Please let me If I can recover my whole data..

Several of the other folders contain information crucial to storing
the data -- they are an integral part of the database. It may be
possible to rebuild some approximation of what is correct, but you
will probably have some data loss or corruption if you go that way.

The first thing is to copy what is left of the data directory tree
to a backup location and keep it safe.

http://wiki.postgresql.org/wiki/Corruption

The next thing is probably to decide if you want to put a lot of
time and resources into recovering what you can from what's left of
your database, or just go to your last good backup. What backup
technique are you using? How current is the copy?

If you want to try to recover, you should provide a lot more
information. This page provides some advice in that regard:

http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

You might want to pay for expert help:

http://www.postgresql.org/support/professional_support/

-Kevin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-12-06 16:49:03 Re: Inlining comparators as a performance optimisation
Previous Message Robert Haas 2011-12-06 16:11:32 Re: xlog location arithmetic