mirror of
https://github.com/Radarr/Radarr
synced 2025-01-01 12:54:21 +00:00
Fixed: Versioned Backups Not Recognized by BackupFileRegex
This commit is contained in:
parent
eaf7999d70
commit
7a95fb55bd
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ public class BackupService : IBackupService, IExecute<BackupCommand>
|
|||
|
||||
private string _backupTempFolder;
|
||||
|
||||
public static readonly Regex BackupFileRegex = new Regex(@"(nzbdrone|radarr)_backup_[._0-9]+\.zip", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
public static readonly Regex BackupFileRegex = new Regex(@"(nzbdrone|radarr)_backup_v?[._0-9]+\.zip", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
public BackupService(IMainDatabase maindDb,
|
||||
IMakeDatabaseBackup makeDatabaseBackup,
|
||||
|
|
Loading…
Reference in a new issue