info.rst.inc 9.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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] [NAME]
  7. .. only:: html
  8. .. class:: borg-options-table
  9. +-----------------------------------------------------------------------------+----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  10. | **positional arguments** |
  11. +-----------------------------------------------------------------------------+----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  12. | | ``NAME`` | specify the archive name |
  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. | | ``-a PATTERN``, ``--match-archives PATTERN`` | only consider archives matching all patterns. see "borg help match-archives". |
  25. +-----------------------------------------------------------------------------+----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  26. | | ``--sort-by KEYS`` | Comma-separated list of sorting keys; valid keys are: timestamp, archive, name, id, tags, host, user; default is: timestamp |
  27. +-----------------------------------------------------------------------------+----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  28. | | ``--first N`` | consider first N archives after other filters were applied |
  29. +-----------------------------------------------------------------------------+----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  30. | | ``--last N`` | consider last N archives after other filters were applied |
  31. +-----------------------------------------------------------------------------+----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  32. | | ``--oldest TIMESPAN`` | consider archives between the oldest archive's timestamp and (oldest + TIMESPAN), e.g. 7d or 12m. |
  33. +-----------------------------------------------------------------------------+----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  34. | | ``--newest TIMESPAN`` | consider archives between the newest archive's timestamp and (newest - TIMESPAN), e.g. 7d or 12m. |
  35. +-----------------------------------------------------------------------------+----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  36. | | ``--older TIMESPAN`` | consider archives older than (now - TIMESPAN), e.g. 7d or 12m. |
  37. +-----------------------------------------------------------------------------+----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  38. | | ``--newer TIMESPAN`` | consider archives newer than (now - TIMESPAN), e.g. 7d or 12m. |
  39. +-----------------------------------------------------------------------------+----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  40. .. raw:: html
  41. <script type='text/javascript'>
  42. $(document).ready(function () {
  43. $('.borg-options-table colgroup').remove();
  44. })
  45. </script>
  46. .. only:: latex
  47. NAME
  48. specify the archive name
  49. options
  50. --json format output as JSON
  51. :ref:`common_options`
  52. |
  53. Archive filters
  54. -a PATTERN, --match-archives PATTERN only consider archives matching all patterns. see "borg help match-archives".
  55. --sort-by KEYS Comma-separated list of sorting keys; valid keys are: timestamp, archive, name, id, tags, host, user; default is: timestamp
  56. --first N consider first N archives after other filters were applied
  57. --last N consider last N archives after other filters were applied
  58. --oldest TIMESPAN consider archives between the oldest archive's timestamp and (oldest + TIMESPAN), e.g. 7d or 12m.
  59. --newest TIMESPAN consider archives between the newest archive's timestamp and (newest - TIMESPAN), e.g. 7d or 12m.
  60. --older TIMESPAN consider archives older than (now - TIMESPAN), e.g. 7d or 12m.
  61. --newer TIMESPAN consider archives newer than (now - TIMESPAN), e.g. 7d or 12m.
  62. Description
  63. ~~~~~~~~~~~
  64. This command displays detailed information about the specified archive.
  65. Please note that the deduplicated sizes of the individual archives do not add
  66. up to the deduplicated size of the repository ("all archives"), because the two
  67. are meaning different things:
  68. This archive / deduplicated size = amount of data stored ONLY for this archive
  69. = unique chunks of this archive.
  70. All archives / deduplicated size = amount of data stored in the repo
  71. = all chunks in the repository.