PBS data stores show offline after changing root password

Bubbagump210

Member
Oct 1, 2020
53
36
23
46
As the title says, when I change the root password of the PBS server, all nodes lose access to the data store. When I open the datastore in the data center settings of PVE, the password seems to not be able to be changed. I am missing something as I don't understand how the root password is related to datastore access.
 
  • Like
Reactions: paxmobile
you can change the password via cli:

Code:
pvesm set <PBS_STORAGE> --password
 
  • Like
Reactions: _gabriel
you can change the password via cli:

Code:
pvesm set <PBS_STORAGE> --password
Aha, wonderful.

As a side question, root seems like a bad idea. How does the user used for the connection map to permissions? It seems the ACLs in the web front end map to permissions within the web console only and the docs don’t explain it anywhere I can see. Therefore it seems an old school /etc/passwd user is needed. Do they simply need to be in the backup group in /etc/group?
 
Last edited:
How does the user used for the connection map to permissions? It seems the ACLs in the web front end map to permissions within the web console only and the docs don’t explain it anywhere I can see. Therefore it seems an old school /etc/passwd user is needed. Do they simply need to be in the backup group in /etc/group?
what do you mean? the user which is used to connect to pbs? those are documented: https://pbs.proxmox.com/docs/user-management.html

in general i'd use a seperate user for the pve -> pbs connection, or an api token
 
what do you mean? the user which is used to connect to pbs? those are documented: https://pbs.proxmox.com/docs/user-management.html

in general i'd use a seperate user for the pve -> pbs connection, or an api token
Ok, so

DatastorePowerUser
Can backup, restore, and prune owned backups.

refers to on disk permissions too? I understood that to mean permissions to literally click "prune" in the web console and not the on disk permissions. This makes more sense. Thanks!