pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Libbrecht <paul@activemath.org>
To: pgsql-admin@postgresql.org
Subject: accidental drop table recoverable?
Date: Mon, 14 Jul 2008 15:13:21 +0200
Message-ID: <53CDF98F-0AE1-49ED-A2A3-C3B1E2AF2E2E@activemath.org> (raw)

Hello fellow Postgres administrators,

right now we experienced the loss of backups (due to wrong  
communication) and a list of accidental drop table statements (due to  
wrong database choice).

We sure have clues how to avoid that in the future but right now we do  
not seem to find the solution to actually rollback this accidental  
drop table.

Having searched around, the only recipe I found was:
  http://archives.postgresql.org/pgsql-docs/2004-12/msg00027.php
which is pretty convoluted but seems like it could do the job.

Now... is there a simpler way?
I seem to see a fixed set of files in data/base that seemed to have  
been changed at the right time of the drop db... any chance to fiddle  
with them?

thanks for hints.

paul

Attachments:

  smime.p7s (application/pkcs7-signature, 2.2K) download

view thread (5+ messages)  latest in thread

Message-ID: <53CDF98F-0AE1-49ED-A2A3-C3B1E2AF2E2E@activemath.org>
Permalink:  ../53CDF98F-0AE1-49ED-A2A3-C3B1E2AF2E2E@activemath.org/
Also on:    postgresql.org/message-id/53CDF98F-0AE1-49ED-A2A3-C3B1E2AF2E2E@activemath.org

 · 

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-admin@postgresql.org
  Cc: paul@activemath.org
  Subject: Re: accidental drop table recoverable?
  In-Reply-To: <53CDF98F-0AE1-49ED-A2A3-C3B1E2AF2E2E@activemath.org>

* 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