Set-VSBJobSchedule (obsolete)
Short Description
Modifies SureBackup job schedule options.
Note |
|
This cmdlet is obsolete. The cmdlet will still work but may not be supported in further versions. |
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
DailySet-VSBJobSchedule [[-Job] <CSbJob>] [-Daily] [-At <DateTime>] [-DailyKind <DailyKinds>] [-Days <DayOfWeek[]>] [<CommonParameters>]
-
MonthlySet-VSBJobSchedule [[-Job] <CSbJob>] [-At <DateTime>] [-Days <DayOfWeek[]>] [-Monthly]
[-NumberInMonth <EDayNumberInMonth>] [-Months <EMonth[]>] [<CommonParameters>]
-
AfterSet-VSBJobSchedule [[-Job] <CSbJob>] [-After] [-AfterJob <CBackupJob>] [<CommonParameters>]
Detailed Description
This cmdlet modifies schedule settings of a SureBackup job.
You can schedule the job to run:
- Daily on specific time, on specific days of week.
- Monthly on specific time, on specific days of month, on specific months.
- After a certain job you specify.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
After |
After this job. Defines that the SureBackup job runs after a selected job. Use the AfterJob parameter to specify the primary job. |
|
False |
Named |
False |
|
AfterJob |
After this job. Specifies the job after which the SureBackup job runs.
Accepts the |
|
False |
Named |
False |
|
At |
For monthly schedule. Specifies the SureBackup job start time. Default: 10:00. |
|
False |
Named |
False |
|
Daily |
For daily schedule.
Defines that the SureBackup job runs daily. Use |
|
False |
Named |
False |
|
DailyKind |
For daily schedule. Specifies the days when the SureBackup job runs:
|
|
False |
Named |
False |
|
Days |
For monthly schedule.
Specifies the day of week when the SureBackup job runs. Use this parameter to set the day for |
|
False |
Named |
False |
|
Job |
Specifies the SureBackup job. The cmdlet will modify settings of this job.
Accepts the |
|
False |
0 |
True (ByPropertyName, ByValue) |
|
Monthly |
For monthly schedule. Defines that the SureBackup job runs once a month. Use Months, NumberInMonth and Days parameters to set the monthly schedule. |
|
False |
Named |
False |
|
Months |
For monthly schedule. Specifies the months when the SureBackup job runs. |
|
False |
Named |
False |
|
NumberInMonth |
For monthly schedule. Specifies the number of day in month (for example, Saturday):
|
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Scheduling SureBackup Jobs to Run Daily
|
This example shows how to schedule the
Perform the following steps:
|
Example 2. Scheduling SureBackup Jobs to Run Last Saturday of Specific Months
|
This example shows how to schedule the
Perform the following steps:
|
Example 3. Scheduling SureBackup Jobs to Run After Specific Job
|
This example shows how to schedule the
Perform the following steps:
|
Related Commands
Get-VSBJobReturns SureBackup jobs. This cmdlet is obsolete. Run the Get-VBRSureBackupJob cmdlet instead.Get-VBRJobReturns existing jobs.