[SOLVED] vzdump over rest api - bwlimit restricted to root

f4242

Well-Known Member
Dec 19, 2016
101
4
58
Quebec, QC
Hello,

I created an API key for root@pam user (because -bwlimit option is restricted to root (why?)). But the API still return an error while using api key for the root user. The error is:

bwlimit: Only root may set this option.

pve-manager/6.3-3/eee5f901 (running kernel: 5.4.78-2-pve)
 
Hi,
the parameter is restricted, because with it, one can override the storage/node/datacenter-specific bandwidth limits. Of course one could argue that it should only fail if the override is less restrictive, but that's just not implemented. Maybe you can set one of those bandwidth limits instead? But naturally, that would affect other backups too.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!