From 5c41120c7045be2f2fd492b77b46652c395796c1 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Fri, 29 Jan 2021 11:29:05 +0100 Subject: [PATCH] Add entry to changelog --- changelog/unreleased/issue-3232 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 changelog/unreleased/issue-3232 diff --git a/changelog/unreleased/issue-3232 b/changelog/unreleased/issue-3232 new file mode 100644 index 000000000..84aa71999 --- /dev/null +++ b/changelog/unreleased/issue-3232 @@ -0,0 +1,11 @@ +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