Stress that backup_label file is critical in the docs.
authorHeikki Linnakangas
Tue, 7 May 2013 13:55:04 +0000 (16:55 +0300)
committerHeikki Linnakangas
Tue, 7 May 2013 13:58:10 +0000 (16:58 +0300)
It is surprisingly common mistake to leave out backup_label file from a base
backup. Say more explicitly that it must be included.

Jeff Janes, with minor rewording by me.

doc/src/sgml/backup.sgml

index e444b1cde3dae530b99011d7c54b8edd887a3d0e..ccb76d8af0a5873fc9bdd1aab0bf213002385272 100644 (file)
@@ -826,7 +826,8 @@ SELECT pg_start_backup('label');
      pg_start_backup creates a backup label file,
      called backup_label, in the cluster directory with
      information about your backup, including the start time and label
-     string.
+     string.  The file is critical to the integrity of the backup, should
+     you need to restore from it.
     
 
     
@@ -945,9 +946,11 @@ SELECT pg_stop_backup();
     The backup label file includes the label string you gave to
     pg_start_backup, as well as the time at which
     pg_start_backup was run, and the name of the starting WAL
-    file.  In case of confusion it is
-    therefore possible to look inside a backup dump file and determine
-    exactly which backup session the dump file came from.
+    file.  In case of confusion it is therefore possible to look inside a
+    backup dump file and determine exactly which backup session the dump file
+    came from.  However, this file is not merely for your information; its
+    presence and contents are critical to the proper operation of the system's
+    recovery process.