diff --git a/docs/internals/frontends.rst b/docs/internals/frontends.rst index 75831c95e..95d91dc50 100644 --- a/docs/internals/frontends.rst +++ b/docs/internals/frontends.rst @@ -328,6 +328,8 @@ command_line Array of strings of the command line that created the archive The note about paths from above applies here as well. +chunker_params + The chunker parameters the archive has been created with. :ref:`borg_info` further has: @@ -363,6 +365,12 @@ The same archive with more information (``borg info --last 1 --json``):: { "archives": [ { + "chunker_params": [ + 13, + 23, + 16, + 4095 + ], "command_line": [ "/home/user/.local/bin/borg", "create", diff --git a/src/borg/archive.py b/src/borg/archive.py index 2a007f736..7d0e196b1 100644 --- a/src/borg/archive.py +++ b/src/borg/archive.py @@ -408,6 +408,7 @@ class Archive: 'hostname': self.metadata.hostname, 'username': self.metadata.username, 'comment': self.metadata.get('comment', ''), + 'chunker_params': self.metadata.get('chunker_params', ''), }) return info