Fixed: Versioned Backups Not Recognized by BackupFileRegex

pull/2/head
Qstick 5 years ago
parent eaf7999d70
commit 7a95fb55bd

@ -39,7 +39,7 @@ namespace NzbDrone.Core.Backup
private string _backupTempFolder; 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, public BackupService(IMainDatabase maindDb,
IMakeDatabaseBackup makeDatabaseBackup, IMakeDatabaseBackup makeDatabaseBackup,

Loading…
Cancel
Save