"password"@ip:port,免密码认证下格式为ip:port。"password"@ip:port,免密码认证下格式为ip:port。./redis-sync -m 127.0.0.1:6379 -t "xxx2018"@10.0.5.8:6379
[root@VM_5_16_centos bin]# ./redis-sync -m 127.0.0.1:6379 -t "xxx2018"@10.0.5.8:63792019/02/21 09:56:00 sync.go:76: [INFO] sync: master = "127.0.0.1:6379", target = "xxx2018@10.0.5.8:6379"2019/02/21 09:56:01 sync.go:103: [INFO] +2019/02/21 09:56:01 sync.go:109: [INFO] sync: runid = "f63e2ad58e2fcc15c8cc122f15778389a012c1a4", offset = 185762712019/02/21 09:56:01 sync.go:110: [INFO] sync: rdb file = 9063349 (8.64mb)2019/02/21 09:56:01 sync.go:208: [INFO] sync: (r/f,s/f,s) = (read,rdb.forward,rdb.skip/rdb.forward,rdb.skip)2019/02/21 09:56:02 sync.go:250: [INFO] sync: rdb = 9063349 - [100.00%] (r/f,s/f,s)=(1703936/71754,0/0,0) ~ (1.62mb/-,-/-,-) ~ speed=(1.62mb/71754,0/0,0)2019/02/21 09:56:03 sync.go:250: [INFO] sync: rdb = 9063349 - [100.00%] (r/f,s/f,s)=(3407872/153850,0/0,0) ~ (3.25mb/-,-/-,-) ~ speed=(1.62mb/82096,0/0,0)2019/02/21 09:57:54 sync.go:250: [INFO] sync: rdb = 9063349 - [100.00%] (r/f,s/f,s)=(80487526/411969,0/1587212,0) ~ (76.76mb/-,-/-,-) ~ speed=(0/0,0/0,0)
"password"@ip:port,免密码认证下格式为ip:port。./redis-restore dump.rdb -t 127.0.0.1:6379
"password"@ip:port,免密码认证下格式为ip:port。./redis-dump 127.0.0.1:6379 -o dump.rdb
文档反馈