Issue: 4942: cmd_rewrite: add snapshot summary data to an existing snapshot. (#5185)

Co-authored-by: Michael Eischer <michael.eischer@fau.de>
This commit is contained in:
Winfried Plappert
2025-02-05 19:40:20 +00:00
committed by GitHub
parent 060a44202f
commit 4104a8e6a5
5 changed files with 87 additions and 16 deletions

View File

@@ -332,6 +332,10 @@ command, see :ref:`backup-excluding-files` for details.
It is possible to rewrite only a subset of snapshots by filtering them the same
way as for the ``copy`` command, see :ref:`copy-filtering-snapshots`.
The option ``--snapshot-summary`` can be used to attach summary data to existing
snapshots that do not have this information. When a snapshot summary is created
the only fields added are ``TotalFilesProcessed`` and ``TotalBytesProcessed``.
By default, the ``rewrite`` command will keep the original snapshots and create
new ones for every snapshot which was modified during rewriting. The new
snapshots are marked with the tag ``rewrite`` to differentiate them from the