Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id BC9BC9FA0AC for ; Tue, 18 Sep 2007 15:10:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 31303-10 for ; Tue, 18 Sep 2007 15:10:27 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by postgresql.org (Postfix) with ESMTP id 28C2D9FA031 for ; Tue, 18 Sep 2007 15:10:25 -0300 (ADT) Received: by py-out-1112.google.com with SMTP id u77so4289604pyb for ; Tue, 18 Sep 2007 11:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=leKKDA3rjxzekSJr//JPtZXiG+DDOi/A/NxQaJIzNcU=; b=ZBq8GMe7KibPDi9QrpSsA3y5y7iUZUgBLnyun0ofgFNDbw1V4ZX9Dw3kaBJ3k3IAaBBlw/AdB8+fYPB9drgLETOynz1N5NwMC7ezs8A0/tW8QBkRBbiME4yzznjU7NbaiMsEMMqw3NnP+B3oZNuE4rlrlLlY0f1pkynfOZpsdSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=DlwAbk/f8xyZgOlX/Wmjv8sWq/7bVV+ggm6ji+/rRV/AhMTR3FZgKUbT9RaoC4oe5deJzyzjp/A4FCj1uj7nSB7oZpgvxHgVm8ZBJvqBPv5uBgmXH0cmvZ/eYPhNDwdWY7bliy9cMrKK7/TLkRCUzrYpi6q7j6wzjhrF8t60puE= Received: by 10.65.234.2 with SMTP id l2mr1178632qbr.1190139024551; Tue, 18 Sep 2007 11:10:24 -0700 (PDT) Received: by 10.65.61.18 with HTTP; Tue, 18 Sep 2007 11:10:24 -0700 (PDT) Message-ID: Date: Tue, 18 Sep 2007 20:10:24 +0200 From: "Zarko Susnjar" To: pgsql-admin@postgresql.org Subject: Rollback DELETE command using backup + WAL MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18939_13031732.1190139024538" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/106 X-Sequence-Number: 26867 ------=_Part_18939_13031732.1190139024538 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I'm using PGSQL version 8.0 "Accidentally" I deleted around 40000 (it's exactly 44242) rows from one table. Last backup (.sql) I made is 1 month old and probably only around 30000 records are there. After deleting records immediately I made a copy of pgsql/data directory and i see that probably all of 10000 records I miss are there ( 6 files from 0000000100000012000000C0 to 0000000100000012000000C6). Is there any possible way to extract needed records from WAL files and in combination with backup script restore all data which has been deleted? Thanks in advance, Zarko ------=_Part_18939_13031732.1190139024538 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello,

I'm using PGSQL version 8.0

"Accidentally" I deleted around 40000 (it's exactly 44242) rows from one table. Last backup (.sql) I made is 1 month old and probably only around 30000 records are there. After deleting records immediately I made a copy of pgsql/data directory and i see that probably all of 10000 records I miss are there ( 6 files from 0000000100000012000000C0 to 0000000100000012000000C6).

Is there any possible way to extract needed records from WAL files and in combination with backup script restore all data which has been deleted?

Thanks in advance,
Zarko

------=_Part_18939_13031732.1190139024538--