New-VBRSureBackupLinkedJob
Short Description
Defines jobs linked with the SureBackup job.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRSureBackupLinkedJob -Job <CBackupJob> [-Role <VBRSureBackupRole[]>] [-TestScript <VBRSureBackupTestScript[]>] [-StartupOptions <VBRSureBackupStartupOptions>] [-Credentials <CCredentials>] [-VM <VBRSureBackupVM[]>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRSureBackupLinkedJob object that defines jobs linked with the SureBackup job.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Credentials |
Specifies credentials. The cmdlet will use these credentials to authenticate against the VM and to run a recovery verification script. |
|
False |
Named |
False |
|
Job |
Specify a backup or replication job. Veeam Backup & Replication will verify VMs from this job with the SureBackup job.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Role |
Specifies a role that VM from the linked job performs. You can specify either of the following roles:
|
|
False |
Named |
False |
|
StartupOptions |
Specifies startup settings for VMs from the linked job.
Accepts the |
|
False |
Named |
False |
|
TestScript |
Specifies recovery verification scripts for VMs from the linked job.
Accepts the |
|
False |
Named |
False |
|
VM |
Specifies an array of VMs. The cmdlet will run a verification script on these VMs.
Accepts the |
|
False |
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 VBRSureBackupLinkedJob object that defines jobs linked with the SureBackup job.
Examples
Example 1. Defining Linked Job with Verification Script
|
This example shows how to define a linked job that will be verified with the SureBackup job. Veeam Backup & Replication will run a verification script to verify the VM with the Global Catalog role has up and running applications for this role.
Perform the following steps:
|
Example 2. Defining Linked Job with Startup Options
|
This example shows how to define a linked job that will be verified with the SureBackup job. Veeam Backup & Replication will run a verification script to verify the VM with the Global Catalog role has up and running applications for this role.
Perform the following steps:
|
Related Commands
Get-VBRJobReturns existing jobs.New-VBRSureBackupStartupOptionsDefines startup settings for VMs.New-VBRSureBackupTestScriptDefines recovery verification scripts for VMs.