mirror of
https://github.com/restic/restic.git
synced 2025-11-03 03:41:30 +00:00
stats: hardlinks only reduce restore within a snapshot
The `stats` command checks inodes to not count hardlinked files multiple times into the restore size. This check applies across all snapshots and not only within snapshots. As a result the result size was far too low when calculating it for multiple snapshots and it would vary depending on the order in which snapshots were listed.
This commit is contained in:
8
changelog/unreleased/issue-3736
Normal file
8
changelog/unreleased/issue-3736
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: `stats` fix restore size calculation for multiple snapshots
|
||||
|
||||
Since restic 0.10.0 the restore size calculated by the `stats` command for
|
||||
multiple snapshots was too low. The hardlink detection was accidentally applied
|
||||
across multiple snapshots and thus ignored many files. This has been fixed.
|
||||
|
||||
https://github.com/restic/restic/issues/3736
|
||||
https://github.com/restic/restic/pull/3740
|
||||
Reference in New Issue
Block a user