pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
exclude a table from pg_dump
2+ messages / 2 participants
[nested] [flat]

* exclude a table from pg_dump
@ 2002-09-22 11:27  Kostis Mentzelos <mentzelos@gmx.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Kostis Mentzelos @ 2002-09-22 11:27 UTC (permalink / raw)
  To: pgsql-admin

Hi all,
is it possible to exclude a table from being pg_dumped?
 
In my case I need to backup everything except one table that is very
large and I want to pg_dump it later
 
regards,
kostis.
 

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: exclude a table from pg_dump
@ 2002-09-27 14:10  Andrew Sullivan <andrew@libertyrms.info>
  parent: Kostis Mentzelos <mentzelos@gmx.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Andrew Sullivan @ 2002-09-27 14:10 UTC (permalink / raw)
  To: pgsql-admin

On Sun, Sep 22, 2002 at 02:27:52PM +0300, Kostis Mentzelos wrote:
> Hi all,
> is it possible to exclude a table from being pg_dumped?

Not really.  If you knew there were no connections (and therefore
no-one changing data) you could do it in a shell script, passing the
-t option to pg_dump for each table except the one you want.  But
that won't provide you with a truly guaranteed-consistent dump like a
normal pg_dump does.

I thought someone said something about adding a multiple-table
feature to the 7.3 pg_dump, but I just tried it on the beta, and it
didn't work differently than in 7.2.

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-09-27 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-09-22 11:27 exclude a table from pg_dump Kostis Mentzelos <mentzelos@gmx.net>
2002-09-27 14:10 ` Andrew Sullivan <andrew@libertyrms.info>

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