Browse Source

Document how to test exclusion patterns without performing an actual backup

Michael G. Noll 5 years ago
parent
commit
da08c0e9b8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/borg/archiver.py

+ 3 - 0
src/borg/archiver.py

@@ -2265,6 +2265,9 @@ class Archiver:
         whitespace removal paths with whitespace at the beginning or end can only be
         whitespace removal paths with whitespace at the beginning or end can only be
         excluded using regular expressions.
         excluded using regular expressions.
 
 
+        To test your exclusion patterns without performing an actual backup you can
+        run ``borg create --list --dry-run ...``.
+
         Examples::
         Examples::
 
 
             # Exclude '/home/user/file.o' but not '/home/user/file.odt':
             # Exclude '/home/user/file.o' but not '/home/user/file.odt':