proxmox-backup-client: prevent delete backups from client

Jun 4, 2020
4
0
6
44
Moin zusammen,

man kann vom Client aus die vorhanden Backups löschen, besteht die möglichkeit das irgendwie zu verhindern oder zu deaktivieren?
Ich möchte verhindern das ein kompromittierter Server, seine eigenen Backups löschen kann.

VG.

Marcel
 
Hallo!

Das Szenario wurde beim Konstruieren des Rechte- und Zugangssystem bedacht.

Einfach dem Benutzer (oder besser noch API Token) nur die DatastoreBackup Rolle auf dem Datastore geben.
DatastoreBackup
Can backup and restore owned backups.
https://pbs.proxmox.com/docs/user-management.html#access-control

Fürs Löschen der eigenen Backups (da wo der Benutzer Eigentümer (owner) ist), benötigt man die DatastorePowerUser Rolle.

DatastorePowerUse
Can backup, restore, and prune owned backups.
 

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!