@xen-orchestra/backups 0.21.1 → 0.22.0

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/_VmBackup.js CHANGED
@@ -181,6 +181,7 @@ class VmBackup {
181
181
  }
182
182
 
183
183
  const snapshotRef = await vm[settings.checkpointSnapshot ? '$checkpoint' : '$snapshot']({
184
+ ignoreNobakVdis: true,
184
185
  name_label: this._getSnapshotNameLabel(vm),
185
186
  })
186
187
  this.timestamp = Date.now()
package/_deltaVm.js CHANGED
@@ -65,17 +65,6 @@ exports.exportDeltaVm = async function exportDeltaVm(
65
65
  return
66
66
  }
67
67
 
68
- // If the VDI name start with `[NOBAK]`, do not export it.
69
- if (vdi.name_label.startsWith('[NOBAK]')) {
70
- // FIXME: find a way to not create the VDI snapshot in the
71
- // first time.
72
- //
73
- // The snapshot must not exist otherwise it could break the
74
- // next export.
75
- ignoreErrors.call(vdi.$destroy())
76
- return
77
- }
78
-
79
68
  vbds[vbd.$ref] = vbd
80
69
 
81
70
  const vdiRef = vdi.$ref
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.21.1",
11
+ "version": "0.22.0",
12
12
  "engines": {
13
13
  "node": ">=14.6"
14
14
  },
@@ -45,7 +45,7 @@
45
45
  "tmp": "^0.2.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@xen-orchestra/xapi": "^0.10.0"
48
+ "@xen-orchestra/xapi": "^0.11.0"
49
49
  },
50
50
  "license": "AGPL-3.0-or-later",
51
51
  "author": {