Add-VSBJob (obsolete)
Short Description
Creates a VMware SureBackup job.
Note |
This cmdlet is obsolete. Run the Add-VBRSureBackupJob cmdlet instead. |
Applies to
Platform: VMware
For Hyper-V, run the Add-VSBHvJob cmdlet.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Add-VSBJob [-Name <String>] -VirtualLab <CViSbVirtualLab> [-AppGroup <CSbAppGroup>] [-LinkedJob <CBackupJob[]>] [-Description <String>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a new VMware SureBackup job.
To add VMs that you want to verify to the SureBackup job, you can use an application group containing the list of VMs, or link a backup job which will act as a VM container.
Note that if you link a backup job, the SureBackup job will verify all VMs added to the linked job.
When you create a SureBackup job, you need to run it manually unless you enable a job schedule.
Run the Start-VSBJob cmdlet to start the created SureBackup job.
Run the Set-VSBJobScheduleOptions cmdlet to set schedule for the SureBackup job.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Name | Specifies the name you want to assign to the SureBackup job. | String | False | Named | False |
VirtualLab | Specifies the virtual lab you want to use for verification. | Accepts the CViSbVirtualLab object. To get this object, run the Get-VSBVirtualLab cmdlet. | True | Named | True (ByValue, |
AppGroup | Specifies the application group you want to use to provide the copy of the production environment of the verified VM. If you do not use an application group, make sure that the LinkedJob parameter is set. | Accepts the CSbAppGroup object. To get this object, run the Get-VSBApplicationGroup cmdlet. | False | Named | True (ByValue, |
LinkedJob | Specifies the array of backup, replication or copy jobs containing VM you want to verify. If you do not use a linked backup job, make sure that the AppGroup parameter is set. | Accepts the CBackupJob[] object. To get this object, run the Get-VBRJob cmdlet. | False | Named | True (ByValue, |
Description | Specifies the description of the new SureBackup job. | String | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Creating SureBackup Job Using Virtual Lab, Application Group and Linked Job [Using Pipeline]
This example shows how to create the Exchange SureJob SureBackup job using a virtual lab, an application group and a linked job.
Perform the following steps:
|
Example 2. Creating SureBackup Job Using Virtual Lab and Application Group [Using Variable]
This example shows how to create the Exchange SureJob SureBackup job using a virtual lab and an application group.
Perform the following steps:
|
Example 3. Creating SureBackup Job Using Virtual Lab and Application Group [Using Pipeline]
This example shows how to create the Exchange SureJob SureBackup job using a virtual lab and an application group.
Perform the following steps:
|
Example 4. Creating SureBackup Job Using Virtual Lab and Linked Job [Using Variable]
This example shows how to create the Exchange SureJob SureBackup job using a virtual lab and a linked job.
Perform the following steps:
|
Related Commands