mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 09:19:31 +00:00
20 lines
496 B
ReStructuredText
20 lines
496 B
ReStructuredText
.. include:: delete.rst.inc
|
|
|
|
Examples
|
|
~~~~~~~~
|
|
::
|
|
|
|
# delete a single backup archive:
|
|
$ borg delete Monday
|
|
# actually free disk space:
|
|
$ borg compact
|
|
|
|
# delete all archives whose names begin with the machine's hostname followed by "-"
|
|
$ borg delete -a '{hostname}-*'
|
|
|
|
# delete all archives whose names contain "-2012-"
|
|
$ borg delete -a '*-2012-*'
|
|
|
|
# see what would be deleted if delete was run without --dry-run
|
|
$ borg delete --list --dry-run -a '*-May-*'
|
|
|