Re: How to verify pg_dump files

Поиск
Список
Период
Сортировка
От Igor Neyman
Тема Re: How to verify pg_dump files
Дата
Msg-id A76B25F2823E954C9E45E32FA49D70EC08EEDB6C@mail.corp.perceptron.com
обсуждение исходный текст
Ответ на How to verify pg_dump files  (Gary <listgj-pg@yahoo.co.uk>)
Ответы Re: How to verify pg_dump files  (Lists <lists@benjamindsmith.com>)
Список pgsql-general

> -----Original Message-----
> From: Gary [mailto:listgj-pg@yahoo.co.uk]
> Sent: Wednesday, November 07, 2012 8:02 AM
> To: pgsql-general@postgresql.org
> Subject: How to verify pg_dump files
>
> 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?
>
> --
> Gary        Please do NOT send me 'courtesy' replies off-list.
>


The only 100% fool-proof test would be to restore from your backup files.

Regards,
Igor Neyman


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

Предыдущее
От: Lists
Дата:
Сообщение: Re: Unexpectedly high disk space usage
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Why PGDLLIMPORT is needed