info.rst.inc 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
  2. .. _borg_info:
  3. borg info
  4. ---------
  5. .. code-block:: none
  6. borg [common options] info [options] [REPOSITORY_OR_ARCHIVE]
  7. .. only:: html
  8. .. class:: borg-options-table
  9. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  10. | **positional arguments** |
  11. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  12. | | ``REPOSITORY_OR_ARCHIVE`` | repository or archive to display information about |
  13. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  14. | **options** |
  15. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  16. | | ``--json`` | format output as JSON |
  17. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  18. | .. class:: borg-common-opt-ref |
  19. | |
  20. | :ref:`common_options` |
  21. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  22. | **Archive filters** — Archive filters can be applied to repository targets. |
  23. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  24. | | ``-P PREFIX``, ``--prefix PREFIX`` | only consider archive names starting with this prefix. (deprecated) |
  25. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  26. | | ``-a GLOB``, ``--glob-archives GLOB`` | only consider archive names matching the glob. sh: rules apply (without actually using the sh: prefix), see "borg help patterns". |
  27. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  28. | | ``--sort-by KEYS`` | Comma-separated list of sorting keys; valid keys are: timestamp, archive, name, id; default is: timestamp |
  29. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  30. | | ``--first N`` | consider first N archives after other filters were applied |
  31. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  32. | | ``--last N`` | consider last N archives after other filters were applied |
  33. +-----------------------------------------------------------------------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  34. .. raw:: html
  35. <script type='text/javascript'>
  36. $(document).ready(function () {
  37. $('.borg-options-table colgroup').remove();
  38. })
  39. </script>
  40. .. only:: latex
  41. REPOSITORY_OR_ARCHIVE
  42. repository or archive to display information about
  43. options
  44. --json format output as JSON
  45. :ref:`common_options`
  46. |
  47. Archive filters
  48. -P PREFIX, --prefix PREFIX only consider archive names starting with this prefix. (deprecated)
  49. -a GLOB, --glob-archives GLOB only consider archive names matching the glob. sh: rules apply (without actually using the sh: prefix), see "borg help patterns".
  50. --sort-by KEYS Comma-separated list of sorting keys; valid keys are: timestamp, archive, name, id; default is: timestamp
  51. --first N consider first N archives after other filters were applied
  52. --last N consider last N archives after other filters were applied
  53. Description
  54. ~~~~~~~~~~~
  55. This command displays detailed information about the specified archive or repository.
  56. Please note that the deduplicated sizes of the individual archives do not add
  57. up to the deduplicated size of the repository ("all archives"), because the two
  58. are meaning different things:
  59. This archive / deduplicated size = amount of data stored ONLY for this archive
  60. = unique chunks of this archive.
  61. All archives / deduplicated size = amount of data stored in the repo
  62. = all chunks in the repository.
  63. Borg archives can only contain a limited amount of file metadata.
  64. The size of an archive relative to this limit depends on a number of factors,
  65. mainly the number of files, the lengths of paths and other metadata stored for files.
  66. This is shown as *utilization of maximum supported archive size*.