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

AngryAdm

Member
Sep 5, 2020
145
23
18
93
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.
 

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!