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!