upload speed limit on scheduled network backup

openaspace

Active Member
Sep 16, 2019
486
13
38
Italy
Hi.
I use cifs to perform scheduled network backup,
but it use 95% of the bandwidth when at the same time I can have a live streaming or a lot of users connected to an on demand stream video.

How I can set backup network upload speed limit? .. and if is possible to limit for example to 20% speed from 8AM to 3AM and 80% from 3AM to 8 AM?

Thank you.
 
Last edited:
Hello,

You can set the bandwidth from the `/etc/vzdump.conf` [0] file for the backup. You can also set the bandwidth for example to migration or backup restore on the PVE Web UI -> Datacenter->Options->BandWidth Limits.

Regarding changing the limit on a specific time, this is currently not possible. However, you can write a bash script in order to do this itself. See more about the `datacenter.cfg` to know what should the script do [1].


[0] https://pve.proxmox.com/wiki/Backup_and_Restore#vzdump_configuration
[1] https://pve.proxmox.com/wiki/Manual:_datacenter.cfg