Im creating a powershell script to retrieve all the info as shown in the GUI of the Backup To Tape jobs.
I have a problem getting the info of the backups' size in the "Backups" section of the GUI.
I can get the size using the:
Code: Select all
Get-VBRRestorePoint -Backup (Get-VBRBackup -Name $bkpToTape.Object.Name)
But another problem arises is when in the GUI the selected job's backups includes only the latest chain of backups, not all the chains. So that means a different size than when using the
Code: Select all
Get-VBRRestorePoint
The problem is that the size as in the GUI cannot be retrieved directly from the object:
Code: Select all
(Get-VBRTapeJob -Name "test job").Object.Size
Any help is appreciated, thank you
