]> git.proxmox.com Git - proxmox-backup.git/commit - src/api2/backup.rs
backup: only allow finished backups as base snapshot
authorStefan Reiter <s.reiter@proxmox.com>
Tue, 4 Aug 2020 10:42:00 +0000 (12:42 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 7 Aug 2020 05:32:56 +0000 (07:32 +0200)
commit4dbe129284009aa502f2207003955fecc60a1618
treeb6ba1f82fa26d679341f50161af7211e8e837271
parent747c3bc0874b5390b4e4587fc4577a988a8e3641
backup: only allow finished backups as base snapshot

If the datastore holds broken backups for some reason, do not attempt to
base following snapshots on those. This would lead to an error on
/previous, leaving the client no choice but to upload all chunks, even
though there might be potential for incremental savings.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
src/api2/backup.rs
src/backup/backup_info.rs