How to limit the upload speed of deja dup?

Date Published: 06/30/2013 5:49 PM
Author: Bastian

I am trying to limit the upload speed of deja dup because it uses all available bandwidth and it's a pain. Right now there is a bug opened to ask for this feature but in the meantime I would like to find a workaround. My idea is to use the trickle program to start the deja dup monitor (which is the program that actually launches deja dup). So the deja dup monitor program is launched by the session manager when the user logs in. The file that is responsible for that on my system (ubuntu 13) is /etc/xdg/autostart/deja-dup-monitor.desktop. I have tried to edit it to replace the lines TryExec=/usr/lib/i386-linux-gnu/deja-dup/deja-dup-monitor Exec=/usr/lib/i386-linux-gnu/deja-dup/deja-dup-monitor with

TryExec=/usr/bin/trickle -u 30 /usr/lib/i386-linux-gnu/deja-dup/deja-dup-monitor
Exec=/usr/bin/trickle -u 30 /usr/lib/i386-linux-gnu/deja-dup/deja-dup-monitor

but then when I logout and login again and I check with

ps ax | grep dup

to see if the monitor is actually running but it's not. (I know there is a 2 minutes waiting time before it is launched but I have removed it temporarily). With the original script, this command returns the process and shows that it is actually running. I have checked the logs (syslog, dmesg) but nothing appears, I don't where to look or what could be wrong.

So right now I use a wrapper script that launches deja dup monitor through trickle, and that script is the one that I launch though deja-dup-monitor.desktop but it is not clean, I would like the first solution to work.

View full answer on Ask Ubuntu

View Local Answers...

Can't find the answer to this question?

No answers yet.

Can you answer this question?

How to limit the upload speed of deja dup?

  • Your Nickname
  • Your Answer

  • Enter the code below to prove you are human