Step 15. Define Job Schedule
At the Schedule step of the wizard, select to run the replication job manually or schedule the job to run on a regular basis:
- To run the replication job automatically, select the Run the job automatically check box. If you do not select this check box, you will have to start the job manually.
- Define scheduling settings for the job:
- To run the job at specific time daily, on weekdays or with specific periodicity, select Daily at this time. In the fields on the right of the check box, specify the time and required days.
- To run the job once a month on specific days, select Monthly at this time. In the fields on the right of the check box, specify the necessary days.
When you configure the job schedule, keep in mind possible date and time changes (for example, related to daylight saving time transition).
- To run the job repeatedly throughout a day with a set time interval, do the following:
- Select Periodically every. In the field on the right, select the necessary time unit: Hours or Minutes.
- If you want to specify the permitted time window for the job, click Schedule. In the Time Periods window, specify the schedule.
If you want to shift the schedule, specify the offset in the Start time within an hour field. For example, you schedule the prohibited hours from 08:00 AM to 10:00 AM, and set the offset value to 25. The schedule will be shifted forward, and the prohibited hours will be from 8:25 AM and to 10:25 AM.
A repeatedly run job is started by the following rules:
- Veeam Backup & Replication always starts counting defined intervals from 12:00 AM. For example, if you configure to run a job with a 4-hour interval, the job will start at 12:00 AM, 4:00 AM, 8:00 AM, 12:00 PM, 4:00 PM and so on.
- If you define permitted hours for the job, after the denied interval is over, Veeam Backup & Replication will immediately start the job and then run the job by the defined schedule.
For example, you have configured a job to run with a 2-hour interval and defined permitted hours from 9:00 AM to 5:00 PM. According to the rules above, the job will first run at 9:00 AM, when the denied period is over. After that, the job will run at 10:00 AM, 12:00 PM, 2:00 PM and 4:00 PM.
- To run the job continuously, select the Periodically every option and choose Continuously from the list on the right.
- To chain jobs, use the After this job field. For the first job in the chain, you must specify an automatic time schedule, otherwise the chained jobs will not be started. For the chained jobs, select the After this job option and choose the preceding job from the list. For more information on job chaining and recommendations for it, see Chained Jobs.
- In the Automatic retry section, select the Retry failed VMs processing if Veeam Backup & Replication must attempt to run the job again for VMs whose processing failed for some reason. Enter the number of attempts to run the job and define time spans between them.
If you select continuous schedule for the job, Veeam Backup & Replication will retry the job for the defined number of times without any time intervals between the job sessions.
- In the Backup window section, specify a time interval within which the job must be completed. The backup window prevents the job from overlapping with production hours and ensures the job does not provide unwanted overhead on your production environment.
To set up a backup window for the job:
- Select the Terminate job if it exceeds allowed backup window check box and click Window.
- In the Time Periods window, define the allowed hours and prohibited hours for VM replication. If the job exceeds the allowed window, the job will be automatically terminated.