@xen-orchestra/backups 0.61.1 → 0.61.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.
|
@@ -146,9 +146,9 @@ export const AbstractXapi = class AbstractXapiVmBackupRunner extends Abstract {
|
|
|
146
146
|
if (!settings.bypassVdiChainsCheck) {
|
|
147
147
|
await vm.$assertHealthyVdiChains()
|
|
148
148
|
}
|
|
149
|
-
if (settings.
|
|
149
|
+
if (settings.cbtDestroySnapshotData) {
|
|
150
150
|
try {
|
|
151
|
-
// enable CBT on all disks if
|
|
151
|
+
// enable CBT on all disks if we want to be able to purge snapshot data
|
|
152
152
|
const diskRefs = await xapi.VM_getDisks(vm.$ref)
|
|
153
153
|
await Promise.all(diskRefs.map(diskRef => xapi.callAsync('VDI.enable_cbt', diskRef)))
|
|
154
154
|
} catch (error) {
|
package/disks/RemoteVhd.mjs
CHANGED
|
@@ -94,13 +94,7 @@ export class RemoteVhd extends RandomAccessDisk {
|
|
|
94
94
|
* @returns {Promise<void>}
|
|
95
95
|
*/
|
|
96
96
|
async close() {
|
|
97
|
-
|
|
98
|
-
await this.#dispose()
|
|
99
|
-
} catch (err) {
|
|
100
|
-
if (err.code !== 'EBADF') {
|
|
101
|
-
throw err // handle double dispose
|
|
102
|
-
}
|
|
103
|
-
}
|
|
97
|
+
await this.#dispose()
|
|
104
98
|
}
|
|
105
99
|
|
|
106
100
|
/**
|
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.61.
|
|
11
|
+
"version": "0.61.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.0.1",
|
|
33
|
-
"@xen-orchestra/fs": "^4.
|
|
33
|
+
"@xen-orchestra/fs": "^4.6.0",
|
|
34
34
|
"@xen-orchestra/log": "^0.7.1",
|
|
35
35
|
"@xen-orchestra/template": "^0.1.0",
|
|
36
36
|
"app-conf": "^3.0.0",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"tar": "^6.1.15",
|
|
51
51
|
"uuid": "^9.0.0",
|
|
52
52
|
"value-matcher": "^0.2.0",
|
|
53
|
-
"vhd-lib": "^4.
|
|
54
|
-
"xen-api": "^4.7.
|
|
53
|
+
"vhd-lib": "^4.13.0",
|
|
54
|
+
"xen-api": "^4.7.2",
|
|
55
55
|
"yazl": "^2.5.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|