From 5d52ad9dc884ac786cc15b588302d8b0b62451bd Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 2 Oct 2006 22:33:02 +0000 Subject: [PATCH] Update recovery documentation. Simon Riggs --- doc/src/sgml/backup.sgml | 52 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index cff61ad657..550336575d 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -1,4 +1,4 @@ - + Backup and Restore @@ -1167,6 +1167,48 @@ restore_command = 'copy /mnt/server/archivedir/%f "%p"' # Windows + + Incrementally Updated Backups + + + incrementally updated backups + + + + change accumulation + + + + Restartable Recovery can also be utilised to offload the expense of + taking periodic base backups from a main server, by instead backing + up a Standby server's files. This concept is also generally known as + incrementally updated backups, log change accumulation or more simply, + change accumulation. + + + + If we take a backup of the server files whilst a recovery is in progress, + we will be able to restart the recovery from the last restartpoint. + That backup now has many of the changes from previous WAL archive files, + so this version is now an updated version of the original base backup. + If we need to recover, it will be faster to recover from the + incrementally updated backup than from the base backup. + + + + To make use of this capability you will need to set up a Standby database + on a second system, as described in . By + taking a backup of the Standby server while it is running you will + have produced an incrementally updated backup. Once this configuration + has been implemented you will no longer need to produce regular base + backups of the Primary server: all base backups can be performed on the + Standby server. If you wish to do this, it is not a requirement that you + also implement the failover features of a Warm Standby configuration, + though you may find it desirable to do both. + + + + Caveats @@ -1317,6 +1359,14 @@ restore_command = 'copy /mnt/server/archivedir/%f "%p"' # Windows really offers a solution for Disaster Recovery, not HA. + + When running a Standby Server, backups can be performed on the Standby + rather than the Primary, thereby offloading the expense of + taking periodic base backups. (See + ) + + + Other mechanisms for High Availability replication are available, both commercially and as open-source software. -- 2.40.0