Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6IH3Ma53580 for ; Wed, 18 Jul 2001 13:03:22 -0400 (EDT) (envelope-from dev@archonet.com) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 15MujI-000NB7-0V; Wed, 18 Jul 2001 18:03:20 +0100 Received: from client (client.archonet.com [192.168.1.16]) by mainbox.archonet.com (Postfix) with SMTP id BDC3D12B2D; Wed, 18 Jul 2001 17:35:06 +0100 (BST) Message-ID: <003a01c10fa7$99593540$1001a8c0@archonet.com> From: "Richard Huxton" To: , References: <3B55AF70.F8BC939A@plandepot.com> Subject: Re: restore single table Date: Wed, 18 Jul 2001 17:35:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200107/658 X-Sequence-Number: 12698 From: "Liz Pelletier" > If I have a dump of myDB, and I want to restore only two tables from > this dump, is there a way to do this? Or do I have to restore the entire > db? > > (BTW, using 7.1 on a Debian box.) Try pg_restore if you used pg_dump's new option (never tried it myself). If you dumped your database as text (INSERTs/COPY) it's cut & paste time (or a couple of greps and a short perl script). - Richard Huxton