pv-wrapper doesn't work as expected to limit bandwidth
HI, I tried the recommended pv-wrapper (https://github.com/borgbackup/borg/issues/661). I put it at some location (not /usr/bin) and made it executable and named it pv-wrapper.sh.
I then put in as the RATE 200k or 500k and linked it via export BORG_RSH
The download speed was a lot greater. It may have been fine at create but after that came prune and after that info command, so either of these may have ignored the wrapper.
Can't help with that as I don't use it. Maybe the guy who originally suggested this method can?
borg has also a built-in way to limit bw usage (IIRC only for upload to repo), can you try that?
I’m using the following configuration in my $HOME/.ssh/config file:
Host borghost
ProxyCommand pv -qL 9M | nc %h %p | pv -qL 9M
This setup limits the bandwidth in both directions to approximately 72 Mbps, and it works perfectly here on Fedora.
HTH, Jorge
So, are our docs wrong / not working? Would be great if you could find out and file a PR improving them, if necessary.
ping @Jorge-Fabregas @jonathanmmm