mirror of
https://git.proxmox.com/git/proxmox-backup-qemu
synced 2025-10-04 22:11:27 +00:00
ignore missing or bad previous index
This is not a fatal condition, it just means that we cannot do incremental backups client-side. This can happen if a new disk was added the a VM since the last backup for example. Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
parent
58d1ab0bd4
commit
2d0a8bea2c
@ -114,7 +114,11 @@ pub(crate) async fn register_image(
|
|||||||
|
|
||||||
let index = match manifest {
|
let index = match manifest {
|
||||||
Some(manifest) => {
|
Some(manifest) => {
|
||||||
Some(client.download_previous_fixed_index(&archive_name, &manifest, known_chunks.clone()).await?)
|
match client.download_previous_fixed_index(&archive_name, &manifest, known_chunks.clone()).await {
|
||||||
|
Ok(index) => Some(index),
|
||||||
|
// not having a previous index is not fatal, so ignore errors
|
||||||
|
Err(_) => None
|
||||||
|
}
|
||||||
},
|
},
|
||||||
None => None
|
None => None
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user