Open potatoqualitee opened 1 year ago
BackupMedia.MediaName
uses physical_device_name
https://github.com/microsoft/sqlmanagementobjects/blob/d6f3e68fe6fae09d22355a160baa525d8032fd64/src/Microsoft/SqlServer/Management/Smo/BackupMedia.cs#L53C26-L53C26
I think these types are only accessible from a BackupRestorePlanner
instance in Smo.Extended but I'm not 100% certain how these classes work.
Did we miss any sort of property or method that would show the Path in the Backup History? We ended up using a bunch of T-SQL in
Get-DbaBackupHistory
as seen in the Path (mediafamily.physical_device_name
) property seen below.