X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A968DD1B211 for ; Wed, 9 Jun 2004 11:09:32 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16715-07 for ; Wed, 9 Jun 2004 14:09:29 +0000 (GMT) Received: from www.roaringpenguin.com (www.roaringpenguin.com [206.191.13.82]) by svr1.postgresql.org (Postfix) with ESMTP id E2CD7D1B18F for ; Wed, 9 Jun 2004 11:09:23 -0300 (ADT) Received: from ottawa-hs-209-217-122-117.s-ip.magma.ca (ottawa-hs-209-217-122-117.s-ip.magma.ca [209.217.122.117]) by www.roaringpenguin.com (8.12.8/8.12.8) with ESMTP id i59E9Rb0017991 for ; Wed, 9 Jun 2004 10:09:27 -0400 Received: from shishi.roaringpenguin.com (shishi.roaringpenguin.com [192.168.2.3]) by shevy.roaringpenguin.com (8.12.10/8.12.10) with ESMTP id i59E9RCl032109 for ; Wed, 9 Jun 2004 10:09:27 -0400 Date: Wed, 9 Jun 2004 10:09:27 -0400 (EDT) From: "David F. Skoll" To: pgsql-admin@postgresql.org Subject: Dump only part of a DB Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/117 X-Sequence-Number: 13777 Hi, pg_dump can be used to dump an entire database, or just a single table. Is there a way to make a consistent dump of more than one table, but less than all of the tables in the database? Doing a bunch of single-table pg_dumps isn't really an option, because some tables may change during the dumps, leading to constraint violations if we try to restore them. Rationale: We have an application that makes a nightly dump of its database. There's one particular table that tends to be large, but happily it's not critical if it's lost -- no real need to back it up. So we'd like to back up everything except that one large, non-critical table. Regards, David.