Pause and unpause duplicati at certain hours

I use an ISP that caps my bandwidth during certain hours, but during low usage hours I have unlimited bandwidth.

As such I would like to pause and unpause duplicati during those timeframes. Is there some way to do that?

I found this: duplicati/ at master 路 duplicati/duplicati 路 GitHub but it doesn鈥檛 seem to work. When I call it I get:

Something went wrong 鈥 401 Not logged in

Is there something else I need to do to login first?


I haven鈥檛 actually used this script before but I鈥檓 guessing @Pectojin or @kenkendk will have a suggestion for you. :slight_smile:

For what it鈥檚 worth, a feature like you describe has been requested a few times already:

I have just added a $5 bounty for this feature at Bountysource (just to kick things off). Please consider adding to it to help make it happen! :smiley:
Feature request: Bandwith limit based on schedule 路 Issue #2921 路 duplicati/duplicati 路 GitHub

The script is fairly simple and doesn鈥檛 support logging into Duplicati with a password.

You can use this GitHub - Pectojin/duplicati_client: A command line client for controlling the Duplicati Server

It supports login, so you just have to store the password in a parameters file and then you can use it in your script to login and pause the backups.

1 Like