Hi Proxmox lovers !
I have some Proxmox VE and just discover PBS. As I have a LTO-4 tape reader, I thought it was time to make "real" offline backups ! ;-)
As I have multiple PVE instances, I have multiple Datastores. And to protect all that, I create multiple API tokens, one per PVE.
Everything works fine : backups works great, verification, dump to tape, etc. But, as a backup is never safe until you validate the restore step, I tried, and it fails.
When restoring back from tape, I have this error (with "backup@pbs" as my username and "backup@pbs!home-cluster" as my API token) :
I can set the owner of the restore target, but only as "backup@pbs" (the user, not the API token). Manual setting to "backup@pbs!home-cluster" is refused.
My main "backup@pbs" account has DatastorePowerUser rights on all DataStores.
Version : Backup Server 2.1-5
I somebody tried a tape backup (and restore) with API token ? Should I remove all tokens and create real users instead ? I prefer the API token idea but I prefer a working backup ! ;-)
Many thanks,
Fred @ Strasbourg, France
I have some Proxmox VE and just discover PBS. As I have a LTO-4 tape reader, I thought it was time to make "real" offline backups ! ;-)
As I have multiple PVE instances, I have multiple Datastores. And to protect all that, I create multiple API tokens, one per PVE.
Everything works fine : backups works great, verification, dump to tape, etc. But, as a backup is never safe until you validate the restore step, I tried, and it fails.
When restoring back from tape, I have this error (with "backup@pbs" as my username and "backup@pbs!home-cluster" as my API token) :
Code:
2022-03-12T12:24:32+01:00: TASK ERROR: restore 'vm/202/2022-03-11T13:52:44Z' failed - owner check failed (backup@pbs != backup@pbs!home-cluster)
I can set the owner of the restore target, but only as "backup@pbs" (the user, not the API token). Manual setting to "backup@pbs!home-cluster" is refused.
My main "backup@pbs" account has DatastorePowerUser rights on all DataStores.
Version : Backup Server 2.1-5
I somebody tried a tape backup (and restore) with API token ? Should I remove all tokens and create real users instead ? I prefer the API token idea but I prefer a working backup ! ;-)
Many thanks,
Fred @ Strasbourg, France
Last edited: