fix(backups): create suspend VDI on correct SR

Introduced by a958fe86d
This commit is contained in:
Julien Fontanet 2023-11-07 15:54:49 +01:00
parent e5be21a590
commit 0d0c38f3b5
2 changed files with 4 additions and 1 deletions

View File

@ -206,7 +206,7 @@ export const importIncrementalVm = defer(async function importIncrementalVm(
[TAG_BASE_DELTA]: undefined,
[TAG_COPY_SRC]: vdi.uuid,
},
sr: mapVdisSrRefs[vdi.uuid] ?? sr.$ref,
SR: mapVdisSrRefs[vdi.uuid] ?? sr.$ref,
})
)
$defer.onFailure(() => suspendVdi.$destroy())

View File

@ -13,6 +13,8 @@
> Users must be able to say: “I had this issue, happy to know it's fixed”
- [Backup/Restore] In case of snapshot with memory, create the suspend VDI on the correct SR instead of the default one
### Packages to release
> When modifying a package, add it here with its release type.
@ -29,6 +31,7 @@
<!--packages-start-->
- @xen-orchestra/backups patch
- xo-server minor
<!--packages-end-->