From: Christopher Browne <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: Re: Backup routine
Date: Sat, 09 Aug 2003 21:19:10 -0400
Message-ID: <m3r83u71ip.fsf@chvatal.cbbrowne.com> (raw)
References: <000c01c35dd6$d62b43d0$e205000a@compaq>
<200308091711.31439.peterandsarah@blueyonder.co.uk>
The world rejoiced as peterandsarah@blueyonder.co.uk (Peter and Sarah Childs) wrote:
> However there is a third way. That should be safe but some
> people may disagree with me! If you can "freeze" the disk while you
> take the backup. The backup can be used as if the computer had
> crashed with no hard disk failure at all. Ie WAL will be consistant
> and database may take longer but once it is up it will be safe (like
> paragaph 1). Now freezeing a disk for backup is not that
> difficult. You should be doing it anyway for user file
> consistancy. (You don't want the first 30 pages of you document to
> disagree with the end because somone was saving it during the
> backup!
I heard D'Arcy Cain indicate that some SAN systems (I think he
mentioned NetApp) support this sort of thing, too. Digital's AdvFS
also supports it.
Of course, if you take this approach, you have to make _certain_ that
when you "freeze" a replica of a filesystem, that _ALL_ of the
database is contained in that one filesystem. If you move WAL to a
different filesystem, bets would be off again...
--
let name="cbbrowne" and tld="ntlug.org" in String.concat "@" [name;tld];;
http://www3.sympatico.ca/cbbrowne/
The real problem with the the year 2000 is that there are too many
zero bits and that adversely affects the global bit density.
-- Boyd Roberts <boyd@france3.fr>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: cbbrowne@acm.org
Subject: Re: Backup routine
In-Reply-To: <m3r83u71ip.fsf@chvatal.cbbrowne.com>
References: <000c01c35dd6$d62b43d0$e205000a@compaq> <200308091711.31439.peterandsarah@blueyonder.co.uk> <m3r83u71ip.fsf@chvatal.cbbrowne.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