borg-delete.1 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH BORG-DELETE 1 "2017-05-17" "" "borg backup tool"
  4. .SH NAME
  5. borg-delete \- Delete an existing repository or archives
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .SH SYNOPSIS
  34. .sp
  35. borg [common options] delete <options> TARGET
  36. .SH DESCRIPTION
  37. .sp
  38. This command deletes an archive from the repository or the complete repository.
  39. Disk space is reclaimed accordingly. If you delete the complete repository, the
  40. local cache for it (if any) is also deleted.
  41. .SH OPTIONS
  42. .sp
  43. See \fIborg\-common(1)\fP for common options of Borg commands.
  44. .SS arguments
  45. .INDENT 0.0
  46. .TP
  47. .B TARGET
  48. archive or repository to delete
  49. .UNINDENT
  50. .SS optional arguments
  51. .INDENT 0.0
  52. .TP
  53. .B \-s\fP,\fB \-\-stats
  54. print statistics for the deleted archive
  55. .TP
  56. .B \-c\fP,\fB \-\-cache\-only
  57. delete only the local cache for the given repository
  58. .TP
  59. .B \-\-force
  60. force deletion of corrupted archives, use \-\-force \-\-force in case \-\-force does not work.
  61. .TP
  62. .B \-\-save\-space
  63. work slower, but using less space
  64. .UNINDENT
  65. .SS filters
  66. .INDENT 0.0
  67. .TP
  68. .B \-P\fP,\fB \-\-prefix
  69. only consider archive names starting with this prefix
  70. .TP
  71. .B \-\-sort\-by
  72. Comma\-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp
  73. .TP
  74. .BI \-\-first \ N
  75. consider first N archives after other filters were applied
  76. .TP
  77. .BI \-\-last \ N
  78. consider last N archives after other filters were applied
  79. .UNINDENT
  80. .SH EXAMPLES
  81. .INDENT 0.0
  82. .INDENT 3.5
  83. .sp
  84. .nf
  85. .ft C
  86. # delete a single backup archive:
  87. $ borg delete /path/to/repo::Monday
  88. # delete the whole repository and the related local cache:
  89. $ borg delete /path/to/repo
  90. You requested to completely DELETE the repository *including* all archives it contains:
  91. repo Mon, 2016\-02\-15 19:26:54
  92. root\-2016\-02\-15 Mon, 2016\-02\-15 19:36:29
  93. newname Mon, 2016\-02\-15 19:50:19
  94. Type \(aqYES\(aq if you understand this and want to continue: YES
  95. .ft P
  96. .fi
  97. .UNINDENT
  98. .UNINDENT
  99. .SH SEE ALSO
  100. .sp
  101. \fIborg\-common(1)\fP
  102. .SH AUTHOR
  103. The Borg Collective
  104. .\" Generated by docutils manpage writer.
  105. .