I'm trying to back up my home directory while excluding the /VirtualBox VMs directory. I came up with this new command that, according to the syntax instructions, should mean rdiff-backup would henceforth skip that directory.

   rdiff-backup --api-version 201 backupĀ  --exclude
   '/home/eric/VirtualBox VMs' --include /home/eric
   --exclude '**' /run/media/eric/backup


Yet, when I ran this command, it proceeded to backup the 'VirtualBox VMs' folder. I thought I understood the syntax as saying that the --exclude Folder, coming before the --include /home/eric would take precedence and leave Folder out of the /home/eric backup.

What am I getting wrong here?
--
Eric Beversluis
www.ericbeversluis.com
2x Honorable Mention--Writer's Digest Contest

Reply via email to