From: SBSD PgAdmin <postgres@sbsd.de>
To: pgsql-admin@postgresql.org
Subject: dump / restore problem with large objects
Date: Sat, 8 Mar 2003 15:27:39 +0100
Message-ID: <20030308142739.GA63190@pip.sbsd.de> (raw)
Hi,
I am using the fulldump and fullrestore scripts from Colin Stearman.
This script (fulldump) executes
pg_dumpall -g >$Globals
and for each database
pg_dump -Fc -Z1 -b "$db_name" -f "$BackupDir/$db_name.pgdump"
fullrestore works something like this:
psql template1 <$Globals
and for each database
pg_restore -d $DBName $file
When I try to do a fullrestore on another Postgres server
restoring fails with some databases.
I get the following error message:
pg_restore: [archiver (db)] could not create large object cross-reference
entry
I searched the www for a while, but can not find anything helpful.
Whats going wrong?
Im using PostgreSQL 7.2.1 at the server where the dumps are
taken from and PostgreSQL 7.2.4 where the dumps should be restored to.
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: postgres@sbsd.de
Subject: Re: dump / restore problem with large objects
In-Reply-To: <20030308142739.GA63190@pip.sbsd.de>
References: <20030308142739.GA63190@pip.sbsd.de>
* 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