Re: Recovering a database

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Recovering a database
Дата
Msg-id m3g053l9vg.fsf@varsoon.denali.to
обсуждение исходный текст
Ответ на Recovering a database  ("Peter Bayley" <peterb@homer.com.au>)
Список pgsql-hackers
"Peter Bayley" <peterb@homer.com.au> writes:

> I had a hard disk crash recently (Those IBM 45Gb drives again) and had to
> reinstall Linux (RedHat 7.2) on the new disk (Seagate)
> 
> My question is - how can I tell PostgreSQL (which I've obviously had to
> reinstall) to look at my existing database which was mounted on another
> volume and is still intact.?.  In other words- Can you tell a
> freshly-installed PostgreSQL to use an existing (same version) database?

Sure--set PGDATA appropriately before starting the postmaster.  See
the docs.

BTW, this would have been better posted to GENERAL rather than
HACKERS.

-Doug
-- 
Let us cross over the river, and rest under the shade of the trees.  --T. J. Jackson, 1863


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

Предыдущее
От: "Peter Galbavy"
Дата:
Сообщение: Ignorance time: when is 7.2 due ?
Следующее
От: Vardan Gyurjyan
Дата:
Сообщение: jdbc:postgresql problem