PVE - Proxmox Backup Server Storage with 2AF authenticated user...

cpulove

Member
Jul 12, 2024
44
4
8
I have a question.
I have a main online server which is syncing to my homelab via Proxmox Backup Server.
So far so good, I do that with a backup_user account with only one permisson for datastore management.
Now I would like to lay a second layer of protection with 2FA on top.
2FA by itself works fine, the only thing I struggle is, how to use the API tokens to setup the PVE > Proxmox Backup Server storage.
Of course I gave the backup_user both, API permission with a token and the User permission to do the job!

Bildschirmfoto 2024-10-13 um 08.47.06.png

Which login credentials from above should I use here, to be able to setup the PBS Storage device as followed?
I tried both user and api permission backup_user@pbs and backup_user@pbs!epyc with the responding password, but I can't get access.

Bildschirmfoto 2024-10-13 um 08.41.01.png

Help would be nice!
 
Strange, when set to permisson 'DatastoreAudit' it works flawless
I have a question.
I have a main online server which is syncing to my homelab via Proxmox Backup Server.
So far so good, I do that with a backup_user account with only one permisson for datastore management.
Now I would like to lay a second layer of protection with 2FA on top.
2FA by itself works fine, the only thing I struggle is, how to use the API tokens to setup the PVE > Proxmox Backup Server storage.
Of course I gave the backup_user both, API permission with a token and the User permission to do the job!

View attachment 76172

Which login credentials from above should I use here, to be able to setup the PBS Storage device as followed?
I tried both user and api permission backup_user@pbs and backup_user@pbs!epyc with the responding password, but I can't get access.

View attachment 76171

Help would be nice!

Update: with DatastoreAudit or DatastoreAdmin I was able to connect. DatastoreBackup still does not work.
Is there a way to see the permissions roles via SSH?
 
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!