Restore database after drop command

From: Adarsh Sharma <adarsh(dot)sharma(at)orkash(dot)com>
To: pgsql-admin(at)postgresql(dot)org, pgsql-performance(at)postgresql(dot)org
Subject: Restore database after drop command
Date: 2011-07-25 06:38:28
Message-ID: 4E2D0F64.2040500@orkash.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-performance

Dear all,

I am using Postgres-8.4.2 on Windows system.
I have 2 databases in my postgres database ( globedatabase (21GB),
urldatabase).

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.

Today morning, I restore again the same database from backup (.sql) file.
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 database
command.

My pglog files is in the E:/data directory & Binary log is also enabled.

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

Thanks & Regards
Adarsh Sharma

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Vibhor Kumar 2011-07-25 06:47:17 Re: Restore database after drop command
Previous Message Fujii Masao 2011-07-25 02:24:35 Re: replication_timeout does not seem to be working

Browse pgsql-general by date

  From Date Subject
Next Message Christian Ullrich 2011-07-25 06:45:00 Re: Would it be possible
Previous Message Adarsh Sharma 2011-07-25 05:11:36 Would it be possible

Browse pgsql-performance by date

  From Date Subject
Next Message Vibhor Kumar 2011-07-25 06:47:17 Re: Restore database after drop command
Previous Message Gavin Flower 2011-07-24 20:14:43 Re: Bad query plan