Limit backup I/O bandwidth
Category : How-to
When backing up in Proxmox, especially on the lower end of the server market, the backup process can cause your system to almost grind to a halt. Luckily, there is a config change which we can make to limit the bandwidth of the backup process to make sure there is sufficient bandwidth for everything else.
The setting cannot be changed using the web gui, you must log into your Proxmox server using SSH. Once you have logged in, open the config file:
Find the line which contains bwlimit, remove the hash and append the value of KB/s which you would like the backup limiting to. The below example limits the backup process to 40000 KB/s.
To calculate how many KB/s you need will take trial and error to see what affect speeds have on your system. Something which is helpful however, is converting MBs (Megabytes) into KB/s (Kilobytes). The formula is simple – just multiply the MB value by 1024 as there are 1024 KB in a MB.
MB/s * 1024 = KB/s
If you want a transfer speed of 10 MB/s you would use a bwlimit value of 10240 as the below example shows.
10 MB/s * 1024 = 10240 KB/s
Leave a Reply