root@pam user and key based authentication

SamTzu

Renowned Member
Mar 27, 2009
528
17
83
Helsinki, Finland
sami.mattila.eu
hmm. I don't understand why root@pam always asks password when I do this:
Code:
/usr/bin/proxmox-backup-client backup etc.pxar:/etc var.pxar:/var --repository backup.ic4.eu:store1
The backup-client is Proxmox host and should have proper keys to backup server.
 
because the proxmox-backup-client does not know anything about proxmox ve configurations and is more or less a standalone tool, "it just so happens" that it is used by PVE to backup to pbs
if you want to automate it, i'd recommend using tokens and something like cron or systemd timers (you can use environment variables for the user/password etc. see https://pbs.proxmox.com/docs/backup-client.html )