New-VBRSureBackupJobScheduleOptions
Short Description
Defines a SureBackup job schedule.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRSureBackupJobScheduleOptions -Type <VBRSbJobScheduleType> [-DailyOptions <VBRDailyOptions>] [-MonthlyOptions <VBRMonthlyOptions>] [-ParentJob <CBackupJob>] [-WaitForParentJob] [-WaitTimeMinutes <Int32>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRSureBackupJobScheduleOptions object that defines a SureBackup job schedule.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DailyOptions |
For daily schedule. Specifies a daily schedule for a SureBackup job. The cmdlet will create the SureBackup job with this schedule.
Accepts the |
False |
Named |
False |
|
|
MonthlyOptions |
For a monthly schedule. Specifies a monthly schedule for a SureBackup job. The cmdlet will create the SureBackup job with this schedule.
Accepts the |
False |
Named |
False |
|
|
ParentJob |
For running after a job. Specifies a name of the job after which Veeam Backup & Replication the SureBackup job must run. The cmdlet will create the SureBackup job with this schedule.
Accepts the |
|
False |
Named |
False |
|
Type |
Specifies how often a SureBackup job must run. You can select one of the following options:
|
|
True |
Named |
False |
|
WaitForParentJob |
Defines that the SureBackup job will wait until the linked backup or replication job completes. If you provide this parameter, Veeam Backup & Replication will wait until the linked job completes. Otherwise, it will start the SureBackup job without waiting for the linked job to complete.
Use the |
|
False |
Named |
False |
|
WaitTimeMinutes |
Specifies the time period in minutes that the SureBackup job must wait for the linked job to complete. |
|
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 VBRSureBackupJobScheduleOptions object that defines SureBackup job schedule.
Examples
Example 1. Defining Daily SureBackup Job Schedule
|
This example shows how to define the daily SureBackup job schedule. The schedule is created to run the SureBackup job every Friday at 23:00.
Perform the following steps:
|
Example 2. Defining Monthly SureBackup Job Schedule
|
This example shows how to define the monthly SureBackup job schedule. The schedule is created to run the SureBackup job at 23:00 on the second Wednesday every month.
Perform the following steps:
|
Example 3. Defining Chained SureBackup Job Schedule
|
This example shows how to define the chained SureBackup job schedule. The schedule is created to run the SureBackup job after the
Perform the following steps:
|
Related Commands
New-VBRDailyOptionsCreates new job daily schedule settings.New-VBRMonthlyOptionsCreates a new VBRMonthlyOptions object.Get-VBRJobReturns existing jobs.