pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adarsh Sharma <adarsh.sharma@orkash.com>
To: pgsql-admin@postgresql.org
To: pgsql-performance@postgresql.org
Subject: Restore database after drop command
Date: Mon, 25 Jul 2011 12:08:28 +0530
Message-ID: <4E2D0F64.2040500@orkash.com> (raw)

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

view thread (6+ messages)  latest in thread

Message-ID: <4E2D0F64.2040500@orkash.com>
Permalink:  ../4E2D0F64.2040500@orkash.com/
Also on:    postgresql.org/message-id/4E2D0F64.2040500@orkash.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: adarsh.sharma@orkash.com, pgsql-admin@postgresql.org
  Subject: Re: Restore database after drop command
  In-Reply-To: <4E2D0F64.2040500@orkash.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox