I’m about to kick off a large (450GB) backup to the cloud. Since my upload speeds aren’t the swiftest I am not going to set any throttling options. However, if it starts interfering with normal household bandwidth I’d like to be able to dial it back a bit.
I know you can set an option to throttle bandwidth during a backup, but can you change the throttling once a backup has started?
From there you can turn on/off/change upload and download limits. One thing to be aware of is this UI measures those in KB/MB/GB per second, NOT mbps or kbps like most network links are measured. The conversion isn’t hard, but I tend to just lean on Google for this so search for “10KB per second in mbps” on Google and you’ll get their interactive calculator and it’ll let you choose whatever units you want to deal with.
A longer term solution would be some sort of traffic shaping function of your router. I’m looking at doing something like this, but haven’t spent any real time on it. Basically I would identify traffic that I think is Duplicati (certain machines on my LAN talking to my backend storage providers) and put it in a low priority queue.
I know my screenshot says I am running a “Canary” build, but this worked for me on the latest public beta too
That’s a good suggestion as it helps balance backup speed (when our network isn’t in use by other things) and user experience when people are wanting to use the connection (VOIP, Netflix, YouTube, etc.).
If you’re not sure whether you router supports this I expect most routers these days will have it listed as QoS (Quality of Service) functionality (though it might also be in “Class of Service” or “Resource Reservation”).
Does Duplicati (or can Duplicati be made to) mark traffic it generates with any sort of QoS or similar bits? I’m not new to networking and routing, but completely new to any sort of QoS classifying so I don’t know what’s possible.
If not, I’m trying to figure out how to get my router to identify Duplicati’s traffic on the network, I’m using B2, and while I can figure out the FQDNs they’re using, getting a complete set of destination IPs isn’t trivial and can easily change over time.
What OS are you running Duplicati on? If Windows, you can use Local Group Policy Editor to configure Policy-based QoS so that traffic from the Duplicati executable is marked. I can provide more detail if desired.
On my gateway (Linux-based) my shaping rules check for certain ToS values and prioritize accordingly. My gateway also makes the assumption that outbound https traffic from certain non-Windows hosts (like my NAS) is backup traffic, and shapes that traffic as well. That way I don’t have to bother trying to mark Duplicati traffic on certain machines.