From: Peter Wilson <petew@yellowhawk.co.uk>
To: pgsql-admin@postgresql.org
Subject: Problem restoring with pg_dump
Date: Tue, 28 Nov 2006 10:00:37 +0000
Message-ID: <ekh1c7$1qct$1@news.hub.org> (raw)
I posted this to 'general' yesterday but with no luck. This is probably a better
group.
I've just got the following message while trying to restore a database :
pg_restore : [custom archiver] Dumping a specific TOC data block out of order is
not supported without ID on this input stream (fseek required).
The command was :
pg_restore -L /tmp/toc --dbname=whitebeam --disable-triggers --username=postgres
/var/backups/restore-db.psql
/tmp/toc is a re-orderd output from :
pg_restore -l -a /var/backups/restore-db.psql > /tmp/toc
Using Postgres 8.1.4 on
Linux version 2.6.15-1.2054_FC5
The dump itself was made on another machine running 8.1.4 on Fedora core 4.
I've run similar commands on this machine before with no problems. Not sure why
I should start to have these problems now?
Anyone else seen anything similar? Thoughts much appreciated!
Pete
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: petew@yellowhawk.co.uk
Subject: Re: Problem restoring with pg_dump
In-Reply-To: <ekh1c7$1qct$1@news.hub.org>
References: <ekh1c7$1qct$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox