Received: from mars.informationcourier.com (207.6.137.233.paralynx.net [207.6.137.233] (may be forged)) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0R6tsl48800 for ; Sun, 27 Jan 2002 01:55:54 -0500 (EST) (envelope-from chrisd@informationcourier.com) Received: from beast (h175.134.6.207.paralynx.net [207.6.134.175] (may be forged)) by mars.informationcourier.com (8.11.6/8.9.3) with SMTP id g0R6gXR09924 for ; Sat, 26 Jan 2002 22:42:33 -0800 From: "Chris Dircks" To: Subject: data recovery question Date: Sat, 26 Jan 2002 22:55:07 -0800 Message-ID: <001101c1a6ff$8edec540$af8606cf@beast> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-Archive-Number: 200202/7 X-Sequence-Number: 3171 I tried searching the archives for this, but the search is broken. I looked by hand for a while, but didn't see an answer... This is for postgresql-6.5.3 running on Redhat 7.0 I'm trying to recover data from a single table file. I recently rebuilt my server and found to my dismay that my full backups weren't working. My differential backups were working though. There is only one table in the database that I care about, and it was captured on a differential backup. But none of the other files in directory were. I tried naively to create a database and table with the name of my old database and table, and copy my original table file over top of it, but no deal. I can see the data in the file, but the data is stored at the field level not row level, and piecing it back together would be very difficult. Does anybody have a clear spec on the format of the table files? I checked the online docs http://developer.postgresql.org/docs/postgres/page.html but I think I'd need more detailed specs to write something to pull data out at the row level. Or even better, does anybody know of a better way to pull the data out of the table file? Thanks much, Chris