root@pam user and key based authentication

SamTzu

Renowned Member
Mar 27, 2009
523
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 )
 

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!