Skip to content

Commit

Permalink
Update Get-DbaDbBackupHistory.ps1 (#9138)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7FFFFFFFFFFFFFFF authored Oct 29, 2023
1 parent 2d66eb8 commit 0f7bb63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/Get-DbaDbBackupHistory.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ function Get-DbaDbBackupHistory {
$allBackups = @()
$allBackups += $fullDb = Get-DbaDbBackupHistory -SqlInstance $server -Database $db.Name -LastFull -raw:$Raw -DeviceType $DeviceType -IncludeCopyOnly:$IncludeCopyOnly -Since:$since -RecoveryFork $RecoveryFork
if ($null -eq $fullDb) {
Write-Message -Level Verbose -Message "No Backup found for database $($db.Name), skipping"
Write-Message -Level Verbose -Message "No Full Backup found for database $($db.Name), skipping"
continue
}
if (-not $IgnoreDiffBackup) {
Expand Down Expand Up @@ -740,4 +740,4 @@ function Get-DbaDbBackupHistory {
}
}
}
}
}

0 comments on commit 0f7bb63

Please sign in to comment.