Re: Disaster recovery (server died) - Mailing list pgsql-general

From Alan Hodgson
Subject Re: Disaster recovery (server died)
Date
Msg-id 200906191434.36348@hal.medialogik.com
Whole thread Raw
In response to Disaster recovery (server died)  (Miguel Miranda <miguel.mirandag@gmail.com>)
List pgsql-general
On Friday 19 June 2009, Miguel Miranda <miguel.mirandag@gmail.com> wrote:
> Hi, the worst have ocurred, my server died (cpu), so i reinstalled
> another server with the same postgres version.
> I have the old data directory from the old server, how can i restore my
> databases from this directory to the new one?
> I dont have a backup (pg_dump,etc), just the main previus live data
> directory from the old server.
> best regards

Just copy it into place where the new postmaster expects to live.

--
WARNING:  Do not look into laser with remaining eye.

pgsql-general by date:

Previous
From: "Todd A. Cook"
Date:
Subject: Re: FYI: Load times for a largish DB in 8.2 vs. 8.3 vs. 8.4
Next
From: Madison Kelly
Date:
Subject: Re: Disaster recovery (server died)