Merge pull request #3915 from plumbeo/compression-stats

restic stats: print uncompressed size in mode raw-data
This commit is contained in:
Michael Eischer
2022-10-21 22:10:29 +02:00
committed by GitHub
2 changed files with 49 additions and 8 deletions

View File

@@ -0,0 +1,9 @@
Enhancement: add compression statistics to the restic stats command
When executed in `raw-data` mode on a repository that supports compression, the `restic stats`
command now calculates and displays, for the selected repository or snapshots, the uncompressed
size of the data, the compression progress (percentage of data that has been compressed), the
compression ratio of the compressed data and the total space saving, taking into account both
the compressed and uncompressed data if the repository is only partially compressed.
https://github.com/restic/restic/pull/3915