mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-24 22:37:06 -04:00
Fixed regex in Backup list
This commit is contained in:
parent
3cbdd6bfd3
commit
93b20960b8
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ namespace NzbDrone.Core.Backup
|
||||||
|
|
||||||
private string _backupTempFolder;
|
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,
|
public BackupService(IMainDatabase maindDb,
|
||||||
IMakeDatabaseBackup makeDatabaseBackup,
|
IMakeDatabaseBackup makeDatabaseBackup,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue