From de2c596394c4347b445cdd78db921dd4b501cb6e Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 2 Nov 2021 17:59:08 -0700 Subject: [PATCH] backups: typo this resulted in incomplete backups when there is an app with backups disabled --- CHANGES | 1 + src/backuptask.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index ad74fe7a1..83715cf60 100644 --- a/CHANGES +++ b/CHANGES @@ -2383,4 +2383,5 @@ * mail: fix direction field in eventlog of deferred mails * mail: fix eventlog search * mail: save message-id in eventlog +* backups: fix issue which resulted in incomplete backups when an app has backups disabled diff --git a/src/backuptask.js b/src/backuptask.js index 74751f53f..bf92e3cd5 100644 --- a/src/backuptask.js +++ b/src/backuptask.js @@ -1043,7 +1043,7 @@ async function fullBackup(options, progressCallback) { if (!app.enableBackup) { debug(`fullBackup: skipped backup ${app.fqdn}`); - return; // nothing to backup + continue; // nothing to backup } const startTime = new Date();