From df6b34bc810646687985ef61ac993426acb7d261 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 1 Nov 2022 21:17:47 +0100 Subject: ratelimit borg uploads --- hosts/vidhar/borg/borgsnap/borgsnap/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): '--chunker-params=10,23,16,4095', '--files-cache=ctime,size', '--show-rc', - # '--remote-ratelimit=20480', + '--upload-buffer=100', + '--upload-ratelimit=20480', '--progress', '--list', '--filter=AMEi-x?', -- cgit v1.2.3