X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 20C2030F973 for ; Tue, 24 Jun 2003 17:01:58 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 50470-04 for ; Tue, 24 Jun 2003 14:01:47 -0300 (ADT) Received: from sj-iport-2.cisco.com (sj-iport-2-in.cisco.com [171.71.176.71]) by svr1.postgresql.org (Postfix) with ESMTP id 4F81230F98C for ; Tue, 24 Jun 2003 14:01:47 -0300 (ADT) Received: from cisco.com (171.71.177.238) by sj-iport-2.cisco.com with ESMTP; 24 Jun 2003 10:01:03 -0800 Received: from cjwhitew2k01 (dhcp-128-107-147-85.cisco.com [128.107.147.85]) by sj-core-5.cisco.com (8.12.9/8.12.6) with ESMTP id h5OH1iGe011895 for ; Tue, 24 Jun 2003 10:01:45 -0700 (PDT) Reply-To: From: "Chris White (cjwhite)" To: 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> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 In-Reply-To: <3EEF622C.4060908@hss.caltech.edu> X-Archive-Number: 200306/290 X-Sequence-Number: 9281 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