Re: Verify Option with pg_dump

From: Howard News <howardnews(at)selestial(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Verify Option with pg_dump
Date: 2016-11-30 13:11:58
Message-ID: df57525a-9bea-44b4-e2f1-0da56ff0c9a1@selestial.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 30/11/2016 12:27, Karsten Hilbert wrote:
>
> You can try to suitably combine "pg_dump --format=plain" with
> "tee" and "md5sum" such that the output stream is diverted to
> both a file and a pipe-into-CRC-algorithm and eventually
> compare the pipe's sum with the sum generated from the file.
>
> But the better solution might be to stream to a filesystem
> that verifies disk writes immediately. Or to a suitable RAID
> array.
>
> Regards,
> Karsten
Thanks for this info Karsten. I will look into using "tee". As a matter
of interest, why does the format need to be plain?

Regarding the filesystem solution, the dump is currently written to a HP
RAID 10 array with an NTFS partition. What filesystems / raid arrays
have this ability?

Thanks.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Howard News 2016-11-30 13:18:06 Re: Traffic monitor postgres
Previous Message basti 2016-11-30 13:05:36 Traffic monitor postgres