diff --git a/@xen-orchestra/backups/_runners/_writers/IncrementalRemoteWriter.mjs b/@xen-orchestra/backups/_runners/_writers/IncrementalRemoteWriter.mjs index b4d66e6e5..cb1885a86 100644 --- a/@xen-orchestra/backups/_runners/_writers/IncrementalRemoteWriter.mjs +++ b/@xen-orchestra/backups/_runners/_writers/IncrementalRemoteWriter.mjs @@ -143,8 +143,10 @@ export class IncrementalRemoteWriter extends MixinRemoteWriter(AbstractIncrement let metadataContent = await this._isAlreadyTransferred(timestamp) if (metadataContent !== undefined) { - // @todo : should skip backup while being vigilant to not stuck the forked stream + // skip backup while being vigilant to not stuck the forked stream Task.info('This backup has already been transfered') + Object.values(deltaExport.streams).forEach(stream => stream.destroy()) + return { size: 0 } } const basename = formatFilenameDate(timestamp) diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 46c458c1b..b5f20b8eb 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -33,6 +33,7 @@ +- @xen-orchestra/backups patch - xo-server patch - xo-server-audit patch - xo-web patch