Home › Knowledge base › Backups run at the wrong time after a clock change
Backups run at the wrong time after a clock change
- Article
- KB-1097
- Category
- Backup
- Applies to
- Agent before 4.3.1
Symptoms
For one day after the clocks change, scheduled backups start an hour earlier or later than the configured local time. In some cases a job scheduled between 01:00 and 02:00 ran twice on the night the clocks went back, or not at all on the night they went forward.
Cause
Agents before 4.3.1 calculated the next run time once, after each job, as a fixed number of hours ahead. A clock change between the calculation and the run put the job an hour out. The schedule corrected itself after the next job.
Resolution
Update to 4.3.1 or later. From 4.3.1 the next run is calculated from the configured local time and re-evaluated whenever the system time or time zone changes.
All 4.3 and earlier agents are now past end of life, so any device still showing this behaviour needs updating in any case.
Current behaviour on the night of a change
- Clocks go forward (a local hour does not exist): a job scheduled in the missing hour runs at the first valid time after it.
- Clocks go back (a local hour occurs twice): a job scheduled in the repeated hour runs once, at the first occurrence.
If backups are consistently an hour out
That is not this problem. Check the device's time zone setting. A device set to UTC with its clock adjusted by hand will be an hour out for half the year. See also KB-1023.
Servers set to UTC
Servers whose time zone is UTC are unaffected by daylight saving. Remember that a schedule of 01:00 on such a server is 01:00 UTC all year.