Re: Live incremental backups?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Alfred Perlstein <bright(at)wintelcom(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Live incremental backups?
Date: 2000-08-11 01:02:41
Message-ID: 3.0.5.32.20000811110241.027d1e30@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 15:25 10/08/00 -0700, Alfred Perlstein wrote:
>Before I run off and figure out how to syncronize a "backup" database
>with a live one, I was wondering if anyone had any pointers on
>implementing a delayed syncronization way of backing up a database
>while it's live. I'd really like to be able to only transfer over
>modified rows, rather than the entire database.
>

My *guess* is that the WAL should add a few options here - especially for
backup. However, if your replication is only partial, it may not help as much.

On other system I have used, you 'truncate' the WAL periodically and save
it is part of the backup. These pieces of WAL can be applied to a prior
copy of the database to produce a version of the DB at the time the WAL was
truncated.

Obviously this requires a little more than just the WAL, but it might be
the right way to go in the future for on-line backup and whole-database,
read-only replication.

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2000-08-11 01:03:16 Re: Arrays and foreign keys
Previous Message Chris Bitmead 2000-08-10 23:43:13 Re: Arrays and foreign keys