Re: Accidentally deleted records - PostgreSQL 7.2

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Szymon <sbrzuc(at)sgh(dot)waw(dot)pl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Accidentally deleted records - PostgreSQL 7.2
Date: 2004-07-10 03:33:18
Message-ID: 20040710033318.GD28878@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jul 07, 2004 at 01:23:57AM -0700, Szymon wrote:

> I have accidentaly deleted about 1,000,000 records from one table
> (about 80%). Is there any possibility to recover them?
> I found two files: xlog and a file which I assume contains all the
> data from the table (including the deleted rows). But I cannot read
> from it - I don't know the format of the data.

You don't have any backups?

Maybe you could use pgfsck to recover some data from the table, not
sure. See http://svana.org/kleptog/

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"The Gord often wonders why people threaten never to come back after they've
been told never to return" (www.actsofgord.com)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mike g 2004-07-10 03:36:26 Re: SSL Problems: invalid connection option "requiressl"
Previous Message Tom Lane 2004-07-10 03:28:58 Re: PGADMIN default storage EXTENDED for Character fields