New-VBRSureBackupJobScheduleOptions
Short Description
Defines a SureBackup job schedule.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRSureBackupJobScheduleOptions -Type <VBRSbJobScheduleType> {Daily | Monthly | AfterJob} [-DailyOptions <VBRDailyOptions>] [-MonthlyOptions <VBRMonthlyOptions>] [-ParentJob <CBackupJob>] [-WaitForParentJob] [-WaitTimeMinutes <int>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRSureBackupJobScheduleOptions object that defines a SureBackup job schedule.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Type | Specifies how often a SureBackup job must run. You can select one of the following options:
| VBRSbJobScheduleType | True | Named | False |
DailyOptions | For daily schedule. Specifies a daily schedule for a SureBackup job. The cmdlet will create the SureBackup job with this schedule. | Accepts the VBRDailyOptions object. To create this object, run the New-VBRDailyOptions cmdlet. | 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 VBRMonthlyOptions object. To create this object, run the New-VBRMonthlyOptions cmdlet. | 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 CBackupJob object. To create this object, run the Get-VBRJob cmdlet. | False | 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 WaitTimeMinutes parameter to specify how long the SureBackup job must wait for the linked job to complete. | SwitchParamter | False | Named | False |
WaitTimeMinutes | Specifies the time period in minutes that the SureBackup job must wait for the linked job to complete. | Int32 | 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 Exchange Backup Job job completes.
Perform the following steps:
|
Related Commands