然后在rsyncnew02
主机上通过拉模式同步数据:
[root@rsyncnew02 /]# rsync -vzrtopg --delete --progress root@192.168.250.50:/data/ /mybackup/
The authenticity of host '192.168.250.50 (192.168.250.50)' can't be established.
ECDSA key fingerprint is SHA256:vThEoRhUOECeD5jhE+m8TZA2+6OoElIoNOQ3XqtopZw.
ECDSA key fingerprint is MD5:97:40:b2:35:6e:07:5a:61:1f:73:f1:b2:6e:54:5b:7d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.250.50' (ECDSA) to the list of known hosts.
root@192.168.250.50's password:
receiving incremental file list
deleting control01.ctl
./
mytest.tar.gz
108,472 100% 34.48MB/s 0:00:00 (xfr#1, to-chk=1/4)
nagios-plugins-2.3.3.tar.gz
2,782,610 100% 15.99MB/s 0:00:00 (xfr#2, to-chk=0/4)
sent 65 bytes received 2,889,406 bytes 214,034.89 bytes/sec
total size is 2,999,554 speedup is 1.04
[root@rsyncnew02 /]#