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

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.
This commit is contained in:
Johannes Wienke 2016-11-10 19:40:08 +01:00
parent 5fecac63a9
commit 3ee019761a

View file

@ -1536,6 +1536,8 @@ def build_parser(self, args=None, prog=None):
considered for deletion and only those archives count towards the totals
specified by the rules.
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],
description=self.do_prune.__doc__,