Skip to content

Commit 47cacfc

Browse files
committed
Document that not backing up postmaster.pid and postmaster.opts might
help prevent pg_ctl from getting confused. Backpatch to 9.1.
1 parent 600d320 commit 47cacfc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/src/sgml/backup.sgml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,11 @@ SELECT pg_stop_backup();
869869
of mistakes when restoring. This is easy to arrange if
870870
<filename>pg_xlog/</> is a symbolic link pointing to someplace outside
871871
the cluster directory, which is a common setup anyway for performance
872-
reasons.
872+
reasons. You might also want to exclude <filename>postmaster.pid</>
873+
and <filename>postmaster.opts</>, which record information
874+
about the running <application>postmaster</>, not about the
875+
<application>postmaster</> which will eventually use this backup.
876+
(These files can confuse <application>pg_ctl</>.)
873877
</para>
874878

875879
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy