Re: How to verify pg_dump files - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: How to verify pg_dump files
Date
Msg-id 509AA467.8050102@iol.ie
Whole thread Raw
In response to How to verify pg_dump files  (Gary <listgj-pg@yahoo.co.uk>)
Responses Re: How to verify pg_dump files
List pgsql-general
On 07/11/2012 13:01, Gary wrote:
> 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?

Reload it and test your application against it?

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


pgsql-general by date:

Previous
From: "Yelai, Ramkumar IN BLR STS"
Date:
Subject: Re: Parallel Insert and Delete operation
Next
From: Bruce Momjian
Date:
Subject: Re: Plug-pull testing worked, diskchecker.pl failed