1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 08:16:36 +00:00
restic/changelog/unreleased/issue-3232

12 lines
586 B
Text
Raw Normal View History

2021-01-29 10:29:05 +00:00
Bugfix: Show correct statistics for overlapping targets
A user reported that restic's statistics and progress information during backup
is not correctly calculated when the backup targets (files/dirs to save)
overlap. For example, consider a directory `foo` which contains (among others)
a file `foo/bar`. When `restic backup foo foo/bar` is run, restic counted the
size of the file `foo/bar` twice, so the completeness percentage as well as the
number of files was wrong. This is now corrected.
https://github.com/restic/restic/issues/3232
https://github.com/restic/restic/pull/3243