Set-VBRJobScheduleOptions (obsolete)
Short Description
Applies modified job schedule settings to jobs.
Note |
This cmdlet is obsolete. You can still run this cmdlet, but it is recommended to modify job schedule using the Set-VBRJobSchedule cmdlet. |
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRJobScheduleOptions [-Job] <CBackupJob[]> [-Options] <ScheduleOptions> [<CommonParameters>] |
Detailed Description
This cmdlet applies customized scheduling options to a selected backup, replication or copy job.
Run the New-VBRJobScheduleOptions cmdlet to create the new schedule settings.
You can modify schedule of backup, replication or backup copy jobs.
Run the Set-VSBJobScheduleOptions cmdlet to set scheduling options to SureBackup job.
Note |
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameters values with new values. The parameters that you omit will remain unchanged. |
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Job | Specifies the array of jobs. The cmdlet will apply schedule settings to these jobs. | Accepts the CBackupJob object. To create this object, run the Get-VBRJob cmdlet. | True | 0 | True (ByProperty |
Options | Specifies the schedule options you want to apply. | Accepts the VBRServerScheduleOptions object. To create this object, run the New-VBRServerScheduleOptions cmdlet. | True | 1 | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Examples
Example 1. Scheduling Backup Job with Time Interval of 2 Hours
This example shows how to schedule the backup job to run repeatedly throughout a day with the time interval of 2 hours.
Perform the following steps:
|
Example 2. Applying Customized Scheduling Options to Specific Jobs [Using Pipeline]
This command applies the customized scheduling options to the jobs named DC Backup and DC File Copy.
Perform the following steps:
|
Example 3. Applying Customized Scheduling Options to Specific Job [Using Variable]
This command applies the customized scheduling options to the job represented by the $job variable.
Perform the following steps:
|
Related Commands