Skip to content

add prefix to duplicity to extend the command

Rationale

Many users, including I, does not have a high bandwidth connection. Thus, Backups processes takes a heavy toll, specially when it is scheduled automatically.

There are some utilities in the Linux ecosystem that can limit the bandwidth for specific processes (such as Trickle). However, it requires to launch the process in the following syntax:

trickle -s -d 50 -u 50 myprocess

This MR

This MR let the use to specify a prefix to the launched duplicity argument line by using DEJA_DUP_DUPLICITY_PREFIX which will be prepended as a prefix in the following fashion:

$DEJA_DUP_DUPLICITY_PREFIX duplicity ...

This can be effectively be used with trickle with any parameter or with any other accounting/timeout software.

Merge request reports