| От | Anibal Acosta |
|---|---|
| Тема | Corrupt backup file after pg_dump (from windows) |
| Дата | |
| Msg-id | 20071214181644.955107D2794@mail.personal.net.py обсуждение |
| Список | pgsql-admin |
Hello guys; Days ago I backup my postgres database using the PGAdmin program for windows; my postgres version is 8.1. Now; when I try to restore the backup an error occur. ( BTW; I format my disk; so I can't backup gain :( ) After restore I check the postgres database and I found all table; functions; and others structures; also data in some tablesbut not in all. After some research I detect that I have some "bad blocks" in my backup file. Those blocks are in the DATA section of a largetable; maybe in a range of 16K. So; when I run the pg_restore everything is restored until the damaged sector; all information after it is ignored. In the console appear "out of memory". Someones suggest to open the backup file and remove bad rows; but when I open in any text editor the data is not in a humanreadable way. So; maybe you know how can I remove all rows stored in damaged bytes in order to restore all others rows after it. Thanks!! Anibal
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера