borg-info.1 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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" "2025-04-18" "" "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 (\(dqall archives\(dq), 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 options
  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. (deprecated)
  73. .TP
  74. .BI \-a \ GLOB\fR,\fB \ \-\-glob\-archives \ GLOB
  75. only consider archive names matching the glob. sh: rules apply (without actually using the sh: prefix), see \(dqborg help patterns\(dq.
  76. .TP
  77. .BI \-\-sort\-by \ KEYS
  78. Comma\-separated list of sorting keys; valid keys are: timestamp, archive, 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. .EX
  91. $ borg info /path/to/repo::2017\-06\-29T11:00\-srv
  92. Archive name: 2017\-06\-29T11:00\-srv
  93. Archive fingerprint: b2f1beac2bd553b34e06358afa45a3c1689320d39163890c5bbbd49125f00fe5
  94. Comment:
  95. Hostname: myhostname
  96. Username: root
  97. Time (start): Thu, 2017\-06\-29 11:03:07
  98. Time (end): Thu, 2017\-06\-29 11:03:13
  99. Duration: 5.66 seconds
  100. Number of files: 17037
  101. Command line: /usr/sbin/borg create /path/to/repo::2017\-06\-29T11:00\-srv /srv
  102. Utilization of max. archive size: 0%
  103. \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
  104. Original size Compressed size Deduplicated size
  105. This archive: 12.53 GB 12.49 GB 1.62 kB
  106. All archives: 121.82 TB 112.41 TB 215.42 GB
  107. Unique chunks Total chunks
  108. Chunk index: 1015213 626934122
  109. $ borg info /path/to/repo \-\-last 1
  110. Archive name: 2017\-06\-29T11:00\-srv
  111. Archive fingerprint: b2f1beac2bd553b34e06358afa45a3c1689320d39163890c5bbbd49125f00fe5
  112. Comment:
  113. Hostname: myhostname
  114. Username: root
  115. Time (start): Thu, 2017\-06\-29 11:03:07
  116. Time (end): Thu, 2017\-06\-29 11:03:13
  117. Duration: 5.66 seconds
  118. Number of files: 17037
  119. Command line: /usr/sbin/borg create /path/to/repo::2017\-06\-29T11:00\-srv /srv
  120. Utilization of max. archive size: 0%
  121. \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
  122. Original size Compressed size Deduplicated size
  123. This archive: 12.53 GB 12.49 GB 1.62 kB
  124. All archives: 121.82 TB 112.41 TB 215.42 GB
  125. Unique chunks Total chunks
  126. Chunk index: 1015213 626934122
  127. $ borg info /path/to/repo
  128. Repository ID: d857ce5788c51272c61535062e89eac4e8ef5a884ffbe976e0af9d8765dedfa5
  129. Location: /path/to/repo
  130. Encrypted: Yes (repokey)
  131. Cache: /root/.cache/borg/d857ce5788c51272c61535062e89eac4e8ef5a884ffbe976e0af9d8765dedfa5
  132. Security dir: /root/.config/borg/security/d857ce5788c51272c61535062e89eac4e8ef5a884ffbe976e0af9d8765dedfa5
  133. \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
  134. Original size Compressed size Deduplicated size
  135. All archives: 121.82 TB 112.41 TB 215.42 GB
  136. Unique chunks Total chunks
  137. Chunk index: 1015213 626934122
  138. .EE
  139. .UNINDENT
  140. .UNINDENT
  141. .SH SEE ALSO
  142. .sp
  143. \fIborg\-common(1)\fP, \fIborg\-list(1)\fP, \fIborg\-diff(1)\fP
  144. .SH AUTHOR
  145. The Borg Collective
  146. .\" Generated by docutils manpage writer.
  147. .