[SOLVED] permission check failed exit code 255 after backup

NathanD

Member
Nov 29, 2019
16
3
23
Hello,

Testing PBS at this moment. Nice piece of software with the whole Proxmox base feeling. We're getting an error on the prune part I think:

116: 2020-10-02 13:50:25 INFO: status: 99% (15.8 GiB of 16.0 GiB), duration 322, read: 54.7 MiB/s, write: 54.7 MiB/s
116: 2020-10-02 13:50:30 INFO: status: 100% (16.0 GiB of 16.0 GiB), duration 327, read: 32.0 MiB/s, write: 32.0 MiB/s
116: 2020-10-02 13:50:30 INFO: backup was done incrementally, reused 13.83 GiB (86%)
116: 2020-10-02 13:50:30 INFO: transferred 16.00 GiB in 327 seconds (50.1 MiB/s)
116: 2020-10-02 13:50:30 INFO: run: /usr/bin/proxmox-backup-client prune vm/116 --quiet 1 --keep-last 1 --repository office@pbs@172.24.254.89:backups
116: 2020-10-02 13:50:31 INFO: Error: permission check failed
116: 2020-10-02 13:50:31 ERROR: Backup of VM 116 failed - command '/usr/bin/proxmox-backup-client prune vm/116 --quiet 1 --keep-last 1 --repository office@pbs@172.24.254.89:backups' failed: exit code 255

On the PBS server looks everything okay:

2020-10-02T13:50:29+02:00: add blob "/backups/vm/116/2020-10-02T11:45:01Z/index.json.blob" (309 bytes, comp: 309)
2020-10-02T13:50:29+02:00: successfully finished backup
2020-10-02T13:50:29+02:00: backup finished successfully
2020-10-02T13:50:29+02:00: TASK OK

It's annoying because we get failed messages from our Proxmox VE. How can I fix that error? I also tried changing permissions of the user, but that doesn`t solve the issue.

Thanks in advance.
 
does 'office@pbs' have the permission to prune backups?
 
The user had DatastoreBackup rights, but it seems that wasn`t enough. As admin it went smooth, but I saw in the documentation it probably should be the DatastorePowerUser.
 

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!