]> git.proxmox.com Git - proxmox-backup.git/commit - src/backup/verify.rs
save last verify result in snapshot manifest
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Aug 2020 15:30:27 +0000 (17:30 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 26 Aug 2020 05:35:13 +0000 (07:35 +0200)
commit3b2046d26348fdacdb4394bf1f609836f76d9e48
treed4bc8d117f562ff454a380bb5b507f6431e8a9f2
parent1ffe0301231024a60088cb787d5eb29a2ee0cbdc
save last verify result in snapshot manifest

Save the state ("ok" or "failed") and the UPID of the respective
verify task. With this we can easily allow to open the relevant task
log and show when the last verify happened.

As we already load the manifest when listing the snapshots, just add
it there directly.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/api2/admin/datastore.rs
src/api2/types/mod.rs
src/backup/verify.rs