pg_dump corrupts database?

Поиск
Список
Период
Сортировка
От Stephen Robert Norris
Тема pg_dump corrupts database?
Дата
Msg-id 1060132732.19387.3.camel@ws12.commsecure.com.au
обсуждение исходный текст
Ответы Re: pg_dump corrupts database?  (Dennis Gearon <gearond@cvc.net>)
Список pgsql-general
I've encountered this a few times with 7.2 and 7.3.

If I do pg_dump of some large (> 100Mb - the bigger the more likely)
database, and it gets interrupted for some reason (e.g. the target disk
fills up), the source database become corrupt. I start getting errors
like:

open of /var/lib/pgsql/data/pg_clog/0323 failed: No such file or
directory

and I have to drop/restore the table in question.

Is this a known problem? Is there some safe way to dump databases that
avoids it?

    Stephen
--
Stephen Robert Norris <srn@commsecure.com.au>
CommSecure Australia Pty Ltd


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

Предыдущее
От: "Jimmie H. Apsey"
Дата:
Сообщение: Re: Changing DB ownership
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: How to do?