Is there any tool available to sync files between two or more linux servers immediately after writing the file in the disk? The rsync
command does not suit me on this, because if I set rsync
in cron, the minimum time I can set is 1 minute, but I need it on real-time basis.
Linux Synchronization – Real-Time File Synchronization Methods
fileslinuxsynchronization
Best Answer
Haven't used it myself but read about it recently. There is a daemon called
lsyncd
, which I presume does exactly what you need.Read more about it HERE