From 10760471e0a50f7d6f062e51252ba18c12f67a34 Mon Sep 17 00:00:00 2001 From: Qstick Date: Tue, 29 Mar 2022 22:26:25 -0500 Subject: [PATCH] Fixed: Cleanup Temp files after backup creation (cherry picked from commit 7f0b708cb9f16a0116199625a2a5b4e67049be6a) --- src/NzbDrone.Core/Backup/BackupService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Backup/BackupService.cs b/src/NzbDrone.Core/Backup/BackupService.cs index 0fdc94792..8f7b96801 100644 --- a/src/NzbDrone.Core/Backup/BackupService.cs +++ b/src/NzbDrone.Core/Backup/BackupService.cs @@ -90,6 +90,8 @@ namespace NzbDrone.Core.Backup _archiveService.CreateZip(backupPath, _diskProvider.GetFiles(_backupTempFolder, SearchOption.TopDirectoryOnly)); + Cleanup(); + _logger.ProgressDebug("Backup zip created"); }