lsyncd

echo 16777216 > /proc/sys/fs/inotify/max_user_watches
echo 65536 > /proc/sys/fs/inotify/max_queued_events
echo fs.inotify.max_user_watches = 16777216 >> /etc/sysctl.conf
echo fs.inotify.max_queued_events = 65536 >> /etc/sysctl.conf
/etc/lsyncd.conf
settings { 
    insist = true, 
    delay=2 
}

sync {
    default.rsyncssh,
    source="/data",
    host="192.168.1.2",
    targetdir="/data",
    exclude = { '.bak' , '.tmp' , '.#*' , 'access_log', 'error_log' },
    delete="running",
    rsync = {
        owner=true, group=true, perms=true,
        _extra = { "-ausS", "--temp-dir=/tmp" }
    }
}