| От | Tom Lane |
|---|---|
| Тема | Re: FATAL 2: invalid checksum in control file |
| Дата | |
| Msg-id | 27125.1170814716@sss.pgh.pa.us обсуждение |
| Ответ на | FATAL 2: invalid checksum in control file ("David Martin" <martin-family@blueyonder.co.uk>) |
| Список | pgsql-admin |
"David Martin" <martin-family@blueyonder.co.uk> writes:
> I am trying to restore a database from a machine which has died. The
> machine was taken down normally but refused to restart so the data has
> been copied elsewhere.
> The database is in version 7.2 so I installed 7.2.8, but upon pointing
> the postmaster at the relevant data directory I get the error in the
> subject line.
Lessee ... 7.2 had pg_controldata and pg_resetxlog, so you have some
hope. Try the former and see if it can extract anything. Then try
the latter. Definitely RTFM on pg_resetxlog before using it.
Also: is the "elsewhere" the same machine architecture as the original
server? Do not even think about trying to recover x86 files on x86_64,
for example.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера