Re: Would it be possible

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Adarsh Sharma <adarsh(dot)sharma(at)orkash(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>, Christian Ullrich <chris(at)chrullrich(dot)net>, Chetan Suttraway <chetan(dot)suttraway(at)enterprisedb(dot)com>
Subject: Re: Would it be possible
Date: 2011-07-25 07:41:55
Message-ID: 4E2D1E43.3090400@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2011-07-25 07:46:55 Re: [WAS:ADMIN] [WAS:PERFORM] Restore database after drop command
Previous Message Fujii Masao 2011-07-25 07:38:31 Re: streaming replication does not work across datacenter with 20ms latency?