pg_restore data block error - Mailing list pgsql-admin

From Anjan Dave
Subject pg_restore data block error
Date
Msg-id 4BAFBB6B9CC46F41B2AD7D9F4BBAF785098028@vt-pe2550-001.vantage.vantage.com
Whole thread Raw
Responses Re: pg_restore data block error
List pgsql-admin
Dear All:
 
I am trying to restore a database (size is about 7GB) from a dump file created by a simple backup script..The format is data.pg.
 
The schema restores fine,  but during the data restore, i get the following error:
 
-bash-2.05b$ pg_restore -a -d access backups/access/data.pg
pg_restore: [custom archiver] could not read data block -- expected 4096, got 3608
 
I tried this twice now, with backups taken on different days...
 
I am dumping from 7.2.4 (RH8 - RAID5 set) to 7.4.0 (RH9).
 
Any ideas please?
 
Thanks,
Anjan

**************************************************************************

This e-mail and any files transmitted with it are intended for the use of the addressee(s) only and may be confidential and covered by the attorney/client and other privileges. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.

 

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: postgres crashes
Next
From: Mark Gibson
Date:
Subject: Any Gentoo users interested in a slotted PostgreSQL ebuild?