pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-admin@postgresql.org
Cc: Bartosz Belter <bartosz.belter@man.poznan.pl>
Subject: Re: 7.4 - data recovery
Date: Fri, 25 Aug 2006 20:31:00 +0200
Message-ID: <200608252031.00864.peter_e@gmx.net> (raw)
In-Reply-To: <op.teucc41jtiul80@juniper.man.poznan.pl>
References: <op.teucc41jtiul80@juniper.man.poznan.pl>

Bartosz Belter wrote:
> 3. I've recovered some files and it looks to me they're from
> $PGDATA/base/data/xxx (it looks this is the complete folder)
> 4. No other files! (no pg_clog, pg_xlog etc)

If you don't have a clog, then all your transactions will appear 
as "didn't happen yet", so your table data appears to be in the future.  
You can just commit dummy transactions until it appears again.  This is 
obvious not an official and approved way, but it's at least a shot 
before you're forced to get out your hex editor.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



view thread (3+ messages)  latest in thread

Message-ID: <200608252031.00864.peter_e@gmx.net>
Permalink:  ../200608252031.00864.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200608252031.00864.peter_e@gmx.net

 · 

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: peter_e@gmx.net, bartosz.belter@man.poznan.pl
  Subject: Re: 7.4 - data recovery
  In-Reply-To: <200608252031.00864.peter_e@gmx.net>
  References: <op.teucc41jtiul80@juniper.man.poznan.pl> <200608252031.00864.peter_e@gmx.net>

* 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