sersync实时同步操作记录(仅供自己参考所用)

sersync实时同步操作记录(仅供自己参考所用)


cp sersync2.5.4_64bit_binary_stable_final.tar.gz  /usr/local/
cp sersync_installdir.tar.gz  /usr/local/
cp sersync_tools.tar.gz  /usr/local/
cd /usr/local


tar -xf sersync_installdir.tar.gz 




cat /etc/exports
#shared data for nfs-mywebserver by dexter-wang at 20170301
/data 10.1.0.0/16(rw,anonuid=65534,anongid=65534,sync)
/www 10.1.0.0/16(rw,sync)


# vim /usr/local/sersync/conf/confxml.xml 




       




 
     
     
     
     
     
 





echo 'export PATH=$PATH:/usr/local/sersync/bin' >> /etc/profile


tail -1 /etc/profile
source /etc/profile
which serync


sersync -r -d -o /usr/local/sersync/conf/confxml.xml

你可能感兴趣的:(Rsync)