Linux下实现文件双向同步

修改的地方时:私钥和公约处。

其次 vi /root/.unison/default.prf 这个文件在这个位置

root = /tmp/test
root = ssh://root@10.10.3.95//tmp/test/
#force =
#ignore =
batch = true
#repeat = 1
#retry = 3
owner = true
group = true
perms = -1
fastcheck = false
rsync = false
sshargs = -C
xferbycopying = true
log = true
logfile = /root/.unison/unison.log
~                                    

 

 

只在一台服务器上 修改上面的变量

http://hx100.blog.51cto.com/44326/612301/

posted @ 2015-05-08 16:36  kin2321  阅读(913)  评论(0编辑  收藏  举报