[Box Backup] Adaptive MaxUploadRate, Quality of Service

Chris Wilson chris at qwirx.com
Sat Mar 10 19:12:11 GMT 2012


Hi Achim,

On Sat, 11 Feb 2012, Chris Wilson wrote:
> On Sat, 11 Feb 2012, Achim J. Latz wrote:
>> Ideally, I would like to determine the existing bandwidth not only once at 
>> install time, but dynamically every time (at least) bbackupd starts a 
>> backup process. For instance, think about a laptop user that uses the same 
>> machine in the office (10MB+ SDSL or fibre), home (ADSL) and 3G: three 
>> rather different upload rate scenarios.
>> 
>> SyncAllowScript seems like the natural place to do this (via the same timed 
>> wget POST request), but unfortunately updating MaxUploadRate has no effect 
>> on the currently running, about-to-start-backing-up bbackupd instance.
>
> I could add an optional second parameter output from the SyncAllowScript 
> that, if present, overrides the current MaxUploadRate.

I've added that feature in trunk.

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <chris+sig at qwirx.com> Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\__/_/_/_//_/___/ | We are GNU : free your mind & your software |



More information about the Boxbackup mailing list