Re: How to verify pg_dump files

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to verify pg_dump files
Date: 2012-11-07 18:11:51
Message-ID: 509AA467.8050102@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)iol(dot)ie

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ryan Delaney 2012-11-07 18:57:48 Re: How to verify pg_dump files
Previous Message Jeff Janes 2012-11-07 17:01:56 Re: Unexpectedly high disk space usage