I want to make a backup, but my tapes don't have space for everything, so I decided to not back up virtual machines (over 1tb).
I have the virtual machines in
I used this command
tar cvf - /home/user -X altro/file.esclude | openssl aes-256-cbc -salt -k "password" | dd bs=80M of=/dev/st0
altro/file.esclude I put this line
But tar ignore the exclude file and backups everything!!
So I use
tar cvf - /home/user --exclude '/home/user/.local/share/libvirt/images' | openssl aes-256-cbc -salt -k "password" | dd bs=80M of=/dev/st0
And... same thing!
System is Slackware 14.2 with gnu tar