borg-repo-delete.1 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .
  4. .nr rst2man-indent-level 0
  5. .
  6. .de1 rstReportMargin
  7. \\$1 \\n[an-margin]
  8. level \\n[rst2man-indent-level]
  9. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  10. -
  11. \\n[rst2man-indent0]
  12. \\n[rst2man-indent1]
  13. \\n[rst2man-indent2]
  14. ..
  15. .de1 INDENT
  16. .\" .rstReportMargin pre:
  17. . RS \\$1
  18. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  19. . nr rst2man-indent-level +1
  20. .\" .rstReportMargin post:
  21. ..
  22. .de UNINDENT
  23. . RE
  24. .\" indent \\n[an-margin]
  25. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  26. .nr rst2man-indent-level -1
  27. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  28. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  29. ..
  30. .TH "BORG-REPO-DELETE" "1" "2025-05-22" "" "borg backup tool"
  31. .SH NAME
  32. borg-repo-delete \- Delete a repository
  33. .SH SYNOPSIS
  34. .sp
  35. borg [common options] repo\-delete [options]
  36. .SH DESCRIPTION
  37. .sp
  38. This command deletes the complete repository.
  39. .sp
  40. When you delete a complete repository, the security info and local cache for it
  41. (if any) are also deleted. Alternatively, you can delete just the local cache
  42. with the \fB\-\-cache\-only\fP option, or keep the security info with the
  43. \fB\-\-keep\-security\-info\fP option.
  44. .sp
  45. Always first use \fB\-\-dry\-run \-\-list\fP to see what would be deleted.
  46. .SH OPTIONS
  47. .sp
  48. See \fIborg\-common(1)\fP for common options of Borg commands.
  49. .SS options
  50. .INDENT 0.0
  51. .TP
  52. .B \-n\fP,\fB \-\-dry\-run
  53. do not change repository
  54. .TP
  55. .B \-\-list
  56. output verbose list of archives
  57. .TP
  58. .B \-\-force
  59. force deletion of corrupted archives, use \fB\-\-force \-\-force\fP in case \fB\-\-force\fP does not work.
  60. .TP
  61. .B \-\-cache\-only
  62. delete only the local cache for the given repository
  63. .TP
  64. .B \-\-keep\-security\-info
  65. keep the local security info when deleting a repository
  66. .UNINDENT
  67. .SH EXAMPLES
  68. .INDENT 0.0
  69. .INDENT 3.5
  70. .sp
  71. .EX
  72. # delete the whole repository and the related local cache:
  73. $ borg repo\-delete
  74. You requested to DELETE the repository completely *including* all archives it contains:
  75. repo Mon, 2016\-02\-15 19:26:54
  76. root\-2016\-02\-15 Mon, 2016\-02\-15 19:36:29
  77. newname Mon, 2016\-02\-15 19:50:19
  78. Type \(aqYES\(aq if you understand this and want to continue: YES
  79. .EE
  80. .UNINDENT
  81. .UNINDENT
  82. .SH SEE ALSO
  83. .sp
  84. \fIborg\-common(1)\fP
  85. .SH AUTHOR
  86. The Borg Collective
  87. .\" Generated by docutils manpage writer.
  88. .