1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 09:47:58 +00:00

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

docs: clarify --exclude-if-present in recreate, #5193
This commit is contained in:
TW 2020-06-29 21:18:12 +02:00 committed by GitHub
commit 5b5bd9f7f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4092,9 +4092,10 @@ def define_borg_mount(parser):
Important: Repository disk space is **not** freed until you run ``borg compact``.
``--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).