Skip to main content
Question

need to EXPORT VM from Capacity Tier to file


  • New Here
  • 1 comment

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: (:) [Export-VBRBackup], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Veeam.Backup.PowerShell.Cmdlets.ExportVBRBackup

 

 

2 comments

  • Author
  • New Here
  • 1 comment
  • September 5, 2024

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 )

 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8489 comments
  • September 5, 2024

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