Export-VBRBackup (obsolete)
Short Description
Exports a backup or restore point files to a selected folder.
|
Note |
|
This cmdlet is obsolete. Run the Copy-Item cmdlet instead. |
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
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 |
Type |
Required |
Position |
Accept |
|---|---|---|---|---|---|
|
Backup |
Specifies the backup file you want to export. |
Accepts the CBackup object. To get this object, run the Get-VBRBackup cmdlet. |
True |
1 |
False |
|
Restore |
Specifies the job object (i.e. a VM) for which you want to export the backup files. |
Accepts the COib object. To get this object, run the Get-VBRRestorePoint cmdlet. |
True |
1 |
False |
|
Dir |
Specifies the path to the folder where you want to copy the files to. |
String |
True |
2 |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Exporting Backup File to Specific Folder
|
This example shows how to export the backup file to the folder C:\Export.
Perform the following steps:
|
Example 2. Exporting Backup File for Specific VM
|
This example shows how to export the backup file to the folder C:\Export.
Perform the following steps:
|
Related Commands