Browse Source

Merge pull request #5239 from fantasya-pbem/docs/5193_Recreate-exclude-if-present-1.1

docs: clarify --exclude-if-present in recreate, #5193
TW 5 years ago
parent
commit
b4dd9c5188
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/borg/archiver.py

+ 4 - 3
src/borg/archiver.py

@@ -3928,9 +3928,10 @@ class Archiver:
 
         This is an *experimental* feature. Do *not* use this on your only backup.
 
-        ``--exclude``, ``--exclude-from``, ``--exclude-if-present``, ``--keep-exclude-tags``, and PATH
-        have the exact same semantics as in "borg create". If PATHs are specified the
-        resulting archive will only contain files from these PATHs.
+        ``--exclude``, ``--exclude-from``, ``--exclude-if-present``, ``--keep-exclude-tags``
+        and PATH have the exact same semantics as in "borg create", but they only check
+        for files in the archives and not in the local file system. If PATHs are specified,
+        the resulting archives will only contain files from these PATHs.
 
         Note that all paths in an archive are relative, therefore absolute patterns/paths
         will *not* match (``--exclude``, ``--exclude-from``, PATHs).