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

Apollon77

Active Member
Sep 24, 2018
154
14
58
49
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