浏览代码

Clarify prune behavior for different archive contents

In the online help, explain that archives with different contents need to be
separated via the prefix when pruning to achieve a desired retention policy per
archive set.

Relates to #1824.
Johannes Wienke 9 年之前
父节点
当前提交
3ee019761a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      borg/archiver.py

+ 2 - 0
borg/archiver.py

@@ -1536,6 +1536,8 @@ class Archiver:
         considered for deletion and only those archives count towards the totals
         considered for deletion and only those archives count towards the totals
         specified by the rules.
         specified by the rules.
         Otherwise, *all* archives in the repository are candidates for deletion!
         Otherwise, *all* archives in the repository are candidates for deletion!
+        There is no automatic distinction between archives representing different
+        contents. These need to be distinguished by specifying matching prefixes.
         """)
         """)
         subparser = subparsers.add_parser('prune', parents=[common_parser],
         subparser = subparsers.add_parser('prune', parents=[common_parser],
                                           description=self.do_prune.__doc__,
                                           description=self.do_prune.__doc__,