Looks like my backup script it's excluding all the directories I've specified except for one /var/backups
which contains the tar file just created with the script. What am I doing wrong?
I've already followed the suggestions in this post.
Here's my script:
tar -zcpf /var/backups/"full_system_backup_$(date +%Y%m%d_%H%M%S).tar.gz" --directory=/ --exclude=/var/backups --exclude=proc --exclude=sys --exclude=dev/pts .