mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-27 10:58:34 +01:00
Fixed: Cleanup Temp files after backup creation
Fixes #925 (cherry picked from commit 7f0b708cb9f16a0116199625a2a5b4e67049be6a)
This commit is contained in:
parent
6ab226c43a
commit
1dbf35deb5
1 changed files with 2 additions and 0 deletions
|
|
@ -90,6 +90,8 @@ public void Backup(BackupType backupType)
|
|||
|
||||
_archiveService.CreateZip(backupPath, _diskProvider.GetFiles(_backupTempFolder, SearchOption.TopDirectoryOnly));
|
||||
|
||||
Cleanup();
|
||||
|
||||
_logger.ProgressDebug("Backup zip created");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue