Hi Gents,<br><br>I have written a backup script with rsync, which is working fine for a long time. Now a problem has occured. which I am not able to solve by my own:<br><br>Before I am doing the backup I am checkig if there are any changes to backup ...<br>



<br><span style="font-family:courier new,monospace;color:rgb(51, 51, 255)">rsync  --delete $RSYNC_EXCLUDE -avzne "$RSYNC_SSH" $RSYNC_SOURCE $RSYNC_DESTINATION</span><br><br>But when I have created a path of new directories in $RSYNC_SOURCE e. g. $RSYNC_SOURCE/new_dir/new_dir/new.file then its fails with ...<br>



<br style="font-family:courier new,monospace;color:rgb(51, 51, 255)"><span style="font-family:courier new,monospace;color:rgb(51, 51, 255)">skipping daemon-excluded directory "$RSYNC_SOURCE/new_dir/new_</span><span style="font-family:courier new,monospace;color:rgb(51, 51, 255)">dir"</span><br style="font-family:courier new,monospace;color:rgb(51, 51, 255)">


<span style="font-family:courier new,monospace;color:rgb(51, 51, 255)">*** Skipping any contents from this failed directory ***</span><br style="font-family:courier new,monospace;color:rgb(51, 51, 255)"><br style="font-family:courier new,monospace;color:rgb(51, 51, 255)">


<span style="font-family:courier new,monospace;color:rgb(51, 51, 255)">sent 288255 bytes  received 962 bytes  23137.36 bytes/sec</span><br style="font-family:courier new,monospace;color:rgb(51, 51, 255)"><span style="font-family:courier new,monospace;color:rgb(51, 51, 255)">total size is 14120423141  speedup is 48822.94 (DRY RUN)</span><br style="font-family:courier new,monospace;color:rgb(51, 51, 255)">


<span style="font-family:courier new,monospace;color:rgb(51, 51, 255)">
rsync error: some files/attrs were not transferred (see previous errors) (code </span><br style="font-family:courier new,monospace;color:rgb(51, 51, 255)"><span style="font-family:courier new,monospace;color:rgb(51, 51, 255)">23) at main.c(1042) [sender=3.0.7]</span><br>


<br>Now my questions ;-):<br><br>How I can prevent this "skipping daemon-excluded directory"?<br>
Is there an other (better) way to check for changes in advance?<br>Or do you have any other idea (for solving my problem)?<br><br>Thanks a lot for every answer, Thomas<br>