dataplat / dbatools

🚀 SQL Server automation and instance migrations have never been safer, faster or freer
https://dbatools.io
MIT License
2.44k stars 796 forks source link

Get-DbaBackupInformation is not reading values for "IsCopyOnly" attribute. #9294

Closed david-garcia-garcia closed 6 months ago

david-garcia-garcia commented 6 months ago

Purpose

Get-DbaBackupInformation is not properly reading the CopyOnly attribute from the backup headers.

Commands to test

Get-DbaBackupInformation and Read-DbaBackupHeader on a CopyOnly backup, there will be differences in the output.

Screenshots

Before the fix:

image

After the fix:

image

potatoqualitee commented 6 months ago

Thanks so much 🙇🏼