From: jseymour@LinxNet.com
To: pgsql-admin@postgresql.org
Subject: Re: Recover data
Date: Tue, 27 Apr 2004 17:50:03 -0400 (EDT)
Message-ID: <20040427215003.28805430E@jimsun.LinxNet.com> (raw)
In-Reply-To: <1083093931.408eb3ab15197@webmail.cefet-al.br>
eups@cefet-al.br wrote:
>
>
> Hello,
> I have a problem and I would like somebody help me.
> Well, i have a data base server that was formated, unfortunatelly it wasn't
> made the dump of the postgres, but it was saved the directory of the postgres.
> How can to recover my data, is it possible?
It sounds like what you're saying is that, although you didn't do a
dump, from which you can restore, you do have a copy of the old pgsql
database directory still intact. If so: Just shut down pgsql, point
PGDATA at the old directory (which I would carefully back up, first!)
and re-start pgsql. Providing the server version hasn't changed, all
should be well.
--
Jim Seymour | Spammers sue anti-spammers:
jseymour@LinxNet.com | http://www.LinxNet.com/misc/spam/slapp.phphttp://jimsun.LinxNet.com | Please donate to the SpamCon Legal Fund:
| http://www.spamcon.org/legalfund/
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: jseymour@LinxNet.com
Subject: Re: Recover data
In-Reply-To: <20040427215003.28805430E@jimsun.LinxNet.com>
References: <1083093931.408eb3ab15197@webmail.cefet-al.br> <20040427215003.28805430E@jimsun.LinxNet.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