How to: Periodic backup of folders on a PVE server.

AngryAdm

Member
Sep 5, 2020
145
30
18
94
I have a fileserver which house several ZFS datasets that I would like to backup periodically.

I run this command on the fileserver (pve01) to do the backup manually, but it asks me for password each time. How do I implement the password into the command line so I can do a cron-job?

Code:
root@pve01:~# proxmox-backup-client backup homes.pxar:/storage/homes/ --repository root@pam@10.0.0.7:backup
 
Thanks, I somehow missed that in the documentation when using the search function searching for "password" odd.