Re: Database recovery after fs crash

Поиск
Список
Период
Сортировка
От J.Henning@t-online.de
Тема Re: Database recovery after fs crash
Дата
Msg-id 1959.213.252.135.82.1061900308.squirrel@vds.ath.cx
обсуждение исходный текст
Ответ на Re: Database recovery after fs crash  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Database recovery after fs crash
Список pgsql-general
> Hmm, presumably you don't have those.

Unfortunately not. All backup measures I took failed on the exact same
occasion - worst case possible.

> I usually start by browsing files by hand to see if I can determine
> from any embedded text which table it was.

Seems easy enough.

> Then if you create a new database and recreate the table *exactly* the
> same and then copy the datafile over. You might need to create some
> clog files but you *might* be able to recover some data.

How do I do that? I don't know the format of the clog files. The only
information I found was in clog.h and xlog.h.

> It's a bit tricky though. Black magic and all that. Backups are absolutly
> the best way.

Definitely, if only my backup had worked...

  Christian

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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: is linux ready for databases ? (Ziff Davis article
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: installing postgres7.3.4 problem