Bandwidth and Concurrency Tuning
Backup jobs should be predictable. Tune them so they finish on time without hurting production traffic.
Control Flags
| Flag | Purpose |
|---|---|
--bwlimit | Limit transfer rate |
--transfers | Concurrent file upload/download workers |
--checkers | Metadata compare workers |
--tpslimit | API transactions per second cap |
Mapping
Example Profiles
office-hours-profile.sh
rclone sync /srv/data remote-prod:backup/data \
--bwlimit 20M \
--transfers 6 \
--checkers 12 \
--tpslimit 8
nightly-profile.sh
rclone sync /srv/data remote-prod:backup/data \
--bwlimit 0 \
--transfers 16 \
--checkers 32
Scheduling Strategy
| Time window | Profile |
|---|---|
| Business hours | Conservative bandwidth and TPS |
| Off-peak/night | Higher throughput profile |
tip
Store profiles in scripts so operators can switch modes safely without hand-editing command lines.
Common Pitfalls
| Pitfall | Impact | Mitigation |
|---|---|---|
| Unlimited daytime bandwidth | App latency spikes | Set --bwlimit |
High --transfers with low CPU | Queueing and retries | Match concurrency to host resources |
| No API TPS cap | Provider throttle bursts | Add --tpslimit |