Обсуждение: Recovering from numbered directories

Поиск
Список
Период
Сортировка

Recovering from numbered directories

От
Bradley Kieser
Дата:
Has anyone done this? In a fatal crash where the backup only recovered
the numbered directories (data dirs) of a PG installation (i.e. nothing
above the numbered directories), is it possible to reinstall the exact
same version of PG and recover the databases from just those numbered
directories?

Thanks,

Brad


Re: Recovering from numbered directories

От
Tom Lane
Дата:
Bradley Kieser <brad@kieser.net> writes:
> Has anyone done this? In a fatal crash where the backup only recovered
> the numbered directories (data dirs) of a PG installation (i.e. nothing
> above the numbered directories), is it possible to reinstall the exact
> same version of PG and recover the databases from just those numbered
> directories?

If you haven't got pg_clog you're pretty much screwed :-(

            regards, tom lane