Tips for Advanced Scheduling

KB ID: 1868
Product: Veeam Backup & Replication | 11
Published: 2014-04-16
Last Modified: 2022-05-23
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Purpose

This article provides information about advanced scheduling techniques in Veeam Backup & Replication.

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.

Granular Scheduling

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.
Example: A backup admin wants two Fulls to occur on the first Sunday of each month. They write a script and set it run using Windows Task Scheduler:
Get-VBRJob | where {$_.Name -eq "Backup Job Name"} | Start-VBRJob -FullBackup
PowerShell Task Schedule
The above PowerShell commands can be run from a remote server where the Veeam Backup & Replication Console is installed. However, when executed from a remote server, the following Connect-VBRServer cmdlet must be executed first to connect to the Veeam Backup Server.
Connect-VBRServer -User <string> -Password <string> [-Server <string>] [-Port <int>]  [<CommonParameters>]
Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.