PBS NameSpace Permissions

tropicaljoe

Member
Sep 25, 2021
2
1
8
58
Hello All,
I have successfully created a new namespace and have been able to backup to in with the root@pam account. My goal is create an account that will just have access to the namespace and no other namespaces nor the root ( just backup and restore ). First can this be done?

I tried the following commands after I created the account:
proxmox-backup-manager user permissions remote@pbs --path /datastore/PBS_Daily/ns/JPDSM
proxmox-backup-manager acl update /datastore/PBS_Daily/ns/JPDSM DatastoreBackup --auth-id remote@pbs

I then tried to connect from another host to the namespace, it tells me that it cannot find PBS_Daily datastore ( again I tried this with the root@pam and it works no problem)

Do I need any additional rights on the actual datastore in order to use the namespace?
 
no, the ACL path is wrong ;) the 'ns' sub-dirs are just there on disk (and on tape, if you use that), everywhere else just "JPDSM" is correct.

so an ACL referring to the "JPDSM" namespace in the "PBS_Daily" datastore would use "/datastore/PBS_Daily/JPDSM"
 
  • Like
Reactions: Michael.Uray