TASK ERROR: Failed to retrieve backup groups from remote when 2fa is enabled

cglmicro

Member
Oct 12, 2020
98
11
13
51
Hi guys.

If I enable 2FA on my SERVER A, and I try to access it from SERVER B I receive :
TASK ERROR: Failed to retrieve backup groups from remote - authentication failed - ticket with bad timestamp: invalid digit found in string

It work fine when I disable 2FA on SERVER A.

Thanks.
 
you cannot use an account with 2fa enabled in an automated fashion, instead, create an api token for that user, create the appropriate permissions and use that. tfa only works on the pbs web ui
 
Thanks for the insight.
I've created an API TOKEN (admin right), I've added it to my PVE as a new PBS, I've changed my BACKUP schedule to use the new destination, but when I try to start a backup job, I receive this error because the backup already on PBS are owned be user root@pam instead of the new root@pam!sauvegarde-pve :
Code:
ERROR: VM 1401 qmp command 'backup' failed - backup connect failed: command error: backup owner check failed (root@pam!sauvegarde-pve != root@pam)
I didn't find where to change the owner of a backup set in PBS.
 
I didn't find where to change the owner of a backup set in PBS.
either in the pbs gui (the 'user' symbol) or with 'proxmox-backup-client change-owner'
 

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!