info.rst.inc 7.6 KB

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