borg-rlist.1 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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-RLIST" 1 "2023-09-14" "" "borg backup tool"
  31. .SH NAME
  32. borg-rlist \- List the archives contained in a repository
  33. .SH SYNOPSIS
  34. .sp
  35. borg [common options] rlist [options]
  36. .SH DESCRIPTION
  37. .sp
  38. This command lists the archives contained in a repository.
  39. .SH OPTIONS
  40. .sp
  41. See \fIborg\-common(1)\fP for common options of Borg commands.
  42. .SS options
  43. .INDENT 0.0
  44. .TP
  45. .B \-\-consider\-checkpoints
  46. Show checkpoint archives in the repository contents list (default: hidden).
  47. .TP
  48. .B \-\-short
  49. only print the archive names, nothing else
  50. .TP
  51. .BI \-\-format \ FORMAT
  52. specify format for archive listing (default: \(dq{archive:<36} {time} [{id}]{NL}\(dq)
  53. .TP
  54. .B \-\-json
  55. Format output as JSON. The form of \fB\-\-format\fP is ignored, but keys used in it are added to the JSON output. Some keys are always present. Note: JSON can only represent text.
  56. .UNINDENT
  57. .SS Archive filters
  58. .INDENT 0.0
  59. .TP
  60. .BI \-a \ PATTERN\fR,\fB \ \-\-match\-archives \ PATTERN
  61. only consider archive names matching the pattern. see \(dqborg help match\-archives\(dq.
  62. .TP
  63. .BI \-\-sort\-by \ KEYS
  64. Comma\-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp
  65. .TP
  66. .BI \-\-first \ N
  67. consider first N archives after other filters were applied
  68. .TP
  69. .BI \-\-last \ N
  70. consider last N archives after other filters were applied
  71. .TP
  72. .BI \-\-oldest \ TIMESPAN
  73. consider archives between the oldest archive\(aqs timestamp and (oldest + TIMESPAN), e.g. 7d or 12m.
  74. .TP
  75. .BI \-\-newest \ TIMESPAN
  76. consider archives between the newest archive\(aqs timestamp and (newest \- TIMESPAN), e.g. 7d or 12m.
  77. .TP
  78. .BI \-\-older \ TIMESPAN
  79. consider archives older than (now \- TIMESPAN), e.g. 7d oder 12m.
  80. .TP
  81. .BI \-\-newer \ TIMESPAN
  82. consider archives newer than (now \- TIMESPAN), e.g. 7d or 12m.
  83. .UNINDENT
  84. .SH EXAMPLES
  85. .INDENT 0.0
  86. .INDENT 3.5
  87. .sp
  88. .nf
  89. .ft C
  90. $ borg rlist
  91. Monday Mon, 2016\-02\-15 19:15:11
  92. repo Mon, 2016\-02\-15 19:26:54
  93. root\-2016\-02\-15 Mon, 2016\-02\-15 19:36:29
  94. newname Mon, 2016\-02\-15 19:50:19
  95. \&...
  96. .ft P
  97. .fi
  98. .UNINDENT
  99. .UNINDENT
  100. .SH NOTES
  101. .SS The FORMAT specifier syntax
  102. .sp
  103. The \fB\-\-format\fP option uses python\(aqs \fI\%format string syntax\fP\&.
  104. .sp
  105. Examples:
  106. .INDENT 0.0
  107. .INDENT 3.5
  108. .sp
  109. .nf
  110. .ft C
  111. $ borg rlist \-\-format \(aq{archive}{NL}\(aq
  112. ArchiveFoo
  113. ArchiveBar
  114. \&...
  115. # {VAR:NUMBER} \- pad to NUMBER columns.
  116. # Strings are left\-aligned, numbers are right\-aligned.
  117. # Note: time columns except \(ga\(gaisomtime\(ga\(ga, \(ga\(gaisoctime\(ga\(ga and \(ga\(gaisoatime\(ga\(ga cannot be padded.
  118. $ borg rlist \-\-format \(aq{archive:36} {time} [{id}]{NL}\(aq /path/to/repo
  119. ArchiveFoo Thu, 2021\-12\-09 10:22:28 [0b8e9...3b274]
  120. \&...
  121. .ft P
  122. .fi
  123. .UNINDENT
  124. .UNINDENT
  125. .sp
  126. The following keys are always available:
  127. .INDENT 0.0
  128. .IP \(bu 2
  129. NEWLINE: OS dependent line separator
  130. .IP \(bu 2
  131. NL: alias of NEWLINE
  132. .IP \(bu 2
  133. NUL: NUL character for creating print0 / xargs \-0 like output
  134. .IP \(bu 2
  135. SPACE: space character
  136. .IP \(bu 2
  137. TAB: tab character
  138. .IP \(bu 2
  139. CR: carriage return character
  140. .IP \(bu 2
  141. LF: line feed character
  142. .UNINDENT
  143. .sp
  144. Keys available only when listing archives in a repository:
  145. .INDENT 0.0
  146. .IP \(bu 2
  147. archive: archive name
  148. .IP \(bu 2
  149. name: alias of \(dqarchive\(dq
  150. .IP \(bu 2
  151. comment: archive comment
  152. .IP \(bu 2
  153. id: internal ID of the archive
  154. .IP \(bu 2
  155. tam: TAM authentication state of this archive
  156. .IP \(bu 2
  157. start: time (start) of creation of the archive
  158. .IP \(bu 2
  159. time: alias of \(dqstart\(dq
  160. .IP \(bu 2
  161. end: time (end) of creation of the archive
  162. .IP \(bu 2
  163. command_line: command line which was used to create the archive
  164. .IP \(bu 2
  165. hostname: hostname of host on which this archive was created
  166. .IP \(bu 2
  167. username: username of user who created this archive
  168. .IP \(bu 2
  169. size: size of this archive (data plus metadata, not considering compression and deduplication)
  170. .IP \(bu 2
  171. nfiles: count of files in this archive
  172. .UNINDENT
  173. .SH SEE ALSO
  174. .sp
  175. \fIborg\-common(1)\fP
  176. .SH AUTHOR
  177. The Borg Collective
  178. .\" Generated by docutils manpage writer.
  179. .