]> git.proxmox.com Git - proxmox-backup.git/commit - src/backup/verify.rs
verify: keep track and log which dirs failed the verification
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 30 Jul 2020 07:09:05 +0000 (09:09 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 30 Jul 2020 07:39:37 +0000 (09:39 +0200)
commitadfdc36936640dce7f3097ec15bf8e5215f5d57a
treec227bd05753fd9acdc96cbb1ac746cfabcd9a4ef
parentd8594d87f1d01b0faf4e82788871064bddf62852
verify: keep track and log which dirs failed the verification

so that we can print a list at the end of the worker which backups
are corrupt.

this is useful if there are many snapshots and some in between had an
error. Before this patch, the task log simply says to 'look in the logs'
but if the log is very long it makes it hard to see what exactly failed.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/api2/admin/datastore.rs
src/backup/verify.rs