Add-VBRSureBackupJob
Short Description
Creates a SureBackup job.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRSureBackupJob -VirtualLab <VBRVirtualLab> [-Name <String>] [-Description <String>] [-ApplicationGroup <VBRApplicationGroup>] [-KeepApplicationGroupRunning] [-LinkedJob <VBRSureBackupLinkedJob[]>] [-MaxConcurrentVMs <Int32>] [-ProcessRandomMachines] [-VerificationOptions <VBRSureBackupJobVerificationOptions>] [-ScheduleOptions <VBRSureBackupJobScheduleOptions>] [-Force] [-RandomMachinesMaxCount <Int32>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a SureBackup job.
Note that when you create a backup job, you need to run it manually unless you enable a job schedule.
Run the Start-VBRSureBackupJobStarts the SureBackup job. cmdlet to run the job manually.
Run the New-VBRSureBackupJobScheduleOptionsDefines a SureBackup job schedule. to set schedule for the job.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ApplicationGroup |
Specifies an application group. Veeam Backup & Replication will use this application group to use for recovery verification.
Note: You must specify either the
Accepts the |
|
False |
Named |
False |
|
Description |
Specifies a description for a SureBackup job. The cmdlet will create a SureBackup job with this description. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will not show any warnings. |
|
False |
Named |
False |
|
KeepApplicationGroupRunning |
Defines that VMs from an application group will run after the SureBackup job finishes. If you provide this parameter, the application group will not be powered off when the SureBackup job finishes. Otherwise, the application group will be powered off. |
|
False |
Named |
False |
|
LinkedJob |
Specifies a backup or replication job. The cmdlet will verify VMs that are added to this job with the SureBackup job.
Note: You must specify either the
Accepts the |
|
False |
Named |
False |
|
MaxConcurrentVMs |
Specifies the maximum number of VMs that can be started at the same time. |
|
False |
Named |
False |
|
Name |
Specifies a name for a SureBackup job. The cmdlet will create a SureBackup job with this name. |
|
False |
Named |
False |
|
ProcessRandomMachines |
Defines that the cmdlet will randomly test the specified number of machines from the linked job.
Use the |
|
False |
Named |
False |
|
RandomMachinesMaxCount |
Specifies the number of machines to randomly test during each run. The cmdlet will randomly test the specified number of machines from the linked job. |
|
False |
Named |
False |
|
ScheduleOptions |
Specifies schedule settings of a SureBackup job. Veeam Backup & Replication will run the job according to these settings.
Accepts the |
|
False |
Named |
False |
|
VerificationOptions |
Specifies additional settings for the SureBackup job.
Accepts the |
|
False |
Named |
False |
|
VirtualLab |
Specifies a virtual lab. The cmdlet will use this virtual lab to verify VMs.
Accepts the |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRSureBackupJob object that defines settings of SureBackup jobs.
Examples
Example 1. Adding SureBackup Job
|
This example shows how to create a SureBackup job.
Perform the following steps:
|
Example 2. Adding SureBackup Job with Application Group
|
This example shows how to create a SureBackup job that will use the Exchange Group 3 application group for recovery verification. Veeam Backup & Replication will keep VMs from an application group running after the SureBackup job finishes.
Perform the following steps:
|
Example 3. Adding SureBackup Job with Recovery Verification Options
|
This example shows how to create a SureBackup job with recovery verification options.
Perform the following steps:
|
Related Commands
Get-VBRVirtualLabReturns virtual labs with main settings.Get-VBRApplicationGroupReturns VMware and Hyper-V application groups.New-VBRSureBackupJobVerificationOptionsDefines verification settings for the SureBackup job.