瀏覽代碼

Merge pull request #4882 from miguno/master

Document how to test exclusion patterns without performing an actual backup
TW 5 年之前
父節點
當前提交
d56e321413
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/borg/archiver.py

+ 3 - 0
src/borg/archiver.py

@@ -2126,6 +2126,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':