info.rst.inc 8.1 KB

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