Commit b87f095
Test-DbaLastBackup - Fix -Path workflow restore failure
Set TrustDbBackupHistory to true for -Path workflow since backup
history objects from Get-DbaBackupInformation are valid and should
not be re-processed. Fixes type conversion issue where Select-Object
converts BackupHistory to PSCustomObject, causing Restore-DbaDatabase
to misinterpret them as file paths.
(do Test-DbaLastBackup)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 5cce09f commit b87f095
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | | - | |
| 521 | + | |
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| |||
0 commit comments