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:

  • Daily: use this option if you want the SureBackup job to run every day.
    Provide the DailyOptions parameter to specify a daily schedule.
  • Monthly: use this option if you want the SureBackup job to run monthly.
    Provide the MonthlyOptions parameter to specify a monthly schedule.
  • AfterJob: use this option if you want the SureBackup job to run after a specific job.
    Provide the ParentJob parameter to specify the job after which the SureBackup job must run.

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

New-VBRSureBackupJobScheduleOptionsExample 1. Defining Daily SureBackup Job Schedule

New-VBRSureBackupJobScheduleOptionsExample 2. Defining Monthly SureBackup Job Schedule

New-VBRSureBackupJobScheduleOptionsExample 3. Defining Chained SureBackup Job Schedule

Related Commands

Page updated 12/19/2024

Page content applies to build 12.3.1.1139