OS: fedora core 2, most updates but due to device driver I run 2.6.5-1.358 rsync: 2.6.3 all my machines run same OS/packages, they are basically clones of each other. Bug: In version prior 2.6.2 there was a bug that showed an error: mkdir "/foo/bar/blah" failed: File exists This was fixed, thank you. However, using 2.6.3 this message is still occuring when a SOURCE DIRECTORY tree was deleted as shown in the example below. Explanation: I have a number of large USB based hardisks I use to store incremental backups. This harddisks are attached to the most central machine which uses rsync to connect to other machines as well as "to itself" (I use tapes as well). Anyway, I deleted some users on one machine including their home directories as I had moved them to another machine. Running /usr/bin/rsync -rlptgoD --force --ignore-errors --delete --delete-excluded --exclude .snapshot/ --exclude "*~" --backup --backup-dir=/mnt/usb/ronnie/incremental_March.0/home ronnie:/home/ /mnt/usb/ronnie/current/home will yield following errors: rsync: mkdir "/mnt/usb/ronnie/incremental_March.0/home/rsa/tmp" failed: File exists (17) rsync: mkdir "/mnt/usb/ronnie/incremental_March.0/home/rsa/src/fvwm-themes-0.6.2/themes/redmond98/modules/taskbarpos" failed: File exists (17) rsync: mkdir "/mnt/usb/ronnie/incremental_March.0/home/rsa/src/fvwm-themes-0.6.2/themes/redmond98/modules/taskbar" failed: File exists (17) rsync: mkdir "/mnt/usb/ronnie/incremental_March.0/home/rsa/src/fvwm-themes-0.6.2/themes/redmond98/modules/pager" failed: File exists (17) rsync: mkdir "/mnt/usb/ronnie/incremental_March.0/home/rsa/src/fvwm-themes-0.6.2/themes/redmond98/modules/buttonbar" failed: File exists (17 etc .... which can ONLY be the case when the SOURCE directory is deleted and hence they need to be moved to the incremental directory. jobst
This has been fixed in CVS for a long time (and is fixed in the 2.6.4 pre-releases too -- please test them). See the final comment in bug #1412 for the patch that was applied to 2.6.3.