| От | J.Henning@t-online.de |
|---|---|
| Тема | Re: Database recovery after fs crash |
| Дата | |
| Msg-id | 1925.213.252.135.82.1062080765.squirrel@vds.ath.cx обсуждение |
| Ответ на | Re: Database recovery after fs crash (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-general |
>> 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. > > xlog is fairly easy, I think resetxlog or something can work there. For > clog I just noted from the logs which clog files it was missing and > created them filled with either 0x00 or 0x55 (I forget if it make a > difference) and kept going until done. Thanks a lot for your help. Whatever table I was able to identify I was able to recover. I just filled every clog file missing with 0x00 and used pg_resetxlog for the xlog files, just like you suggested. It worked :) Now, I have at least part of my data back. Christian
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера