Running Debian 8.2, xfce 4.10, rsync 3.1.1-3. I just edited my backup script as follows:
#The first line deletes extraneous files. The second does not and is used for normal backups. # rsync -vaHz --delete --exclude '/proc' --exclude '*.iso' --exclude '/sys' --exclude '/home/holtzm/Documents/*.iso' --exclude '/media' /. /media/cf0a98ed-3c11-4107-b61e-f5139d024396/Jessie-laptop # rsync -vaHz --exclude '/proc' --exclude '/sys' --exclude '*.iso' --exclude '/home/holtzm/Documents/*.iso' --exclude '/media' /. /media/cf0a98ed-3c11-4107-b61e-f5139d024396/Jessie-laptop ############################################################################################################################################## rsync -vaHz --delete --exclude '/holtzm/exclude' /. /media/cf0a98ed-3c11-4107-b61e-f5139d024396/Jessie-laptop # rsync -vaHz --exclude '/holtzm/exclude' /. /media/cf0a98ed-3c11-4107-b61e-f5139d024396/Jessie-laptop The lines above the hash marks are the original script which worked flawlessly. Also, I just changed to an exclude file ($HOME/exclude) as follows: '/dev' '/lost+found' '/proc' '/media' '/tmp' '/*./*iso' My problem is that when I run the script I get this error message: root@localhost:/home/holtzm# scripts/backup scripts/backup: line 4: /.: Is a directory scripts/backup: line 7: /.: Is a directory sending incremental file list rsync: mkdir "/media/cf0a98ed-3c11-4107-b61e-f5139d024396/Jessie-laptop" failed: No such file or directory (2) rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.1] Tried running searches w/ no luck. Checked all the docs I could find w/ no luck. Obviously, I screwed something up with the changes. Any pointers appreciated. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html