diff --git a/SemanticBackup.Infrastructure/BackgroundJobs/BackupBackgroundJob.cs b/SemanticBackup.Infrastructure/BackgroundJobs/BackupBackgroundJob.cs index 57a3369..7fbc215 100644 --- a/SemanticBackup.Infrastructure/BackgroundJobs/BackupBackgroundJob.cs +++ b/SemanticBackup.Infrastructure/BackgroundJobs/BackupBackgroundJob.cs @@ -168,11 +168,7 @@ private async Task StartInDepthDeleteForAsync(BackupRecord backupRecord, List supportedInDepthDelete = [BackupDeliveryConfigTypes.Dropbox.ToString(), BackupDeliveryConfigTypes.AzureBlobStorage.ToString()]; - List supportedDeliveryRecords = [.. rmBackupRecords.Where(x => supportedInDepthDelete.Contains(x.DeliveryType))]; - if (supportedDeliveryRecords == null || supportedDeliveryRecords.Count == 0) - return; - foreach (BackupRecordDelivery deliveryRecord in supportedDeliveryRecords) + foreach (BackupRecordDelivery deliveryRecord in rmBackupRecords) { if (deliveryRecord.DeliveryType == BackupDeliveryConfigTypes.Dropbox.ToString()) { diff --git a/SemanticBackup/Configs/appsettings.Development.json b/SemanticBackup/Configs/appsettings.Development.json index 236f0f2..edae64c 100644 --- a/SemanticBackup/Configs/appsettings.Development.json +++ b/SemanticBackup/Configs/appsettings.Development.json @@ -7,7 +7,6 @@ } }, "SystemConfigOptions": { - "IsLinuxEnv": false, "DefaultBackupDirectory": "c:\\backups\\", "BackupFileSaveFormat": "{{database}}\\{{database}}-{{datetime}}.{{databasetype}}.bak", "ExecutionTimeoutInMinutes": 10, diff --git a/SemanticBackup/Configs/appsettings.Docker.json b/SemanticBackup/Configs/appsettings.Docker.json index fc401ee..b7f568c 100644 --- a/SemanticBackup/Configs/appsettings.Docker.json +++ b/SemanticBackup/Configs/appsettings.Docker.json @@ -7,7 +7,6 @@ } }, "SystemConfigOptions": { - "IsLinuxEnv": true, "DefaultBackupDirectory": "/backups", "BackupFileSaveFormat": "{{database}}-{{datetime}}.{{databasetype}}.bak", "ExecutionTimeoutInMinutes": 10, diff --git a/SemanticBackup/Configs/appsettings.json b/SemanticBackup/Configs/appsettings.json index 6b1fcfc..9b93fe2 100644 --- a/SemanticBackup/Configs/appsettings.json +++ b/SemanticBackup/Configs/appsettings.json @@ -8,7 +8,6 @@ }, "AllowedHosts": "*", "SystemConfigOptions": { - "IsLinuxEnv": true, "DefaultBackupDirectory": "c:\\backups\\", "BackupFileSaveFormat": "{{database}}\\{{database}}-{{datetime}}.{{databasetype}}.bak", "ExecutionTimeoutInMinutes": 10, diff --git a/SemanticBackup/SemanticBackup.csproj b/SemanticBackup/SemanticBackup.csproj index 036c7e9..598fe65 100644 --- a/SemanticBackup/SemanticBackup.csproj +++ b/SemanticBackup/SemanticBackup.csproj @@ -4,8 +4,8 @@ net8.0 98e83838-8ab0-44d3-a023-52d80ba01705 Linux - 5.2.1.2 - 5.2.1.2 + 5.2.1.3 + 5.2.1.3