pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vibhor Kumar <vibhor.aim@gmail.com>
To: Adarsh Sharma <adarsh.sharma@orkash.com>
Cc: Vibhor Kumar <vibhor.aim@gmail.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: Restore database after drop command
Date: Mon, 25 Jul 2011 12:17:17 +0530
Message-ID: <CA41459F-81E3-43EB-83B2-83362BB71858@gmail.com> (raw)
In-Reply-To: <4E2D0F64.2040500@orkash.com>
References: <4E2D0F64.2040500@orkash.com>


On Jul 25, 2011, at 12:08 PM, 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.
> 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.

No you won't be able to recover. 

If you have Online Backup, then PITR would help you.

Thanks & Regards,
Vibhor Kumar
Blogs: http://vibhork.blogspot.com
http://vibhorkumar.wordpress.com




view thread (6+ messages)  latest in thread

Message-ID: <CA41459F-81E3-43EB-83B2-83362BB71858@gmail.com>
Permalink:  ../CA41459F-81E3-43EB-83B2-83362BB71858@gmail.com/
Also on:    postgresql.org/message-id/CA41459F-81E3-43EB-83B2-83362BB71858@gmail.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: vibhor.aim@gmail.com, adarsh.sharma@orkash.com, pgsql-admin@postgresql.org
  Subject: Re: Restore database after drop command
  In-Reply-To: <CA41459F-81E3-43EB-83B2-83362BB71858@gmail.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