borg-rlist.1 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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 "2022-11-26" "" "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. A \(dqbarchive\(dq key is therefore not available.
  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. .UNINDENT
  72. .SH EXAMPLES
  73. .INDENT 0.0
  74. .INDENT 3.5
  75. .sp
  76. .nf
  77. .ft C
  78. $ borg rlist
  79. Monday Mon, 2016\-02\-15 19:15:11
  80. repo Mon, 2016\-02\-15 19:26:54
  81. root\-2016\-02\-15 Mon, 2016\-02\-15 19:36:29
  82. newname Mon, 2016\-02\-15 19:50:19
  83. \&...
  84. .ft P
  85. .fi
  86. .UNINDENT
  87. .UNINDENT
  88. .SH NOTES
  89. .SS The FORMAT specifier syntax
  90. .sp
  91. The \fB\-\-format\fP option uses python\(aqs \fI\%format string syntax\fP\&.
  92. .sp
  93. Examples:
  94. .INDENT 0.0
  95. .INDENT 3.5
  96. .sp
  97. .nf
  98. .ft C
  99. $ borg rlist \-\-format \(aq{archive}{NL}\(aq
  100. ArchiveFoo
  101. ArchiveBar
  102. \&...
  103. # {VAR:NUMBER} \- pad to NUMBER columns.
  104. # Strings are left\-aligned, numbers are right\-aligned.
  105. # Note: time columns except \(ga\(gaisomtime\(ga\(ga, \(ga\(gaisoctime\(ga\(ga and \(ga\(gaisoatime\(ga\(ga cannot be padded.
  106. $ borg rlist \-\-format \(aq{archive:36} {time} [{id}]{NL}\(aq /path/to/repo
  107. ArchiveFoo Thu, 2021\-12\-09 10:22:28 [0b8e9a312bef3f2f6e2d0fc110c196827786c15eba0188738e81697a7fa3b274]
  108. \&...
  109. .ft P
  110. .fi
  111. .UNINDENT
  112. .UNINDENT
  113. .sp
  114. The following keys are always available:
  115. .INDENT 0.0
  116. .IP \(bu 2
  117. NEWLINE: OS dependent line separator
  118. .IP \(bu 2
  119. NL: alias of NEWLINE
  120. .IP \(bu 2
  121. NUL: NUL character for creating print0 / xargs \-0 like output, see barchive and bpath keys below
  122. .IP \(bu 2
  123. SPACE
  124. .IP \(bu 2
  125. TAB
  126. .IP \(bu 2
  127. CR
  128. .IP \(bu 2
  129. LF
  130. .UNINDENT
  131. .sp
  132. Keys available only when listing archives in a repository:
  133. .INDENT 0.0
  134. .IP \(bu 2
  135. archive: archive name interpreted as text (might be missing non\-text characters, see barchive)
  136. .IP \(bu 2
  137. name: alias of \(dqarchive\(dq
  138. .IP \(bu 2
  139. barchive: verbatim archive name, can contain any character except NUL
  140. .IP \(bu 2
  141. comment: archive comment interpreted as text (might be missing non\-text characters, see bcomment)
  142. .IP \(bu 2
  143. bcomment: verbatim archive comment, can contain any character except NUL
  144. .IP \(bu 2
  145. id: internal ID of the archive
  146. .IP \(bu 2
  147. start: time (start) of creation of the archive
  148. .IP \(bu 2
  149. time: alias of \(dqstart\(dq
  150. .IP \(bu 2
  151. end: time (end) of creation of the archive
  152. .IP \(bu 2
  153. command_line: command line which was used to create the archive
  154. .IP \(bu 2
  155. hostname: hostname of host on which this archive was created
  156. .IP \(bu 2
  157. username: username of user who created this archive
  158. .UNINDENT
  159. .SH SEE ALSO
  160. .sp
  161. \fIborg\-common(1)\fP
  162. .SH AUTHOR
  163. The Borg Collective
  164. .\" Generated by docutils manpage writer.
  165. .