1234567891011121314151617181920 |
- .. include:: delete.rst.inc
- Examples
- ~~~~~~~~
- ::
- # delete a single backup archive:
- $ borg delete -a Monday
- # actually free disk space:
- $ borg compact
- # delete all archives whose names begin with the machine's hostname followed by "-"
- $ borg delete -a 'sh:{hostname}-*'
- # delete all archives whose names contain "-2012-"
- $ borg delete -a 'sh:*-2012-*'
- # see what would be deleted if delete was run without --dry-run
- $ borg delete --list --dry-run -a 'sh:*-May-*'
|