> ERROR: unexpected message type 0x58 during COPY from stdin
One possible reason is running out of disk space while making the backup.We had the same error while trying to restore 8.3's automated pg_dump into 9.1.