diff --git a/backup.ps1 b/backup.ps1 index b9c1ce4..d6c911a 100644 --- a/backup.ps1 +++ b/backup.ps1 @@ -532,7 +532,7 @@ function Get-BackupType($directoryParam) { $reason = if ($isFullBackupOverdue) { "overdue" } else { "scheduled" } return @{ Type = "FULL"; CleanupTime = 168; Reason = $reason } } else { - return @{ Type = "LOG"; CleanupTime = 24; Reason = "full already taken today" } + return @{ Type = "LOG"; CleanupTime = 48; Reason = "full already taken today" } } } @@ -563,7 +563,7 @@ function Get-BackupType($directoryParam) { } return @{ Type = "DIFF"; CleanupTime = 168; Reason = "differential scheduled" } } else { - return @{ Type = "LOG"; CleanupTime = 24; Reason = "diff already taken today" } + return @{ Type = "LOG"; CleanupTime = 48; Reason = "diff already taken today" } } }