Step 5. Edit Job Schedule
The Job Schedule step of the wizard allows you to choose to manually run the job, schedule the job to start at a specific time — for example, the least busy hours to reduce impact on the environment — or define a schedule for the job to run on a regular basis. To specify the job schedule, select the Run the job automatically check box. If this check box is not selected, the job is supposed to be run manually.
You can choose to perform the job at specific time on defined weekdays, monthly and with specific periodicity.
You can also select to back up a machine continuously. In this case, the next run of a backup job will be started once the previous one is complete, maintaining your backup always in the most recent state. For that, select the Periodically every option, then choose Continuously from the drop-down list on the right.
Periodic Job Runs
You can choose to run the job repeatedly throughout a day with a set time interval. For that, select Periodically every, then specify the required time interval and select the necessary time unit: Hours or Minutes. The job will be started for the first time as soon as the nearest start time comes. For example, if you have created a job at 16:30 and configured it to run periodically every 4 hours, the initial run will take place at 20:00.
Remember that reference time for periodicity is midnight (12:00 AM).
If you need to define permitted and denied hours for the job run, click Schedule on the right and use the timetable. In this case, the job will be started for the first time as soon as the denied interval is over, and then it will run according to the specified schedule. For example, if you have created a job at 16:30, configured it to run periodically every 4 hours, and set the denied interval to 9:00–19:00, the initial run will take place at 19:00, and the next runs will be at 20:00 and 24:00 (since reference time for periodicity is midnight).
You can also specify an 'offset' for the job to start within the specified time interval (hours or minutes). For that, in the Start time within an hour field, specify the desired value in minutes. Then the job will run every hour at <hour>:<offset>.
Generally, if a denied period is configured so that one or more periodic intervals fall into it, the next job run will take place as soon as the denied interval is over, with the offset applied (if any), and then the job will run according to the specified schedule.
- Remember that offset is applied to the job start time within an hour, firstly at 12:00 AM (as midnight is a reference time for periodic runs). Therefore, if you set up the job to run periodically every 30 minutes, and specify an offset interval as 10 minutes, with no denied hours, the job will run at 00:10, 00:40, 01:10, and so on.
- If you configure some denied hours, then remember that offset will be also applied to the moment when the job starts after the end of denied interval. Therefore, if you set up the job to run Periodically at 3 Hours and specify Denied hours from 8:00 AM to 8:00 PM, and also set an offset interval to 15 minutes, then the job will run at 00:15 AM, at 3:15 AM, at 6:15 AM, then at 8:15 PM, 9:15 PM (as this is a 3x3-hour interval referencing midnight, plus offset), and so on.
- If you set up the job to run with a 2-hour interval but the job' first run at 10:00 AM exceeds the elapsed time, overlapping the next scheduled run (for example, the job lasted 2 hours 30 min and completed at 12:30 PM), then the second run will start at the nearest scheduled run (at 2:00 PM).
You can also chain the jobs. In the common practice, jobs start one after another: when the job "A" finishes, the job "B" starts and so on. If you want to create a chain of jobs, you should define the time schedule for the first job in the chain. For the rest of the jobs in the chain, select the After this job option and choose the preceding job from the list.
In the Automatic retry section, define whether Veeam Backup & Replication should attempt to run the job again in case it fails for some reason. A repeatedly run job will include failed machines only. Enter the number of attempts to run the job and define time spans between them. If you select continuous backup, Veeam Backup & Replication will retry the job for the defined number of times without any time intervals between the job runs.
In the Backup window section, determine a time span within which the backup job must be completed. The backup window prevents the job from overlapping with production hours and ensures it does not provide unwanted overhead on your virtual environment. To set up a backup window for the job:
- Select the Terminate job if it gets out of allowed backup window check box.
- Click Window.
- Define the allowed window and prohibited hours for the job. If the job exceeds the allowed window, it will be terminated.
If the Location property of the source object and target object do not match, you will receive a warning message after you click Finish. For example, you may have a backup job targeted at repository located in Sydney, and source machines located in London.