X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BF462D1B4EB for ; Thu, 30 Oct 2003 13:50:08 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 57301-08 for ; Thu, 30 Oct 2003 09:49:41 -0400 (AST) Received: from cosrnt003.spm.com.ar (unknown [200.51.94.70]) by svr1.postgresql.org (Postfix) with SMTP id 02B5FD1B51A for ; Thu, 30 Oct 2003 09:49:36 -0400 (AST) Received: from MAILMASTER.aetna.com.ar ([192.168.127.11]) by cosrnt003.spm.com.ar (SAVSMTP 3.1.2.35) with SMTP id M2003103010353627638 ; Thu, 30 Oct 2003 10:35:36 -0300 Received: by MAILSRV_B with Internet Mail Service (5.5.2655.55) id ; Thu, 30 Oct 2003 10:44:06 -0300 Message-ID: <069B887B914BD51180420004AC33E2E81024CE27@MAILSRV_B> From: Sergio Pili To: 'ameen eetemadi' , pgsql-admin@postgresql.org Subject: Re: postgres console delete mistake Date: Thu, 30 Oct 2003 10:44:04 -0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=BAYES_30, MAILTO_TO_SPAM_ADDR, RCVD_IN_RFCI X-Spam-Level: X-Archive-Number: 200310/364 X-Sequence-Number: 10925 Hi! Try with this: -----Mensaje original----- De: Anna Kanevsky [SMTP:akanevsky@aahe.org] Enviado el: Jueves 2 de Octubre de 2003 20:45 Para: 'Stephan Szabo' CC: 'pgsql-admin@postgresql.org' Asunto: Re: [ADMIN] Delete accident Thank you everyone! I got a load of responses, and don't want to keep anyone working at this. the magic is in pgfsck! -anya Regards, Sergio Pili > -----Mensaje original----- > De: ameen eetemadi [SMTP:ameen78101@yahoo.com] > Enviado el: Jueves 30 de Octubre de 2003 08:32 > Para: pgsql-admin@postgresql.org > Asunto: [ADMIN] postgres console delete mistake > > hello > I accidentally deleted every recordes from my table > whithout a back up for my data such as pg_dump. > How can I restore > them? > I found that deleted data are alrealy in my databes > files such as /var/lib/pgsql/data/base/* > and transactions are loged in > /var/lib/pgsql/data/pg_xlog/00000001,000000002 > but the file formats are not alrealy readable for me. > I found a tool pg_filedump but I'm not found it usable > for this problem. > Is there a tool for data recovery in postgres. > >