borg-undelete.1 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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-UNDELETE" "1" "2025-05-19" "" "borg backup tool"
  31. .SH NAME
  32. borg-undelete \- Undelete archives
  33. .SH SYNOPSIS
  34. .sp
  35. borg [common options] undelete [options] [NAME]
  36. .SH DESCRIPTION
  37. .sp
  38. This command undeletes archives in the repository.
  39. .sp
  40. Important: Undeleting archives is only possible before compacting.
  41. Once \fBborg compact\fP has run, all disk space occupied only by the
  42. soft\-deleted archives will be freed and undelete is not possible
  43. anymore.
  44. .sp
  45. When in doubt, use \fB\-\-dry\-run \-\-list\fP to see what would be undeleted.
  46. .sp
  47. You can undelete multiple archives by specifying a matching pattern,
  48. using the \fB\-\-match\-archives PATTERN\fP option (for more info on these patterns,
  49. see \fIborg_patterns\fP).
  50. .SH OPTIONS
  51. .sp
  52. See \fIborg\-common(1)\fP for common options of Borg commands.
  53. .SS arguments
  54. .INDENT 0.0
  55. .TP
  56. .B NAME
  57. specify the archive name
  58. .UNINDENT
  59. .SS options
  60. .INDENT 0.0
  61. .TP
  62. .B \-n\fP,\fB \-\-dry\-run
  63. do not change repository
  64. .TP
  65. .B \-\-list
  66. output verbose list of archives
  67. .UNINDENT
  68. .SS Archive filters
  69. .INDENT 0.0
  70. .TP
  71. .BI \-a \ PATTERN\fR,\fB \ \-\-match\-archives \ PATTERN
  72. only consider archives matching all patterns. see \(dqborg help match\-archives\(dq.
  73. .TP
  74. .BI \-\-sort\-by \ KEYS
  75. Comma\-separated list of sorting keys; valid keys are: timestamp, archive, name, id, tags, host, user; default is: timestamp
  76. .TP
  77. .BI \-\-first \ N
  78. consider first N archives after other filters were applied
  79. .TP
  80. .BI \-\-last \ N
  81. consider last N archives after other filters were applied
  82. .TP
  83. .BI \-\-oldest \ TIMESPAN
  84. consider archives between the oldest archive\(aqs timestamp and (oldest + TIMESPAN), e.g. 7d or 12m.
  85. .TP
  86. .BI \-\-newest \ TIMESPAN
  87. consider archives between the newest archive\(aqs timestamp and (newest \- TIMESPAN), e.g. 7d or 12m.
  88. .TP
  89. .BI \-\-older \ TIMESPAN
  90. consider archives older than (now \- TIMESPAN), e.g. 7d or 12m.
  91. .TP
  92. .BI \-\-newer \ TIMESPAN
  93. consider archives newer than (now \- TIMESPAN), e.g. 7d or 12m.
  94. .UNINDENT
  95. .SH SEE ALSO
  96. .sp
  97. \fIborg\-common(1)\fP
  98. .SH AUTHOR
  99. The Borg Collective
  100. .\" Generated by docutils manpage writer.
  101. .