@xen-orchestra/backups 0.68.1 → 0.68.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -100,7 +100,7 @@ export class IncrementalXapiWriter extends MixinXapiWriter(AbstractIncrementalWr
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
async _deleteOldEntries() {
|
|
103
|
-
return asyncMapSettled(this._oldEntries, vm => vm.$destroy())
|
|
103
|
+
return asyncMapSettled(this._oldEntries, vm => vm.$destroy({ bypassBlockedOperation: true }))
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
#decorateVmMetadata(backup, timestamp) {
|
|
@@ -175,7 +175,7 @@ export class IncrementalXapiWriter extends MixinXapiWriter(AbstractIncrementalWr
|
|
|
175
175
|
const job = this._job
|
|
176
176
|
const scheduleId = this._scheduleId
|
|
177
177
|
const { uuid: srUuid, $xapi: xapi } = sr
|
|
178
|
-
|
|
178
|
+
|
|
179
179
|
let targetVmRef
|
|
180
180
|
await Task.run({ name: 'transfer' }, async () => {
|
|
181
181
|
targetVmRef = await importIncrementalVm(this.#decorateVmMetadata(deltaExport, timestamp), sr)
|
|
@@ -72,7 +72,7 @@ export const MixinXapiWriter = (BaseClass = Object) =>
|
|
|
72
72
|
xapi,
|
|
73
73
|
}).run()
|
|
74
74
|
} finally {
|
|
75
|
-
healthCheckVmRef && (await xapi.VM_destroy(healthCheckVmRef))
|
|
75
|
+
healthCheckVmRef && (await xapi.VM_destroy(healthCheckVmRef, { bypassBlockedOperation: true }))
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
)
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/vatesfr/xen-orchestra.git"
|
|
10
10
|
},
|
|
11
|
-
"version": "0.68.
|
|
11
|
+
"version": "0.68.2",
|
|
12
12
|
"engines": {
|
|
13
13
|
"node": ">=14.18"
|
|
14
14
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@vates/parse-duration": "^0.1.1",
|
|
31
31
|
"@xen-orchestra/async-map": "^0.1.2",
|
|
32
32
|
"@xen-orchestra/disk-transform": "^1.2.1",
|
|
33
|
-
"@xen-orchestra/fs": "^4.6.
|
|
33
|
+
"@xen-orchestra/fs": "^4.6.6",
|
|
34
34
|
"@xen-orchestra/log": "^0.7.1",
|
|
35
35
|
"@xen-orchestra/qcow2": "^1.1.2",
|
|
36
36
|
"@xen-orchestra/template": "^0.1.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"tmp": "^0.2.1"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@xen-orchestra/xapi": "^8.6.
|
|
65
|
+
"@xen-orchestra/xapi": "^8.6.6"
|
|
66
66
|
},
|
|
67
67
|
"license": "AGPL-3.0-or-later",
|
|
68
68
|
"author": {
|