Proxmox-backup-client

export PBS_REPOSITORY=root@pam@192.168.123.111:8007:Data && \
export PBS_PASSWORD=<your-pbs-password> && \
proxmox-backup-client backup archlinux-home-suling.pxar:/home/suling
cat .pxarexclude
-----
.cache  
.config/google-chrome  
.config/QQ  
.config/yesplaymusic  
.config/Code  
.local/share/TelegramDesktop  
.nuget  
.npm  
.vscode  
.yarn  
Downloads  
Videos
-----

Crontab

crontab -e
 
0 3 * * * bash -c "export PBS_REPOSITORY=root@pam@192.168.123.111:8007:Data && export PBS_PASSWORD=<your-pbs-password> && proxmox-backup-client backup archlinux-home-suling.pxar:/home/suling"