Re: pg_dumpall / pg_dump

From: "Daniel Seichter" <daniel(at)dseichter(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dumpall / pg_dump
Date: 2003-05-06 17:55:30
Message-ID: 3EB81332.24438.7F6358@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello Andrew,

> The most certain way is to do pg_dump in binary mode, and then use the
> catalogue after the fact to import only the target tables. But on a
> live database, three pg_dump -t statements is certain _not_ to get you
> a consistent snapshot. (Of course, if the consistency doesn't matter
> in your case, then it makes no difference.)
I dump the tables at a time, were I am sure, that no user is on the database. The dump
is used for another database, that creates a database with only these three tables.

Daniel
--
postgreSQL on Netware - the red elephant
http://postgresql.dseichter.org

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shankar K 2003-05-06 18:36:11 problems in connection
Previous Message Robert Treat 2003-05-06 15:49:41 Re: Database server restartig