Adarsh Sharma wrote:
> I am using Postgres-8.4.2 on Windows system.
> I have 2 databases in my postgres database ( globedatabase (21GB),
> 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
> Today morning, I restore again the same database from backup (.sql)
> My .sql file have data till yesterday morning but I want newly insert
data now. Is it possible.
> Is it possible to get the data back till the state before drop
> My pglog files is in the E:/data directory & Binary log is also
> Please let me know if it is possible. It's urgent.
I assume you mean "transaction log" when you say "binary log".
It is possible to restore your database if you have a file system backup
of the database in some state before the "DROP DATABASE" command.
Then you could start from there and restore the database to a point
just before the DROP.
If you have no file system backup, there is no way.
In response to
pgsql-general by date
|Next:||From: Christian Ullrich||Date: 2011-07-25 07:25:06|
|Subject: Re: Would it be possible|
|Previous:||From: Adarsh Sharma||Date: 2011-07-25 07:11:05|
|Subject: Re: Restore database after drop command|