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

cglmicro

Active Member
Oct 12, 2020
108
13
38
52
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.