diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-01 21:17:47 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-01 21:17:47 +0100 |
commit | df6b34bc810646687985ef61ac993426acb7d261 (patch) | |
tree | 41c9f1453d38eb20cb11d1a40bc26b68896582c3 /hosts/vidhar/borg/borgsnap | |
parent | 1787813b4cc16463b97cc1a15b9d0fcd4fee733a (diff) | |
download | nixos-df6b34bc810646687985ef61ac993426acb7d261.tar nixos-df6b34bc810646687985ef61ac993426acb7d261.tar.gz nixos-df6b34bc810646687985ef61ac993426acb7d261.tar.bz2 nixos-df6b34bc810646687985ef61ac993426acb7d261.tar.xz nixos-df6b34bc810646687985ef61ac993426acb7d261.zip |
ratelimit borg uploads
Diffstat (limited to 'hosts/vidhar/borg/borgsnap')
-rw-r--r-- | hosts/vidhar/borg/borgsnap/borgsnap/__main__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/vidhar/borg/borgsnap/borgsnap/__main__.py b/hosts/vidhar/borg/borgsnap/borgsnap/__main__.py index cd2f1ad2..fb206e33 100644 --- a/hosts/vidhar/borg/borgsnap/borgsnap/__main__.py +++ b/hosts/vidhar/borg/borgsnap/borgsnap/__main__.py | |||
@@ -233,7 +233,8 @@ def create(*, snapshot, target, archive_prefix, dry_run): | |||
233 | '--chunker-params=10,23,16,4095', | 233 | '--chunker-params=10,23,16,4095', |
234 | '--files-cache=ctime,size', | 234 | '--files-cache=ctime,size', |
235 | '--show-rc', | 235 | '--show-rc', |
236 | # '--remote-ratelimit=20480', | 236 | '--upload-buffer=100', |
237 | '--upload-ratelimit=20480', | ||
237 | '--progress', | 238 | '--progress', |
238 | '--list', | 239 | '--list', |
239 | '--filter=AMEi-x?', | 240 | '--filter=AMEi-x?', |