proxmox backup client - cant, for the life of me, get --exclude to work

Jun 18, 2023
19
1
3
Hi,

i have a backup script which runs fine. in there i have this:

Code:
proxmox-backup-client backup $BACKUP_NAME.pxar:/ --repository root@pam@$BACKUP_SERVER:$BACKUP_DATASTORE && proxmox-backup-client prune host/$HOSTNAME --repository root@pam@$BACKUP_SERVER:$BACKUP_DATASTORE --keep-last $KEEP_DAILY

which does the job perfectly.

now i want to have a similar script on a different server and want to exclude a couple dirs, so i thought i could just do a:

Code:
proxmox-backup-client backup $BACKUP_NAME.pxar:/ --exlude /dev --exclude /boot --exclude /proc --repository root@pam@$BACKUP_SERVER:$BACKUP_DATASTORE && proxmox-backup-client prune host/$HOSTNAME --repository root@pam@$BACKUP_SERVER:$BACKUP_DATASTORE --keep-last $KEEP_DAILY

but as soon as i do that, the pbc fails with the following error:

Error: parameter verification failed - 'exlude': schema does not allow additional properties.

i googled back and forth but i dont find my mistake.

any help is appreciated!

thanks!
 

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!