Re: How to verify pg_dump files

Поиск
Список
Период
Сортировка
От Ryan Delaney
Тема Re: How to verify pg_dump files
Дата
Msg-id CAN0-qtg4FeyQTTma9YFB=ir30ghMUpT-nvfOSvZp2uGEgq4Zcg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to verify pg_dump files  (Raymond O'Donnell <rod@iol.ie>)
Список pgsql-general
On Wed, Nov 7, 2012 at 10:11 AM, Raymond O'Donnell <rod@iol.ie> wrote:
On 07/11/2012 13:01, Gary wrote:
> Can anyone suggest how I could verify that the files created by pg_dump
> are "okay"? They are being created for backup purposes, and the last
> thing I want to do is find out that the backups themselves are in some
> way corrupt.
>
> I know I can check the output of the command itself, but what if.. I
> don't know... if there are problems with the disc it writes to, or
> something like that. Is there any way to check whether the output file
> is "valid" in the sense that it is complete and syntactically correct?

Reload it and test your application against it?

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


Would that entail over-writing good data with possibly bad data? 

Ryan 

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Does PostgreSQL have complete functional test cases?
Следующее
От: Nicholas Wilson
Дата:
Сообщение: Unique/Primary key not inherited in partition, workaround?