Live syncing using lsyncd
:: what is lsyncd
Lsyncd watches a local directory trees event monitor interface (inotify). It aggregates and combines events for a few seconds and then spawns one (or more) process(es) to synchronize the changes. By default this is rsync. Lsyncd is thus a light-weight live mirror solution that is comparatively easy to install not requiring new filesystems or blockdevices and does not hamper local filesystem performance. :: lsyncd
:: how to install lsyncd on linux debian
# aptitude install lsyncd
:: using lsyncd
* local directory
# lsyncd /path/source /path/destination
* remote server directory (two / more)
# lsyncd /path/source username@server1:/path/dest username@server2:/path/dest
:: links
* google
* linuxmagazine
wow menarik ini…h ahah ha
mantraps gan š