I apologize if this has been covered, I tried searching and came up empty. I’m currently using the 2.0 beta and in the process of switching my friends and family over to it as i’m quite impressed so far. I was wondering if there is a way to limit it to only running during certain hours?
My parents have pretty slow internet and their initial backup is going to take forever so I’d like to be able to set it to only run during the night but it doesn’t appear there is any scheduling type of setup… as i’m typing this i’m kinda thinking maybe there’s a command line option but I don’t see anything about turning it on or off via the commandline.
Defining time windows for throttling makes sense to me, especially for users with limited bandwidth. Full speed uploading at night, limited upload speed during working hours, to save bandwidth for everyday-use.
Another option could be to complete a running backup gracefully at a specific time. This could help in situations of an incidental massive change of the source (video camera upload), or a few minutes before a planned restart takes place (Windows Update).
Like kees-z mentioned to save bandwidth for everyday usage, they split their internet with their neighbor and their phone is voip so I’d prefer not to do anything that could cause problems. It’s possible the backup won’t cause any issues but I was hoping there might be a way to schedule when Duplicati can run that I just hadn’t seen yet.
Just for others interested pssuspend seemed to work fine. I added a new folder to my own backup then suspended and unsuspended Duplicati.GUI.TrayIcon a few times during the upload it appeared to work quite well and I verified the files were uploaded just fine.
Until it’s baked into the Duplicati code itself the only thing you can due is play with schedules and / or use --run-script-before-required scripts to do a time check and only allow the backup to continue if it’s within your target times.
Of course I’m not really sure what sort of schedule you’re looking for. I assume that it’s not enough for you to just schedule Duplicati to run once a day starting at 9 PM, so what do you mean by “run at night”?