Add-VBRvCloudJob
Short Description
Creates a Cloud Director backup job.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Add-VBRvCloudJob -Entity <IVcdItem[]> [-Name <String>] [-BackupRepository <CBackupRepository>] [-Description <String>] [-HighPriority] [-TargetBackup <CBackup>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a new Cloud Director backup job.
You should always use Cloud Director backup jobs to back up VMs managed by Cloud Director. If you back up VMs managed by Cloud Director using a regular backup job, Veeam Backup & Replication will perform backup at the level of the underlying vCenter Server and will not capture vApp metadata. As a result, it will not let you restore a fully functioning VM to Cloud Director.
Note that when you create a backup job, you need to run it manually unless you enable a job schedule.
Run the Start-VBRJob cmdlet to start the created job.
Run the Set-VBRJobSchedule cmdlet to set schedule for the job.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Entity | Specifies the array of VMs. The cmdlet will add these VMs to the Cloud Director backup job. | Accepts the IVcdItem[] object. To get this object, run the Find-VBRvCloudEntity cmdlet. | True | Named | True |
Name | Specifies the name you want to assign to the Cloud Director backup job. | String | False | Named | False |
BackupRepository | Specifies the target backup repository. Default: default backup repository. | Accepts the CBackupRepository object. To get this object, run the Get-VBRBackupRepository cmdlet. | False | Named | False |
Description | Specifies the description of the new Cloud Director backup job. | String | False | Named | False |
HighPriority | Defines that Veeam Backup & Replication will prioritize this job higher than other similar jobs and will allocate resources to it in the first place. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
CBackupJob
Examples
Example 1. Adding Cloud Director Backup Job [Using Variable]
This example shows how to create a new Cloud Director backup job.
Perform the following steps:
|
Example 2. Adding Cloud Director Backup Job [Using Pipeline]
This example shows how to create a new Cloud Director backup job. The target is the default backup repository.
Perform the following steps:
|
Related Commands