diff --git a/src/backupcleaner.js b/src/backupcleaner.js index 1abe90cf6..1828ad858 100644 --- a/src/backupcleaner.js +++ b/src/backupcleaner.js @@ -242,11 +242,11 @@ async function cleanupSnapshots(backupConfig) { const info = safe.JSON.parse(contents); if (!info) return; - delete info.box; - const progressCallback = (progress) => { debug(`cleanupSnapshots: ${progress.message}`); }; for (const appId of Object.keys(info)) { + if (appId === 'box' || appId === 'mail') continue; + const app = await apps.get(appId); if (app) continue; // app is still installed