When I perform a rsync with backup I get 100's of: make_bak_dir mkdir "/export/giger.back.....eary/java/weka/gui" failed: File exists make_bak_dir mkdir "/export/giger.back....ary/java/weka/gui" failed: File exists make_bak_dir mkdir "/export/giger.back...ary/java/weka/gui" failed: File exists . . . My backup command is: rsync -q --backup --backup-dir=/export/giger.backup/share-`date +%Y-%m-%d` --exclude="/javadocs/" --exclude="/tmp/" --exclude="*.class" --delete -ar giger::export/share.giger /export So I wasn't expecting to get lots of output. My cron entry now mails me errors whenever I backup. cheers -- Stuart Inglis, Ph.D. Managing Director Reel Two Ltd Phone: +64 7 857 0700 Cell: +64 21 314 159
On Tue, May 04, 2004 at 12:19:29PM +1200, Stuart Inglis wrote:> make_bak_dir mkdir "/export/giger.back.....eary/java/weka/gui" failed: > File existsDid you check that path? I assume there is a file that is in the way of a directory that needs to be created. Perhaps this condition just arose? If the above guess is right, you can manually remove the file and it should let rsync create the directory it's trying to make. (Yes, in the future it would be nice if the backup option dealt with a file switching to a directory in a better fashion.) If the above guess is not right, please supply more detail as to what exactly isn't working as expected. ..wayne..