Обсуждение: Accidentally deleted records - PostgreSQL 7.2

Поиск
Список
Период
Сортировка

Accidentally deleted records - PostgreSQL 7.2

От
sbrzuc@sgh.waw.pl (Szymon)
Дата:
Hello!
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.
Can anyone help me? Private message appreciated.

Regards,

Szymon

Re: Accidentally deleted records - PostgreSQL 7.2

От
Alvaro Herrera
Дата:
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)