Document that not backing up postmaster.pid and postmaster.opts might
authorBruce Momjian <bruce@momjian.us>
Tue, 11 Oct 2011 21:33:20 +0000 (17:33 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 11 Oct 2011 21:33:20 +0000 (17:33 -0400)
help prevent pg_ctl from getting confused.

Backpatch to 9.1.

doc/src/sgml/backup.sgml

index b8daedcbb6e42241ad987fddcdec8310a731423e..737355a911d97cc9b436868cf798e469ec587d6d 100644 (file)
@@ -869,7 +869,11 @@ SELECT pg_stop_backup();
     of mistakes when restoring.  This is easy to arrange if
     <filename>pg_xlog/</> is a symbolic link pointing to someplace outside
     the cluster directory, which is a common setup anyway for performance
-    reasons.
+    reasons.  You might also want to exclude <filename>postmaster.pid</>
+    and <filename>postmaster.opts</>, which record information
+    about the running <application>postmaster</>, not about the
+    <application>postmaster</> which will eventually use this backup.
+    (These files can confuse <application>pg_ctl</>.)
    </para>
 
    <para>