pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: W <wweneto@fastmail.fm>
To: pgsql-admin@postgresql.org
Subject: Database protection - restore to the point of failure
Date: Thu, 29 Sep 2005 11:31:25 +0200
Message-ID: <1127986285.4281.244017516@webmail.messagingengine.com> (raw)

Is it possible to do something like that (taken from Oracle world):

I have two phisical disc (diskA and diskB). I would like to put:
- database data files on diskA,
- database WAL on diskA and diskB (dual logging),
- database archive logs on diskA and diskB.

With this kind of configuration, I could restore data in database to the
point of any hard disk failure (assuming regular backups of database are
beening done). Actually, if diskA fails, the procedure bellow should be
done, if diskB fails, database should continue to operate normaly.

So the recovery procedure would be something like this:
- restore database,
- apply archive logs,
- apply WAL,
- open/start database.

Is this possible in PostgreSQL? Are there any other ways to achive same
level of protection with PostgreSQL?

WWeneto
-- 
  W
  wweneto@fastmail.fm

-- 
http://www.fastmail.fm - Does exactly what it says on the tin




Message-ID: <1127986285.4281.244017516@webmail.messagingengine.com>
Permalink:  ../1127986285.4281.244017516@webmail.messagingengine.com/
Also on:    postgresql.org/message-id/1127986285.4281.244017516@webmail.messagingengine.com

 · 

reply

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: wweneto@fastmail.fm
  Subject: Re: Database protection - restore to the point of failure
  In-Reply-To: <1127986285.4281.244017516@webmail.messagingengine.com>
  References: <1127986285.4281.244017516@webmail.messagingengine.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