Add-VBRHvBackupCopyJob (obsolete)
Short Description
Creates a Hyper-V backup copy job.
Note |
|
This cmdlet is obsolete and only works for creating a simple mode backup copy job. It is recommended to create a new backup job using the |
Platform: Hyper-V
For VMware, run the Add-VBRViBackupCopyJobCreates a VMware backup copy job. This cmdlet is obsolete and only works for creating a simple mode backup copy job. It is recommended to create a new backup job using the Add-VBRBackupCopyJob cmdlet. For Hyper-V, run the Add-VBRHvBackupCopyJob cmdlet. cmdlet.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
WanAcceleratorAdd-VBRHvBackupCopyJob [-Name <String>] [-Description <String>] [-Entity <IHvItem[]>] [-Backup <CBackup[]>]
[-BackupJob <CBackupJob[]>] [-SourceRepository <CBackupRepository[]>] [-Repository <CBackupRepository>]
-SourceAccelerator <CWanAccelerator> [-TargetAccelerator <CWanAccelerator>] [-Force] [-EnableImmediateCopy] [<CommonParameters>]
-
DirectOperationAdd-VBRHvBackupCopyJob [-Name <String>] [-Description <String>] [-Entity <IHvItem[]>] [-Backup <CBackup[]>]
[-BackupJob <CBackupJob[]>] [-SourceRepository <CBackupRepository[]>] [-Repository <CBackupRepository>]
[-DirectOperation] [-Force] [-EnableImmediateCopy] [<CommonParameters>]
Detailed Description
This cmdlet creates a new Hyper-V backup copy job.
You can use VMs, backups or backup jobs as a source for the backup copy job. Veeam will use this data to copy the backups of the needed VMs.
You can transfer data in the following ways:
- Using WAN accelerators. This mode is recommended for off-site backups.
To create and run a backup copy job using WAN accelerators you need to have source and target WAN accelerators created. Run the
Add-VBRWANAcceleratorCreates a new WAN accelerator. cmdlet to create a WAN accelerator. WAN optimization is available only in Veeam Backup & Replication Enterprise Plus, Veeam Universal License Edition. - Directly. With this method, the job sends the data directly to the target backup repository without performing data deduplication. This mode is recommended for on-site backups, or off-site backups using fast connections.
Use an appropriate parameter set for each way.
Note that the backup copy job is created in disabled state. Run the Enable-VBRJobEnables a disabled job. cmdlet to start the job running on the defined schedule.
Note |
|
The cmdlet will not run if the geographic location of the VMs added to the job and the job target repository location do not match. If you still want to run the cmdlet, use the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Backup |
Specifies the array of backups. The cmdlet will add VMs from these backups to the backup copy job.
Accepts the |
|
False |
Named |
True (ByPropertyName) |
|
BackupJob |
Specifies the array of backup jobs. The cmdlet will add VMs processed by these jobs to the backup copy job.
Accepts the |
|
False |
Named |
True (ByPropertyName) |
|
Description |
Specifies the description of the backup copy job. |
|
False |
Named |
False |
|
DirectOperation |
Enables direct operation method sending the data directly to the target backup repository without performing data deduplication.
Note that this parameter is required if the WAN acceleration is not used (the |
|
True |
Named |
False |
|
EnableImmediateCopy |
Defines that the cmdlet will enable the immediate copy mode. If you specify this parameter, Veeam Backup & Replication will copy new restore points and logs as soon as they appear. Otherwise, Veeam Backup & Replication will copy data from backups once per backup copy interval. |
|
False |
Named |
False |
|
Entity |
Specifies the array of VMs you want to add to the backup copy job. Note: You can create a job without source and link it to a backup job after.
Accepts the |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
Force |
Defines that the cmdlet will create a job even if the geographic location of the VMs added to the job and the target backup repository location do not match. |
|
False |
Named |
False |
|
Name |
Specifies the name you want to assign to the backup copy job. |
|
False |
Named |
False |
|
Repository |
Specifies the backup repository to where you want to copy the VM data. Default: default backup repository.
Accepts the |
|
False |
Named |
False |
|
SourceAccelerator |
Specifies the WAN accelerator on the source side.
Note that this parameter is required if the Direct Operation is not used (the
Accepts the |
True |
Named |
False |
|
|
SourceRepository |
Specifies an array of source backup repositories.
Accepts the |
|
False |
Named |
True (ByPropertyName) |
|
TargetAccelerator |
Specifies the WAN accelerator on the target side.
Note that this parameter is required if the WAN acceleration is used (the
Accepts the |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Creating Hyper-V Backup Copy Job with WAN Accelerators
|
This example shows how to create the
Perform the following steps:
|
Example 2. Creating Hyper-V Backup Copy Job with Direct Data Transfer
|
This example shows how to create the
Perform the following steps:
|
Related Commands
Get-VBRWANAcceleratorReturns WAN accelerators.Find-VBRHvEntityReturns Hyper-V objects.Get-VBRBackupReturns backups.Get-VBRJobReturns existing jobs.Get-VBRBackupRepositoryReturns a list of backup repositories.Get-VBRLocationReturns geographic locations created in Veeam Backup & Replication.