yum install rsync xinetd
# default: off # description: The rsync server is a good addition to an ftp server, as it \ # allows crc checksumming etc. service rsync { disable = no flags = IPv6 socket_type = stream wait = no user = root server = /usr/bin/rsync server_args = --daemon log_on_failure += USERID } [backup] path = /var/www/pms uid = root gid = root hosts allow = 192.168.1.0/24 read only = no
service xinetd restart
rsync -azrP --delete /var/www/speech/sysdata 140.112.124.67::backup/