首页 > 代码库 > rsync部署

rsync部署

centos6,rsync 3.X比对方法,一遍比对差异,一遍对差异的部分进行同步。

查看rysnc版本:

[root@backup ~]# rsync --version
rsync  version 3.0.6  protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.


安装可以采用编译方法安装:


[root@backup ~]# rpm -qa rsync
rsync-3.0.6-12.el6.x86_64


本文出自 “sandshell” 博客,请务必保留此出处http://sandshell.blog.51cto.com/9055959/1950966

rsync部署