Skip to content

Commit

Permalink
Fixed: Cleanup Temp files after backup creation
Browse files Browse the repository at this point in the history
[common]

Fixes #6815
  • Loading branch information
Qstick committed Mar 30, 2022
1 parent c8cdf03 commit 7f0b708
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NzbDrone.Core/Backup/BackupService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ public void Backup(BackupType backupType)

_archiveService.CreateZip(backupPath, _diskProvider.GetFiles(_backupTempFolder, SearchOption.TopDirectoryOnly));

Cleanup();

_logger.ProgressDebug("Backup zip created");
}

Expand Down

0 comments on commit 7f0b708

Please sign in to comment.