From 39b2d9ffb01ab356f6f5e0d441472ade7608b12a Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Fri, 4 Nov 2011 21:52:37 +0200
Subject: [PATCH] Add note about using GNU tar warning options for base backups

---
 doc/src/sgml/backup.sgml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml
index 737355a911d..96418e2ca03 100644
--- a/doc/src/sgml/backup.sgml
+++ b/doc/src/sgml/backup.sgml
@@ -837,7 +837,9 @@ SELECT pg_stop_backup();
     a fatal error if a file was truncated while <application>tar</> was
     copying it.  Fortunately, GNU <application>tar</> versions 1.16 and
     later exit with 1 if a file was changed during the backup,
-    and 2 for other errors.
+    and 2 for other errors.  With GNU <application>tar</> version 1.23 and
+    later, you can use the warning options <literal>--warning=no-file-changed
+    --warning=no-file-removed</literal> to hide the related warning messages.
    </para>
 
    <para>
-- 
GitLab