Re: having trouble restoring a database from files - Mailing list pgsql-admin

From Andrea Gozzi
Subject Re: having trouble restoring a database from files
Date
Msg-id 1159376019.31535.3.camel@osmosis
Whole thread Raw
In response to having trouble restoring a database from files  ("Trefethen, Zachary J" <zachary.j.trefethen@lmco.com>)
List pgsql-admin
Hi.
I was in the same situation a while ago, and compiling PG from source
solved the issue.
After installation is complete just run

> postmaster -D /var/lib/pgsql/

and everything should be back as before.

Andrea.

On Wed, 2006-09-27 at 12:19 -0400, Trefethen, Zachary J wrote:
> Hello –
>
>
>
> I searched through the archives but didn’t find a solution to the
> exact situation I am in – please help if you can.
>
>
>
> had a server go down (running RHEL3), don’t have one of my databases
> backed up, but have the /var/lib/pgsql/ directory backed up.
>
>
>
> I set up a new server and installed postgres on it, then untar’d
> my /var/lib/pgsql files into the new server, to attempt to restore the
> databases, but now postgresql won’t start.
>
>
>
> [root@ew root]# service rhdb start
>
> Starting PostgreSQL - Red Hat Edition service:             [FAILED]
>
>
>
> Any ideas on what might be preventing the service from starting?
>
>
>
> Thanks!
>
>
>
> Josh
>
>
>


Attachment

pgsql-admin by date:

Previous
From: Rod Taylor
Date:
Subject: Re: [PERFORM] autovacuum on a -mostly- r/o table
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: [PERFORM] autovacuum on a -mostly- r/o table