Tuxis launches free Proxmox Backup Server BETA service

leesteken

Famous Member
May 31, 2020
2,369
508
118
Hey, is it possible to backup PVE virtual machines using an API key instead of the actual login and password? When logged in with my username and password, everything works fine, but I'm getting the following error when trying to back up my VM using an API key:
Code:
ERROR: VM 100 qmp command 'backup' failed - backup connect failed: command error: backup owner check failed (DB1000@pbs!api-key != DB1000@pbs)
(number in the username (after DB) and api-key names redacted for privacy)
Something like this hit me a quite some time ago: If there are exising backups owned by the user, then an API-key is typically not allowed to access them and backups fail. Change the owner of the existing backups to the API-key and all should work again. At least I think that's how I fixed it.
 
  • Like
Reactions: Neobin and rason

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
8,150
1,592
164
@leesteken that's exactly right (and the user that the "owner" API token belongs to will be able to access/manage those backup groups as well!)
 
  • Like
Reactions: Neobin

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 your own in 60 seconds.

Buy now!