Hi

I would like to ask, when the "vanished files" warning is a sign that something 
bad is happening somewhere. I know that the `rsync-no-vanished` script can 
silence the warning, but I am wondering whether this is a sane thing to do.

My guess based on https://bugzilla.samba.org/show_bug.cgi?id=3653#c26 and 
https://bugzilla.samba.org/show_bug.cgi?id=10356 is that it's fine, but I'd 
like to verify :)

In my case, I have a batch process that creates ~500 files, some take 30 min, 
some take 8h to be created. The files are created in a tmp dir and are moved to 
a final dir when they are finished. Every 5 mins, I rsync the files from the 
final directory to a remote machine. I guess that during the sync process some 
files get re-written, when the batch process moves the fresh ones in the final 
dir.

My cron entry:
flock -xn /lock_file -c                                       \
"/usr/bin/rsync -e \"ssh -C\" --bwlimit=512k                  \
--recursive --delay-updates --quiet --update                  \
--include=\"*/\" --include=\"*.xml\" --include=\"*.csv\"      \
--exclude=\"*\"                                               \
/LOCAL_SOURCE_DIR/ REMOTE_IP:/DEST_DIR/"

Both source and destination are on 
$ rsync --version
rsync  version 3.1.0  protocol version 31

Regards
Vangelis

-- 
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

Reply via email to