borg-info.1 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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-INFO" 1 "2022-02-05" "" "borg backup tool"
  31. .SH NAME
  32. borg-info \- Show archive details such as disk space used
  33. .SH SYNOPSIS
  34. .sp
  35. borg [common options] info [options] [REPOSITORY_OR_ARCHIVE]
  36. .SH DESCRIPTION
  37. .sp
  38. This command displays detailed information about the specified archive or repository.
  39. .sp
  40. Please note that the deduplicated sizes of the individual archives do not add
  41. up to the deduplicated size of the repository ("all archives"), because the two
  42. are meaning different things:
  43. .sp
  44. This archive / deduplicated size = amount of data stored ONLY for this archive
  45. = unique chunks of this archive.
  46. All archives / deduplicated size = amount of data stored in the repo
  47. = all chunks in the repository.
  48. .sp
  49. Borg archives can only contain a limited amount of file metadata.
  50. The size of an archive relative to this limit depends on a number of factors,
  51. mainly the number of files, the lengths of paths and other metadata stored for files.
  52. This is shown as \fIutilization of maximum supported archive size\fP\&.
  53. .SH OPTIONS
  54. .sp
  55. See \fIborg\-common(1)\fP for common options of Borg commands.
  56. .SS arguments
  57. .INDENT 0.0
  58. .TP
  59. .B REPOSITORY_OR_ARCHIVE
  60. repository or archive to display information about
  61. .UNINDENT
  62. .SS optional arguments
  63. .INDENT 0.0
  64. .TP
  65. .B \-\-json
  66. format output as JSON
  67. .UNINDENT
  68. .SS Archive filters
  69. .INDENT 0.0
  70. .TP
  71. .BI \-P \ PREFIX\fR,\fB \ \-\-prefix \ PREFIX
  72. only consider archive names starting with this prefix.
  73. .TP
  74. .BI \-a \ GLOB\fR,\fB \ \-\-glob\-archives \ GLOB
  75. only consider archive names matching the glob. sh: rules apply, see "borg help patterns". \fB\-\-prefix\fP and \fB\-\-glob\-archives\fP are mutually exclusive.
  76. .TP
  77. .BI \-\-sort\-by \ KEYS
  78. Comma\-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp
  79. .TP
  80. .BI \-\-first \ N
  81. consider first N archives after other filters were applied
  82. .TP
  83. .BI \-\-last \ N
  84. consider last N archives after other filters were applied
  85. .UNINDENT
  86. .SH EXAMPLES
  87. .INDENT 0.0
  88. .INDENT 3.5
  89. .sp
  90. .nf
  91. .ft C
  92. $ borg info /path/to/repo::2017\-06\-29T11:00\-srv
  93. Archive name: 2017\-06\-29T11:00\-srv
  94. Archive fingerprint: b2f1beac2bd553b34e06358afa45a3c1689320d39163890c5bbbd49125f00fe5
  95. Comment:
  96. Hostname: myhostname
  97. Username: root
  98. Time (start): Thu, 2017\-06\-29 11:03:07
  99. Time (end): Thu, 2017\-06\-29 11:03:13
  100. Duration: 5.66 seconds
  101. Number of files: 17037
  102. Command line: /usr/sbin/borg create /path/to/repo::2017\-06\-29T11:00\-srv /srv
  103. Utilization of max. archive size: 0%
  104. \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
  105. Original size Compressed size Deduplicated size
  106. This archive: 12.53 GB 12.49 GB 1.62 kB
  107. All archives: 121.82 TB 112.41 TB 215.42 GB
  108. Unique chunks Total chunks
  109. Chunk index: 1015213 626934122
  110. $ borg info /path/to/repo \-\-last 1
  111. Archive name: 2017\-06\-29T11:00\-srv
  112. Archive fingerprint: b2f1beac2bd553b34e06358afa45a3c1689320d39163890c5bbbd49125f00fe5
  113. Comment:
  114. Hostname: myhostname
  115. Username: root
  116. Time (start): Thu, 2017\-06\-29 11:03:07
  117. Time (end): Thu, 2017\-06\-29 11:03:13
  118. Duration: 5.66 seconds
  119. Number of files: 17037
  120. Command line: /usr/sbin/borg create /path/to/repo::2017\-06\-29T11:00\-srv /srv
  121. Utilization of max. archive size: 0%
  122. \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
  123. Original size Compressed size Deduplicated size
  124. This archive: 12.53 GB 12.49 GB 1.62 kB
  125. All archives: 121.82 TB 112.41 TB 215.42 GB
  126. Unique chunks Total chunks
  127. Chunk index: 1015213 626934122
  128. $ borg info /path/to/repo
  129. Repository ID: d857ce5788c51272c61535062e89eac4e8ef5a884ffbe976e0af9d8765dedfa5
  130. Location: /path/to/repo
  131. Encrypted: Yes (repokey)
  132. Cache: /root/.cache/borg/d857ce5788c51272c61535062e89eac4e8ef5a884ffbe976e0af9d8765dedfa5
  133. Security dir: /root/.config/borg/security/d857ce5788c51272c61535062e89eac4e8ef5a884ffbe976e0af9d8765dedfa5
  134. \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
  135. Original size Compressed size Deduplicated size
  136. All archives: 121.82 TB 112.41 TB 215.42 GB
  137. Unique chunks Total chunks
  138. Chunk index: 1015213 626934122
  139. .ft P
  140. .fi
  141. .UNINDENT
  142. .UNINDENT
  143. .SH SEE ALSO
  144. .sp
  145. \fIborg\-common(1)\fP, \fIborg\-list(1)\fP, \fIborg\-diff(1)\fP
  146. .SH AUTHOR
  147. The Borg Collective
  148. .\" Generated by docutils manpage writer.
  149. .