From: Steve Garcia <sgarcia@bak.rr.com>
To: pgsql-admin@postgresql.org
Subject: Re: I: file system backup of postgresql db onto another installation
Date: Mon, 18 Apr 2005 14:32:15 -0700
Message-ID: <4264275F.8050709@bak.rr.com> (raw)
In-Reply-To: <200504141752.j3EHqaa8014868@posta.freefile.it>
References: <200504141752.j3EHqaa8014868@posta.freefile.it>
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!
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: sgarcia@bak.rr.com
Subject: Re: I: file system backup of postgresql db onto another installation
In-Reply-To: <4264275F.8050709@bak.rr.com>
References: <200504141752.j3EHqaa8014868@posta.freefile.it> <4264275F.8050709@bak.rr.com>
* 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