Update recovery documentation.
authorBruce Momjian
Mon, 2 Oct 2006 22:33:02 +0000 (22:33 +0000)
committerBruce Momjian
Mon, 2 Oct 2006 22:33:02 +0000 (22:33 +0000)
Simon Riggs

doc/src/sgml/backup.sgml

index cff61ad6576b6a5e069fc8c62b81caf0fe8be9dc..550336575d16cd232203b6d9488d8fe8ef642f00 100644 (file)
@@ -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.