From: Chris White (cjwhite) <cjwhite@cisco.com>
To: pgsql-admin@postgresql.org
Subject: Problem restoring large objects with pg_restore
Date: Fri, 1 Aug 2003 08:18:43 -0700
Message-ID: <000201c35840$32156500$5c976b80@amer.cisco.com> (raw)
I am running version 7.2.1 of postgres and I am trying to restore all
the large objects and associated tables from a backup I took 3 days ago.
I created a restore list using
pg_restore -l restore.file > restore.list
command. I then edited the restore list to only include those tables I
needed. Then I restored the tables and large objects using the
pg_restore -c -d database -U user -L restore list restore.file
Everything got restored, all the requested tables and all the large
objects. However, all the large objects were restored with a different
oids (some using oids of previous large objects), which made all the
references to these oids in the tables incorrect.
What did I do wrong?
Chris White
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: cjwhite@cisco.com
Subject: Re: Problem restoring large objects with pg_restore
In-Reply-To: <000201c35840$32156500$5c976b80@amer.cisco.com>
References: <000201c35840$32156500$5c976b80@amer.cisco.com>
* 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