PVE Backup to PBS tries to "prune" now and get permission error

Apollon77

Well-Known Member
Sep 24, 2018
153
13
58
47
hey,

I'm using PBS on PVE since some time and everything was ok. Yesterday I updated to the latest 0.9.4-1 and got a backup error. Basically it seems that since the last version PVE tries to call "prune" at the end of the backups.

Code:
INFO: running 'proxmox-backup-client prune' for 'ct/306'
ERROR: prune 'ct/306': proxmox-backup-client failed: Error: permission check failed
ERROR: Backup of VM 306 failed - error pruning backups - check log
INFO: Failed at 2020-10-30 10:00:34
INFO: Backup job finished with errors

I use a permission limited user in pbs that only have DatastoreBackup. In my eyes this should be enough because I do not want to give too high permissions.

So do I need to make that user now a PowerUser or what to allow why PVE is doing?! Or should you not do a config switch if prune should be done? (because PBS normally has it's schedules for this :cool:

Ingo
 
yeah, pruning should be skipped if the storage and backup job are not configured for pruning..
 
  • Like
Reactions: Apollon77
yes. in the meantime you can add --remove 0 to the command line, it should stop pruning then.
 
  • Like
Reactions: Chriswiss
You 've to back your data-store with Power-user Role. this role include Backup and Prune privilege.
Best
 

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!