Etienne wrote: > I would like to know if it's possible for Rsync to automatically mirror a > folder and it's content from one deamon to another. (or one client to a > deamon) Basically I want users to drag and drop files in a folder and Rsync > to mirror these files as soon as it sees them. A cron or schedule task is > not a viable solution since we can receive files any time of night or day > and we need to send them in very timely manner.
How timely is timely? I have an rsync wrapper script that is invoked by cron every sixty seconds. If rsync is running (which implies that a file is being transferred), it aborts, otherwise, it does its normal rsync thing. The end-result is that we start transferring files from one location to another about 30 seconds (on average) after the file is written. It works quite well for our purposes, but in our case, "timely" is generally less than five minutes. --Kyle -- 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