mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-21 23:33:07 +00:00
delete/prune: add hint about undelete
This commit is contained in:
parent
a48a8d2bea
commit
72b1a8ea04
2 changed files with 10 additions and 3 deletions
|
@ -64,8 +64,11 @@ def build_parser_delete(self, subparsers, common_parser, mid_common_parser):
|
|||
"""
|
||||
This command deletes archives from the repository.
|
||||
|
||||
Important: When deleting archives, repository disk space is **not** freed until
|
||||
you run ``borg compact``.
|
||||
Important:
|
||||
|
||||
- Repository disk space is **not** freed until you run ``borg compact``.
|
||||
- You can use ``borg undelete`` to undelete archives, but only until
|
||||
you run ``borg compact``.
|
||||
|
||||
When in doubt, use ``--dry-run --list`` to see what would be deleted.
|
||||
|
||||
|
|
|
@ -215,7 +215,11 @@ def build_parser_prune(self, subparsers, common_parser, mid_common_parser):
|
|||
The prune command prunes a repository by deleting all archives not matching
|
||||
any of the specified retention options.
|
||||
|
||||
Important: Repository disk space is **not** freed until you run ``borg compact``.
|
||||
Important:
|
||||
|
||||
- Repository disk space is **not** freed until you run ``borg compact``.
|
||||
- You can use ``borg undelete`` to undelete archives, but only until
|
||||
you run ``borg compact``.
|
||||
|
||||
This command is normally used by automated backup scripts wanting to keep a
|
||||
certain number of historic backups. This retention policy is commonly referred to as
|
||||
|
|
Loading…
Reference in a new issue