Re: Live incremental backups?

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: Live incremental backups?
Дата
Msg-id 3.0.5.32.20000811110241.027d1e30@mail.rhyme.com.au
обсуждение исходный текст
Ответ на Live incremental backups?  (Alfred Perlstein <bright@wintelcom.net>)
Список 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   |/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: Re: Arrays and foreign keys
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Arrays and foreign keys