Restore from PBS with Token restricted on namespace

steff123

Member
Aug 1, 2020
55
2
13
42
Hey,
I have connect a PVE to my PBS using an API-Token with the following roles

Code:
$ pbm acl list | grep "ugid\|test"

│ ugid                    │ path                                   │ propagate │ roleid             │
│ steffen@pbs!pve-test-01 │ /datastore/backup01                    │         1 │ Audit              │
│ steffen@pbs!pve-test-01 │ /datastore/backup01/nodes/pve-test-01  │         1 │ DatastorePowerUser │
│ steffen@pbs!pve-test-01 │ /datastore/backup01/nodes/pve-test-01  │         1 │ DatastoreReader    │

I was able to backup to the namespace pve-test-01, but not able to restore. There was an error message, that there are no permissions for /datastore/backup01. After granting the following permission it works

Code:
│ steffen@pbs!pve-test-01 │ /datastore/backup01                    │         1 │ DatastorePowerUser │

Why is a permission on this level necessary? Seems to be too much for me.

Moreover I needed this permission to show the configuration of the backuped container from PVE-side.

Regards
 
Last edited:

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!