全国直销电话:4006-854-568
IT-technology
以人为本,众志成城,以“用户至上”.“服务上乘”为原则,
追求产品和服务高质量,努力实现与客户之间真诚有效的沟通,
不断地圆梦、奔跑与腾飞。
新闻动态   NEWS
线上服务器数据同步与备份工具rsync的两种使用场景及示例-北京赛维博信科技发展有限公司
来源:本文摘自网络,如有侵权请联系删除 | 作者:svbx001 | 发布时间: 2022-08-04 | 4648 次浏览 | 分享到:

然后在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 /]# 
 

服务热线

1391-024-6332