Hi all,
i have add in PBS GUI a API-Token root@pam and set API-Permissions for this user to /datastore with admin rights in Right section and datastore right section.
After i have Login with ssh to my proxmox node and use this commands:
any ideas?
regards
i have add in PBS GUI a API-Token root@pam and set API-Permissions for this user to /datastore with admin rights in Right section and datastore right section.
After i have Login with ssh to my proxmox node and use this commands:
but after i use this, i get error:export PBS_PASSWORD=passwordfromapiuser
export PBS_FINGERPRINT=paste_from_my_PBS
pbs-restore --repository root@pam@ipofmybackupserver:mydatastorename vm/5139/2026-04-18T20:22:42Z drive-virtio0.img.fidx /var/lib/vz/images/5139/vm-5139-disk-0 --verbose --format raw --skip-zero
PBS syslog:restore failed (connection error): command error: permission check failed.
what is problem here? i have set all rights correct in backup-srv!Apr 19 22:03:33 backup-srv unix_chkpwd[368050]: password check failed for user (root)
Apr 19 22:03:33 backup-srv proxmox-backup-api[3298958]: pam_unix(proxmox-backup-auth:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=::ffff:myipv4ofpnode user=root
Apr 19 22:03:35 backup-srv proxmox-backup-api[3298958]: authentication failure; rhost=[::ffff:myipv4ofpnode]:40990 user=root@pam msg=authentication error - AUTH_ERR (7)
Apr 19 22:03:38 backup-srv proxmox-backup-api[3298958]: POST //api2/json/access/ticket: 401 Unauthorized: [client [::ffff:myipv4ofpnode]:40990] permission check failed.
any ideas?
regards
Last edited: