From: Chris White (cjwhite) <cjwhite@cisco.com>
To: pgsql-admin@postgresql.org
Subject: Need help/suggestions with backup/restore of database tables.
Date: Tue, 24 Jun 2003 10:01:54 -0700
Message-ID: <002001c33a72$50e4f1d0$55936b80@amer.cisco.com> (raw)
In-Reply-To: <3EEF622C.4060908@hss.caltech.edu>
I have four tables in a database which reference all the large objects
in the database. I need to backup and restore these 4 tables and the
large objects independently of the other tables in the database.
pg_dump only allows me to dump the whole database, if I want to dump the
large objects. I know that on restore I can create a contents file from
the pg_dump file and selectively restore only the tables I need, but
this is not suitable because:
1) Restore data is streamed from a remote ftp server.
2) Backup file is large.
3) There is not enough physical storage to copy the restore file to disk
prior to restoring the database, so I can create the contents list
without reading file twice over ftp link.
Does anybody have any suggestions apart from writing my own custom
backup/restore?
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: Need help/suggestions with backup/restore of database tables.
In-Reply-To: <002001c33a72$50e4f1d0$55936b80@amer.cisco.com>
References: <3EEF622C.4060908@hss.caltech.edu> <002001c33a72$50e4f1d0$55936b80@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