Re: I: file system backup of postgresql db onto another installation

From: Steve Garcia <sgarcia(at)bak(dot)rr(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: I: file system backup of postgresql db onto another installation
Date: 2005-04-18 21:32:15
Message-ID: 4264275F.8050709@bak.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Giovanni Gualdi wrote:
> of course, I did take care of postmaster.pid file, removing it when
> necessary...
> thanks
> Giovanni

<snip>

> is there any way,
> any utility, to recover the data of a postgres DB just starting from
> the file system?

I did find a utility which does exactly what you want.... Except that it
appears that it was abandoned in 2003 and only supports up to 7.3. It
gave me errors when I tried to run it on a 7.4 database. The utility
was called pgfsck and it was written in Perl, so it should be moderately
portable. Someone who understood the new file structure could probably
bring it back to life...

I managed to solve my problem without loss of data, by dumb luck more
than anything else.

Good luck!

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-04-18 21:39:11 Re: brute force attacking the password
Previous Message Tom Lane 2005-04-18 21:30:17 Re: Postgres Log rotation not working in 8.0.2