fix(backups): really skip already transferred backups

This commit is contained in:
Florent Beauchamp 2024-02-13 09:09:53 +00:00 committed by Julien Fontanet
parent 1023131828
commit 810cdc1a77
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -33,6 +33,7 @@
<!--packages-start-->
- @xen-orchestra/backups patch
- xo-server patch
- xo-server-audit patch
- xo-web patch