info.rst.inc 5.9 KB

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