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.
|