Winfried Plappert 4104a8e6a5
Issue: 4942: cmd_rewrite: add snapshot summary data to an existing snapshot. (#5185)
Co-authored-by: Michael Eischer <michael.eischer@fau.de>
2025-02-05 20:40:20 +01:00

12 lines
537 B
Plaintext

Enhancement: support creating snapshot summary statistics for old snapshots
When `rewrite` is used with the `--snapshot-summary` option, a new snapshot is
created containing statistics summary data. Only two fields in the summary will
be non-zero: `TotalFilesProcessed` and `TotalBytesProcessed`.
When rewrite is called with one of the `--exclude` options, `TotalFilesProcessed`
and `TotalBytesProcessed` will be updated in the snapshot summary.
https://github.com/restic/restic/issues/4942
https://github.com/restic/restic/pull/5185