pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Dircks <chrisd@informationcourier.com>
To: pgsql-admin@postgresql.org
Subject: data recovery question
Date: Sat, 26 Jan 2002 22:55:07 -0800
Message-ID: <001101c1a6ff$8edec540$af8606cf@beast> (raw)

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




Message-ID: <001101c1a6ff$8edec540$af8606cf@beast>
Permalink:  ../001101c1a6ff$8edec540$af8606cf@beast/
Also on:    postgresql.org/message-id/001101c1a6ff$8edec540$af8606cf@beast

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: chrisd@informationcourier.com
  Subject: Re: data recovery question
  In-Reply-To: <001101c1a6ff$8edec540$af8606cf@beast>
  References: <001101c1a6ff$8edec540$af8606cf@beast>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox