Export-VBRBackup
Short Description
Exports a backup or restore point files to a selected folder.
Important |
This cmdlet is depricated and will not be supported in the next version of Veeam Backup & Replication. Run the Copy-Item cmdlet instead. |
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Export-VBRBackup [-Backup] <CBackup> [-Dir] <String> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] -OR- Export-VBRBackup [-RestorePoint] <COib> [-Dir] <String> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Detailed Description
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.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Backup | Specifies the backup file you want to export. | True | 1 | False | False |
Restore | Specifies the job object (i.e. a VM) for which you want to export the backup files. | True | 1 | False | False |
Dir | Specifies the path to the folder where you want to copy the files to. | True | 2 | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Example 1
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.
Example 2
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.
Related Commands