Tips for Advanced Scheduling
KB ID: | 1868 |
Product: | Veeam Backup & Replication | 11 |
Published: | 2014-04-16 |
Last Modified: | 2022-05-23 |
Purpose
Solution
Scenario 1: Granular Scheduling
This advanced scheduling technique allows for a job to be scheduled to run at different times each day. By configuring the job to run "Periodically every 1 Hour" and then using the Schedule button to assign which hours the job may start, it is possible to create a fully granular schedule.
Notes:
- If the job is still running at a time when it is scheduled to start, the job run that would have occurred is skipped.
- The time slot selected does not limit the job's run duration. It only indicates to the backend scheduler that the job is permitted to start.
- If a day of the week has a Synthetic Full or Active Full scheduled, that Full operation will only occur during the first job run on that day.
- When configuring a job to run more than once per day, changing the job's retention to a "# of days" retention model can make retention easier to understand.
Example: A company wants to configure their backup job to create a restore point every two hours during business hours, but only once a day during the weekends.
The administrator would configure the job to run every 1 hour. Then, click the Schedule button and select the time slots that align with the desired schedule.
Scenario 2: Force a Backup Job to Create a Full Using PowerShell
The Veeam job scheduler will only allow a single full per day to occur. If a job is scheduled to run more than once per day, the full that is scheduled for a given day will only happen during the first job run of that day.
Using PowerShell, it is possible to force a backup job to perform an Active Full, even if another full has already been created that day.
Notes:
- It is not possible to force a backup job to perform a Synthetic Full using PowerShell, only an Active Full.
- If the job specified in the script is already running, the command to start the job will be ignored.
Get-VBRJob | where {$_.Name -eq "Backup Job Name"} | Start-VBRJob -FullBackup
Connect-VBRServer -User <string> -Password <string> [-Server <string>] [-Port <int>] [<CommonParameters>]
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.