[CentOS] file system replication

John R Pierce pierce at hogranch.com
Thu Oct 9 18:05:27 UTC 2014


On 10/9/2014 10:55 AM, Keith Keller wrote:
> [lysncd is] basically a daemon monitoring inotify events and sending them to an
> rsync, so it can keep things up to date more easily.  (I have never used
> it myself, so caveat emptor.)

rsync is only safe to use on something like a database server if you 
stop the database each time you run rsync, otherwise the files will get 
out of sync.

I suppose you could setup mysql replication, and exclude mysql from the 
lsyncd/rsync, that would be one approach.


-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast




More information about the CentOS mailing list