Set-VBOJobSchedulePolicy
Short Description
Modifies the backup job schedule settings.
Syntax
This cmdlet provides the following parameter sets:
-
Periodically (Default)Set-VBOJobSchedulePolicy -Policy <VBOJobSchedulePolicy> [-Type <VBOJobFrequencyType>]
[-PeriodicallyEvery <VBOPeriodicInterval>] [-BackupWindowEnabled]
[-PeriodicallyWindowSettings <VBOBackupWindowSettings>] [-PeriodicallyOffsetMinutes <Int32>]
[-BackupWindowSettings <VBOBackupWindowSettings>] [-RetryEnabled] [-RetryNumber <Int32>]
[-RetryWaitInterval <Int32>] [-EnableSchedule] [<CommonParameters>]
-
DailySet-VBOJobSchedulePolicy -Policy <VBOJobSchedulePolicy> [-Type <VBOJobFrequencyType>] [-DailyTime <TimeSpan>]
[-DailyType <VBODailyType>] [-BackupWindowEnabled] [-BackupWindowSettings <VBOBackupWindowSettings>]
[-RetryEnabled] [-RetryNumber <Int32>] [-RetryWaitInterval <Int32>] [-EnableSchedule] [<CommonParameters>]
Detailed Description
This cmdlet modifies the backup job schedule settings. To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupWindowEnabled |
Defines that the job run will be terminated if it exceeds the allowed backup window. Default: False |
|
False |
Named |
False |
|
BackupWindowSettings |
Specifies the backup window within which the backup job must be completed.
Accepts the
To create this object, run the |
False |
Named |
False |
|
|
DailyTime |
Specifies the time to start the backup job. |
|
False |
Named |
False |
|
DailyType |
Specifies the days when the backup job will run:
|
|
False |
Named |
False |
|
EnableSchedule |
Defines that the backup job will be configured to follow this schedule. If you set this parameter to the Default: True |
|
False |
Named |
False |
|
PeriodicallyEvery |
Specifies the time interval between the job runs:
|
|
False |
Named |
False |
|
PeriodicallyOffsetMinutes |
Specifies the offset within an hour in minutes after which the job must start according to the periodic schedule. Permitted values: 0–59. Default: 0 |
|
False |
Named |
False |
|
PeriodicallyWindowSettings |
Specifies the backup window within which the backup job will run periodically.
Accepts the
To create this object, run the |
False |
Named |
False |
|
|
Policy |
Specifies the backup job schedule whose settings you want to modify.
Accepts the
To create this object, run the |
True |
Named |
True (ByValue) |
|
|
RetryEnabled |
Defines that Veeam Backup for Microsoft 365 will attempt to run a backup job again if the job fails for some reason. Default: False |
|
False |
Named |
False |
|
RetryNumber |
Specifies the number of attempts to run the backup job. Permitted values: 1–777. Default: 3 |
|
False |
Named |
False |
|
RetryWaitInterval |
Specifies the time intervals between the job retry attempts in minutes. Permitted values: 1–999. Default: 10 |
|
False |
Named |
False |
|
Type |
Specifies a type of the backup job schedule:
|
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBOJobSchedulePolicy object that contains the backup job schedule settings.
Examples
Example 1: Modifying Backup Job Schedule Settings
|
This example shows how to modify the settings of a backup job schedule:
Perform the following steps:
|
Example 2: Changing Backup Job Schedule Type from Daily to Periodically
|
This example shows how to change the type of a job schedule from
Perform the following steps:
|
Example 3: Changing Backup Job Schedule Type from Periodically to Daily
|
This example shows how to change the type of a job schedule from
Perform the following steps:
|
Related Commands
New-VBOJobSchedulePolicyCreates a backup job schedule.Get-VBOJobReturns backup jobs.New-VBOBackupWindowSettingsCreates a backup window.Set-VBOJobModifies settings of a backup job.