pg_dump schma while excluding specific table

From: Tony Capobianco <tcapobianco(at)prospectiv(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_dump schma while excluding specific table
Date: 2011-11-03 15:16:42
Message-ID: 1320333402.1970.6.camel@tony1.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

When I issue:

pg_dump newdb > /DUMPDIR/newdb.dmp -n dev -T corgi -w -v -F c 2> /DUMPDIR/newdb.log

I get a dump of the entire dev schema. My goal is to dump the dev
schema minus the corgi table. How can I adjust my script to perform
this function?

Thanks.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2011-11-03 15:21:37 Re: Strange problem with create table as select * from table;
Previous Message hubert depesz lubaczewski 2011-11-03 15:05:38 Re: Strange problem with create table as select * from table;