Re: Would it be possible - Mailing list pgsql-general

From Craig Ringer
Subject Re: Would it be possible
Date
Msg-id 4E2D1E43.3090400@postnewspapers.com.au
Whole thread Raw
In response to Would it be possible  (Adarsh Sharma <adarsh.sharma@orkash.com>)
List pgsql-general
On 25/07/11 13:11, Adarsh Sharma wrote:

> I restore globedatabase from a .sql file on yesterday morning.I insert
> some new data in that database.
> In the evening, by mistake I issued a *drop database globedatabase* command.

Did you make a copy of the database files as soon as you realized what
you had done?

If you did not, you can probably not recover the data because you have
kept using the database. It will have overwritten your deleted data with
other data by now.

> Today morning, I restore again the same database from backup (.sql) file.

Most likely you destroyed your old data by doing that.

> Please let me know if it is possible. It's urgent.

If it's also really important, stop using PostgreSQL RIGHT NOW. Shut it
down. Then call an expert who might be able to help you, if you're
really really lucky.

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

pgsql-general by date:

Previous
From: Fujii Masao
Date:
Subject: Re: streaming replication does not work across datacenter with 20ms latency?
Next
From: Craig Ringer
Date:
Subject: Re: [WAS:ADMIN] [WAS:PERFORM] Restore database after drop command