From: | Howard News <howardnews(at)selestial(dot)com> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Verify Option with pg_dump |
Date: | 2016-11-30 12:00:07 |
Message-ID: | 971934f7-e32a-4eb6-9541-afa273053b7c@selestial.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2016-11-30 12:05:06 | Re: About the MONEY type |
Previous Message | Karsten Hilbert | 2016-11-30 11:43:19 | Re: Index size |