diff --git a/@xen-orchestra/backups/_cleanVm.mjs b/@xen-orchestra/backups/_cleanVm.mjs index f6e4e1c303d..b46e86fd9d8 100644 --- a/@xen-orchestra/backups/_cleanVm.mjs +++ b/@xen-orchestra/backups/_cleanVm.mjs @@ -575,7 +575,7 @@ export async function cleanVm( if (mergedSize) { // all disks are now key disk metadata.isVhdDifferencing = {} - for (const id of Object.values(metadata.vdis ?? {})) { + for (const id of Object.keys(metadata.vdis ?? {})) { metadata.isVhdDifferencing[`${id}.vhd`] = false } } diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 9b58041736f..85cb1ffd2c7 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -34,6 +34,7 @@ +- @xen-orchestra/backups patch - @xen-orchestra/web-core minor