I want my automatic daily backups to only run in the dead of night. I have the startup time configured for that. However, if for some reason one runs in the middle of the day it will run again at that time 23 hours later. Is there way to tell only run automatically in a specified time range?
Unrelated question. I don’t see the option for editing configuration in the new interface.
Are you sure about that? Duplicati runs backup at the scheduled time unless the scheduled time has already been missed, in which case it runs as soon as it can. After that run, the next run should remain on configured scheduled (i.e. at night).
# The following exit codes are supported:
#
# - 0: OK, run operation
# - 1: OK, don't run operation
(etc.)
If this is Linux, you have many facilities. Using bash you can use date +%H
to get the hour of the day (0-23) to compare. Other languages go differently.
If you use the “Start” button on the main page, the backup will run, but the schedule will not be touched, so it will continue to run at the scheduled time.
Duplicati does not have an advanced scheduler with approved time slots or similar. As @ts6789
mentions, this can be done with a small script that returns “yes/no” based on the current time.