From 82ff0dc817e44b1a4846ed7bc7cbe1f8a88ad575 Mon Sep 17 00:00:00 2001 From: Daniel Lindenfelser Date: Tue, 21 Jul 2026 07:58:39 +0200 Subject: [PATCH] rclone-backup: throttle API calls to survive Drive rate limits The nightly sync has failed since Jul 18 with RATE_LIMIT_EXCEEDED, transferring 0 B. Limit transactions and pace Drive requests, and retry a few times before giving up. This mitigates rather than fixes the cause (the remote still uses rclone's shared default client_id). Co-Authored-By: Claude Opus 4.8 --- modules/fileserver.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/fileserver.nix b/modules/fileserver.nix index ddb951d..f731f16 100644 --- a/modules/fileserver.nix +++ b/modules/fileserver.nix @@ -251,6 +251,9 @@ ${pkgs.rclone}/bin/rclone sync /data gdrive:backup-daten \ --fast-list \ --drive-stop-on-upload-limit \ + --tpslimit 10 \ + --drive-pacer-min-sleep 100ms \ + --retries 3 \ --log-file=/var/log/rclone-backup.log \ --log-level=INFO '';