Re: having trouble restoring a database from files

Поиск
Список
Период
Сортировка
От Andrea Gozzi
Тема Re: having trouble restoring a database from files
Дата
Msg-id 1159376019.31535.3.camel@osmosis
обсуждение исходный текст
Ответ на having trouble restoring a database from files  ("Trefethen, Zachary J" <zachary.j.trefethen@lmco.com>)
Список 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
>
>
>


Вложения

В списке pgsql-admin по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: [PERFORM] autovacuum on a -mostly- r/o table
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: [PERFORM] autovacuum on a -mostly- r/o table