mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-05 11:08:26 +00:00
docs: add examples for delete (and handle delete after list, before prune), fixes #656
This commit is contained in:
parent
de79ac416a
commit
0b44944b47
1 changed files with 18 additions and 2 deletions
|
@ -312,8 +312,6 @@ Examples
|
||||||
newname Mon, 2016-02-15 19:50:19
|
newname Mon, 2016-02-15 19:50:19
|
||||||
|
|
||||||
|
|
||||||
.. include:: usage/delete.rst.inc
|
|
||||||
|
|
||||||
.. include:: usage/list.rst.inc
|
.. include:: usage/list.rst.inc
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
|
@ -336,6 +334,24 @@ Examples
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
|
.. include:: usage/delete.rst.inc
|
||||||
|
|
||||||
|
Examples
|
||||||
|
~~~~~~~~
|
||||||
|
::
|
||||||
|
|
||||||
|
# delete a single backup archive:
|
||||||
|
$ borg delete /mnt/backup::Monday
|
||||||
|
|
||||||
|
# delete the whole repository and the related local cache:
|
||||||
|
$ borg delete /mnt/backup
|
||||||
|
You requested to completely DELETE the repository *including* all archives it contains:
|
||||||
|
repo Mon, 2016-02-15 19:26:54
|
||||||
|
root-2016-02-15 Mon, 2016-02-15 19:36:29
|
||||||
|
newname Mon, 2016-02-15 19:50:19
|
||||||
|
Type 'YES' if you understand this and want to continue: YES
|
||||||
|
|
||||||
|
|
||||||
.. include:: usage/prune.rst.inc
|
.. include:: usage/prune.rst.inc
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
|
|
Loading…
Add table
Reference in a new issue