| От | Howard News |
|---|---|
| Тема | Verify Option with pg_dump |
| Дата | |
| Msg-id | 971934f7-e32a-4eb6-9541-afa273053b7c@selestial.com обсуждение |
| Ответы |
Re: Verify Option with pg_dump
|
| Список | pgsql-general |
Hi,
recently I had problems with a corrupt pg_dump file. The problem with the file was due to a faulty disk. The trouble with this is that I was unaware of the disk problem and the pg_dump file corruption so I did not have a full valid backup. In order to reduce the chances of this I was hoping that there could be a verify option as in SQL Server for the backups. This could be as simple as checking the CRC/MD5 as the stream is created. So pg_dump | crc_save
The idea being that the pg_dump is crc'd before it is streamed to disk, and then the file re-read from disk to check the CRC.
Is there a linux utility to do this or would it be simple to modify pg_dump to do this?
Thanks
Howard.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера