From: Vivek Khera <khera@kcilink.com>
To: pgsql-general@postgresql.org
Subject: Re: Backup?
Date: Thu, 04 Sep 2003 16:47:52 -0400
Message-ID: <x74qzsi8lj.fsf@yertle.int.kciLink.com> (raw)
References: <1062703912.28376.31.camel@pennywise.havleik.no>
>>>>> "BTJ" == Bjørn T Johansen <Bj> writes:
BTJ> Should one use pg_dumpall to backup the database or is it more
yes, or pg_dump specific databases.
BTJ> practical to just copy the data directory?
this would do you no good, since the files are not necessarily in a
consistent state when you copy many of them. ie, the copy is
non-atomic, and there is no guarantee that all data is flushed to
disk.
i don't even do a file system dump of my PG data partition because of
this.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-general@postgresql.org
Cc: khera@kcilink.com
Subject: Re: Backup?
In-Reply-To: <x74qzsi8lj.fsf@yertle.int.kciLink.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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