Merge pull request #667 from ThomasWaldmann/add-delete-docs

docs: add examples for delete (and handle delete after list, …
This commit is contained in:
TW 2016-02-17 01:00:51 +01:00
commit 89b2421ed4
1 changed files with 18 additions and 2 deletions

View File

@ -312,8 +312,6 @@ Examples
newname Mon, 2016-02-15 19:50:19
.. include:: usage/delete.rst.inc
.. include:: usage/list.rst.inc
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
Examples