Re: having trouble restoring a database from files

From: Andrea Gozzi <andrea(dot)gozzi(at)linuxrevolution(dot)eu>
To: "Trefethen, Zachary J" <zachary(dot)j(dot)trefethen(at)lmco(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: having trouble restoring a database from files
Date: 2006-09-27 16:53:39
Message-ID: 1159376019.31535.3.camel@osmosis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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
>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Lane Van Ingen 2006-09-27 16:54:44 Re: What Are Last Steps Performed When PostgreSQL Starts?
Previous Message Tobias Brox 2006-09-27 16:53:36 Re: autovacuum on a -mostly- r/o table