@xen-orchestra/backups 0.63.0 → 0.64.1
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.
|
@@ -13,6 +13,8 @@ import { Task } from '../../Task.mjs'
|
|
|
13
13
|
|
|
14
14
|
export const AbstractRemote = class AbstractRemoteVmBackupRunner extends Abstract {
|
|
15
15
|
_filterPredicate
|
|
16
|
+
_hasTransferredData
|
|
17
|
+
|
|
16
18
|
constructor({
|
|
17
19
|
config,
|
|
18
20
|
job,
|
|
@@ -141,7 +143,16 @@ export const AbstractRemote = class AbstractRemoteVmBackupRunner extends Abstrac
|
|
|
141
143
|
})
|
|
142
144
|
}, 'writer.beforeBackup()')
|
|
143
145
|
await this._run()
|
|
144
|
-
|
|
146
|
+
|
|
147
|
+
if (this._hasTransferredData === undefined) {
|
|
148
|
+
throw new Error('Missing tag to check there are some transferred data')
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
if (this._hasTransferredData) {
|
|
152
|
+
await this._healthCheck()
|
|
153
|
+
} else {
|
|
154
|
+
Task.info(`No healthCheck needed because no data was transferred.`)
|
|
155
|
+
}
|
|
145
156
|
})
|
|
146
157
|
}
|
|
147
158
|
}
|
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.
|
|
11
|
+
"version": "0.64.1",
|
|
12
12
|
"engines": {
|
|
13
13
|
"node": ">=14.18"
|
|
14
14
|
},
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"@vates/disposable": "^0.1.6",
|
|
27
27
|
"@vates/fuse-vhd": "^2.1.2",
|
|
28
28
|
"@vates/generator-toolbox": "^1.0.4",
|
|
29
|
-
"@vates/nbd-client": "^3.1
|
|
29
|
+
"@vates/nbd-client": "^3.2.1",
|
|
30
30
|
"@vates/parse-duration": "^0.1.1",
|
|
31
31
|
"@xen-orchestra/async-map": "^0.1.2",
|
|
32
32
|
"@xen-orchestra/disk-transform": "^1.1.0",
|
|
33
|
-
"@xen-orchestra/fs": "^4.6.
|
|
33
|
+
"@xen-orchestra/fs": "^4.6.3",
|
|
34
34
|
"@xen-orchestra/log": "^0.7.1",
|
|
35
35
|
"@xen-orchestra/qcow2": "^1.0.0",
|
|
36
36
|
"@xen-orchestra/template": "^0.1.0",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"tar": "^6.1.15",
|
|
52
52
|
"uuid": "^9.0.0",
|
|
53
53
|
"value-matcher": "^0.2.0",
|
|
54
|
-
"vhd-lib": "^4.14.
|
|
55
|
-
"xen-api": "^4.7.
|
|
54
|
+
"vhd-lib": "^4.14.1",
|
|
55
|
+
"xen-api": "^4.7.4",
|
|
56
56
|
"yazl": "^2.5.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"tmp": "^0.2.1"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@xen-orchestra/xapi": "^8.
|
|
65
|
+
"@xen-orchestra/xapi": "^8.4.0"
|
|
66
66
|
},
|
|
67
67
|
"license": "AGPL-3.0-or-later",
|
|
68
68
|
"author": {
|