Skip to main content

Hello

 

I need to script an exportation of Capacity Tier BAckup

I use this command to get the ID of the lastest backup of a VM ( here frhagfs7 )

 

$moi=Get-VBRSOBRObjectStorageRestorePoint -CapacityTier -name frhagfs7 |  Sort-Object {$_.CreationTime} -Descending | Select-Object -First 1

 

but unfortunatly the export command never works :

Export-VBRBackup -RestorePoint $moi -Dir "E:\TEST"

 

Export-VBRBackup : Cannot bind parameter 'RestorePoint'. Cannot convert the "FRHAGFS7" value of type
"Veeam.Backup.PowerShell.Infos.VBRSOBRObjectStorageRestorePoint" to type "Veeam.Backup.Core.COib".
At line:1 char:32
+ Export-VBRBackup -RestorePoint $moi -Dir "E:\TEST"
+                                ~~~~
    + CategoryInfo          : InvalidArgument: (:) rExport-VBRBackup], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Veeam.Backup.PowerShell.Cmdlets.ExportVBRBackup

 

 

export backup ( from capacity Tier ) to file is possible through the GUI console

 

but it seems impossible to do the same through powershell

 

( we are on Veeam 12 )

 


I think with the GUI it brings the data back to the performance tier in order to export. So unsure if PS would work to do that but will let the experts answer that.


Comment