From 93b20960b8f640bc6ba2b1e19f488abcdfb1ea6d Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Sun, 8 Dec 2019 11:00:46 +0100 Subject: [PATCH] Fixed regex in Backup list --- src/NzbDrone.Core/Backup/BackupService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Backup/BackupService.cs b/src/NzbDrone.Core/Backup/BackupService.cs index 92e03da88..b43b21818 100644 --- a/src/NzbDrone.Core/Backup/BackupService.cs +++ b/src/NzbDrone.Core/Backup/BackupService.cs @@ -39,7 +39,7 @@ namespace NzbDrone.Core.Backup private string _backupTempFolder; - public static readonly Regex BackupFileRegex = new Regex(@"(nzbdrone|sonarr)_backup_[._0-9]+\.zip", RegexOptions.Compiled | RegexOptions.IgnoreCase); + public static readonly Regex BackupFileRegex = new Regex(@"(nzbdrone|sonarr)_backup_(v[0-9.]+_)?[._0-9]+\.zip", RegexOptions.Compiled | RegexOptions.IgnoreCase); public BackupService(IMainDatabase maindDb, IMakeDatabaseBackup makeDatabaseBackup,