Live incremental backups?
Live incremental backups?
От:
Alfred Perlstein <bright@wintelcom.net>
Дата:
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. Any clues, pointers that could help me out? thanks, -Alfred
Re: Live incremental backups?
От:
Philip Warner <pjw@rhyme.com.au>
Дата:
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 |/