Skip to content

Throttling cPanel backup bandwidth to protect live traffic

When a cPanel backup job to an offsite destination is saturating the uplink, how to throttle JetBackup or R1Soft so live customer traffic doesn't suffer.

A cPanel server has a 1 Gbps uplink. JetBackup is uploading 80 GB nightly to Wasabi and consumes most of that bandwidth for an hour. Live customer traffic during that window slows down — page load goes from 800ms to 3 seconds. Throttling is the answer; the levers are predictable.

What’s happening

JetBackup and R1Soft both write to remote destinations via TCP connections that, by default, consume whatever bandwidth is available. Modern Linux supports per-application bandwidth shaping through tc (traffic control), but configuring tc for one job is fragile. Most backup tools expose their own rate-limit options — those are the preferred path.

How to verify

Confirm the symptom before changing anything:

nload eth0
iftop -i eth0
sar -n DEV 1 5
jetbackup5api -F getBackupJobs | grep -i bandwidth

The sar line gives a clean per-interface throughput snapshot. If you see backup time correlating with site slowdown, the bandwidth competition is real.

The fix

  1. JetBackup: WHM > JetBackup 5 > Settings > Bandwidth Throttle. Set a hard cap, e.g. 50 MB/s. This applies to all backup jobs globally; per-job overrides are also available.
  2. R1Soft: edit the policy in the Backup Manager UI > Advanced > Throttle. Settable in MB/s or as a percentage of the agent’s measured peak.
  3. Schedule the backup window during the lowest-traffic period. For most servers that’s 02:00-05:00 local time. Adjust based on your customer geography.
  4. If you can’t throttle and can’t reschedule (rare), introduce a separate backup network interface. A dedicated 1 Gbps NIC for backups, separate from the customer-traffic NIC, sidesteps the issue.
  5. Monitor the result. After throttling, confirm the backup completes within the window. Throttling that prevents backups from finishing is worse than the original problem.

Stack Harbor sizes backup bandwidth and schedules with the customer’s traffic pattern under environment management.