Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

Tips for Advanced Scheduling

$
0
0

Tips for Advanced Scheduling

KB ID: 1868
Product: Veeam Backup & Replication | 11
Published: 2014-04-16
Last Modified: 2022-05-23

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.

Viewing all articles
Browse latest Browse all 4362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>