pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim White <twhite26@kc.rr.com>
To: Ragnar Kjørstad <postgres@ragnark.vestdata.no>
Cc: D Johnson <dspectra@home.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: BAcking up a Postgres Database
Date: Thu, 11 Jan 2001 08:57:26 -0600
Message-ID: <3A5DC9D6.6F3A32E0@kc.rr.com> (raw)
References: <3A5C4E21.7EE0C88@home.com>
	<20010111090336.A21679@vestdata.no>

Does this provide true "point of failure" recovery?  This sounds like no
more than a cold backup,
which does not provide "point of failure" recovery.  I think the original
question is very valid.  Postgres
does not, to my knowledge, support transaction logging, which is necessary
for this style of recovery.
In Oracle, you restore the data files from a previous backup and then
re-apply the transaction (archive)
logs, a process called "rolling forward", then you can open the database
for use, and it is in the state
just prior to the failure.  I've seen some creative dialogue on this list
about writing to multiple database
instances to have a live backup, and some regarding logging each SQL
statement, but the introduction
of a transaction archiver into the engine itself would make this process
much easier and make Postgres
more attractive to sites currently using the major commercial database
packages, IMHO.

Let me know if any of this is blatantly incorrect.

Tim White

Ragnar Kjørstad wrote:

> On Wed, Jan 10, 2001 at 05:57:21AM -0600, D Johnson wrote:
> > Will the postgres community ever consider creating a decent backup
> > capability. Currently the way to create backups is through a Cron job.
> > For Postgres to ever be considered a true production systen then some
> > sort of transactional tracing has to be done. Otherwise you risk the
> > potential of losing quite a bit of data.
>
> You can take a snapshot of the database-device (while the database is
> down), and backup from the snapshot to avoid this problem.
>
> You need a volum-manager that support snapshot, but AFAIK most do.
>
> --
> Ragnar Kjørstad
> BigStorage




view thread (9+ messages)  latest in thread

Message-ID: <3A5DC9D6.6F3A32E0@kc.rr.com>
Permalink:  ../3A5DC9D6.6F3A32E0@kc.rr.com/
Also on:    postgresql.org/message-id/3A5DC9D6.6F3A32E0@kc.rr.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: twhite26@kc.rr.com, postgres@ragnark.vestdata.no, dspectra@home.com
  Subject: Re: BAcking up a Postgres Database
  In-Reply-To: <3A5DC9D6.6F3A32E0@kc.rr.com>
  References: <3A5C4E21.7EE0C88@home.com> <20010111090336.A21679@vestdata.no> <3A5DC9D6.6F3A32E0@kc.rr.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