Exports a backup or restore point files to a selected folder.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Export-VBRBackup [-Backup] <CBackup> [-Dir] <String> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
Export-VBRBackup [-RestorePoint] <COib> [-Dir] <String> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
This cmdlet copies a selected backup files to a user-specified directory.
You can copy a whole backup file or select backups for a specific job object. The job objects are VMs, VM containers, datastores or resource pools.
Specifies the backup file you want to export.
Specifies the job object (i.e. a VM) for which you want to export the backup files.
Specifies the path to the folder where you want to copy the files to.
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
This command exports the backup file represented by the $ADbackup variable to the folder "C:\Export". The backup file to export is obtained with Get-VBRBackup and assigned to the variable beforehand.
PS C:\PS> Export-VBRBackup -Backup $ADbackup -Dir "C:\Export"
This command exports the backup file for a specific VM represented by the $AD_local variable to the folder "C:\Export". The backup file to export is obtained with Get-VBRRestorePoint and assigned to the variable beforehand.
PS C:\PS> Export-VBRBackup -RestorePoint $AD_local -Dir "C:\Export"