@xen-orchestra/backups 0.54.2 → 0.54.3
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.
package/HealthCheckVmBackup.mjs
CHANGED
|
@@ -59,8 +59,8 @@ export class HealthCheckVmBackup {
|
|
|
59
59
|
const running = new Date()
|
|
60
60
|
remainingTimeout -= running - started
|
|
61
61
|
|
|
62
|
-
// wait for the guest
|
|
63
|
-
await xapi.waitObjectState(restoredVm.guest_metrics, gm => gm?.
|
|
62
|
+
// wait for the guest tools to be detected
|
|
63
|
+
await xapi.waitObjectState(restoredVm.guest_metrics, gm => gm?.PV_drivers_detected, {
|
|
64
64
|
timeout: remainingTimeout,
|
|
65
65
|
timeoutMessage: refOrUuid =>
|
|
66
66
|
`timeout reached while waiting for ${refOrUuid} to report the driver version through the Xen tools. Please check or update the Xen tools.`,
|
|
@@ -91,9 +91,11 @@ export const IncrementalXapi = class IncrementalXapiVmBackupRunner extends Abstr
|
|
|
91
91
|
'writer.updateUuidAndChain()'
|
|
92
92
|
)
|
|
93
93
|
|
|
94
|
-
if (
|
|
94
|
+
if (isFull) {
|
|
95
|
+
await setVmDeltaChainLength(this._xapi, exportedVm.$ref, 0)
|
|
96
|
+
} else {
|
|
95
97
|
await setVmDeltaChainLength(this._xapi, exportedVm.$ref, (this._deltaChainLength ?? 0) + 1)
|
|
96
|
-
}
|
|
98
|
+
}
|
|
97
99
|
|
|
98
100
|
// not the case if offlineBackup
|
|
99
101
|
if (exportedVm.is_a_snapshot) {
|
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.54.
|
|
11
|
+
"version": "0.54.3",
|
|
12
12
|
"engines": {
|
|
13
13
|
"node": ">=14.18"
|
|
14
14
|
},
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"@vates/decorate-with": "^2.1.0",
|
|
26
26
|
"@vates/disposable": "^0.1.6",
|
|
27
27
|
"@vates/fuse-vhd": "^2.1.2",
|
|
28
|
-
"@vates/nbd-client": "^3.1.
|
|
28
|
+
"@vates/nbd-client": "^3.1.2",
|
|
29
29
|
"@vates/parse-duration": "^0.1.1",
|
|
30
30
|
"@xen-orchestra/async-map": "^0.1.2",
|
|
31
31
|
"@xen-orchestra/fs": "^4.2.1",
|
|
32
|
-
"@xen-orchestra/log": "^0.7.
|
|
32
|
+
"@xen-orchestra/log": "^0.7.1",
|
|
33
33
|
"@xen-orchestra/template": "^0.1.0",
|
|
34
34
|
"app-conf": "^3.0.0",
|
|
35
35
|
"compare-versions": "^6.0.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"tmp": "^0.2.1"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@xen-orchestra/xapi": "^7.7.
|
|
61
|
+
"@xen-orchestra/xapi": "^7.7.1"
|
|
62
62
|
},
|
|
63
63
|
"license": "AGPL-3.0-or-later",
|
|
64
64
|
"author": {
|