From: Doug McNaught <doug@mcnaught.org>
To: Bjørn T Johansen <btj@havleik.no>
Cc: pgsql-general@postgresql.org
Subject: Re: Backup?
Date: 04 Sep 2003 16:40:39 -0400
Message-ID: <m34qzsthh4.fsf@varsoon.wireboard.com> (raw)
References: <1062703912.28376.31.camel@pennywise.havleik.no>
Bjørn T Johansen <btj@havleik.no> writes:
> Should one use pg_dumpall to backup the database or is it more practical
> to just copy the data directory?
The data directory will not be consistent unless the server is
stopped. pg_dumpall works well, produces a consistent backup and is
easily portable to a different machine architecture if need be.
-Doug
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: doug@mcnaught.org, btj@havleik.no
Subject: Re: Backup?
In-Reply-To: <m34qzsthh4.fsf@varsoon.wireboard.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