]> git.proxmox.com Git - proxmox-backup.git/commit
verify: use same progress as pull
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 30 Nov 2020 15:27:21 +0000 (16:27 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 1 Dec 2020 05:22:55 +0000 (06:22 +0100)
commit7e25b9aaaa6d6d63d3fa86265d56ef9ef1b0766f
treed645a1114b6f4d945f7822f30cb1619c943f6133
parentf867ef9c4a689a482e9a1a7ec530536c356aea8b
verify: use same progress as pull

percentage of verified groups, interpolating based on snapshot count
within the group. in most cases, this will also be closer to 'real'
progress since added snapshots (those which will be verified) in active
backup groups will be roughly evenly distributed, while number of total
snapshots per group will be heavily skewed towards those groups which
have existed the longest, even though most of those old snapshots will
only be re-verified very infrequently.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/api2/admin/datastore.rs
src/backup/verify.rs