{"id":6267,"date":"2020-01-19T20:03:04","date_gmt":"2020-01-19T12:03:04","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6267"},"modified":"2020-01-21T16:49:28","modified_gmt":"2020-01-21T08:49:28","slug":"rsync","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/rsync","title":{"rendered":"rsync\u547d\u4ee4 – \u8fdc\u7a0b\u6570\u636e\u540c\u6b65\u5de5\u5177"},"content":{"rendered":"\n
rsync\u547d\u4ee4\u662f\u4e00\u4e2a\u8fdc\u7a0b\u6570\u636e\u540c\u6b65\u5de5\u5177\uff0c\u53ef\u901a\u8fc7LAN\/WAN\u5feb\u901f\u540c\u6b65\u591a\u53f0\u4e3b\u673a\u95f4\u7684\u6587\u4ef6\u3002<\/p>\n\n\n\n
rsync\u4f7f\u7528\u6240\u8c13\u7684\u201crsync\u7b97\u6cd5\u201d\u6765\u4f7f\u672c\u5730\u548c\u8fdc\u7a0b\u4e24\u4e2a\u4e3b\u673a\u4e4b\u95f4\u7684\u6587\u4ef6\u8fbe\u5230\u540c\u6b65\uff0c\u8fd9\u4e2a\u7b97\u6cd5\u53ea\u4f20\u9001\u4e24\u4e2a\u6587\u4ef6\u7684\u4e0d\u540c\u90e8\u5206\uff0c\u800c\u4e0d\u662f\u6bcf\u6b21\u90fd\u6574\u4efd\u4f20\u9001\uff0c\u56e0\u6b64\u901f\u5ea6\u76f8\u5f53\u5feb\u3002<\/p>\n\n\n\n
rsync\u662f\u4e00\u4e2a\u529f\u80fd\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5176\u547d\u4ee4\u4e5f\u6709\u5f88\u591a\u529f\u80fd\u7279\u8272\u9009\u9879\uff0c\u6211\u4eec\u4e0b\u9762\u5c31\u5bf9\u5b83\u7684\u9009\u9879\u4e00\u4e00\u8fdb\u884c\u5206\u6790\u8bf4\u660e\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>rsync [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u542f\u52a8ssh\u670d\u52a1\uff1a<\/p>\n\n\n\n \u4f7f\u7528rsync\u547d\u4ee4\u6765\u5907\u4efd\u670d\u52a1\u7aef\u4e0a\u7684\u6570\u636e\uff1a<\/p>\n\n\n\n rsync\u547d\u4ee4\u662f\u4e00\u4e2a\u8fdc\u7a0b\u6570\u636e\u540c\u6b65\u5de5\u5177\uff0c\u53ef\u901a\u8fc7LAN\/WAN\u5feb\u901f\u540c\u6b65\u591a\u53f0\u4e3b\u673a\u95f4\u7684\u6587\u4ef6\u3002 rsync\u4f7f\u7528\u6240\u8c13\u7684\u201cr […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6267"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6267"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6267\/revisions"}],"predecessor-version":[{"id":6474,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6267\/revisions\/6474"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-v<\/td> \u8be6\u7ec6\u6a21\u5f0f\u8f93\u51fa <\/td><\/tr> -q<\/td> \u7cbe\u7b80\u8f93\u51fa\u6a21\u5f0f<\/td><\/tr> -h<\/td> \u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# service sshd start\n\u542f\u52a8 sshd\uff1a [\u786e\u5b9a]<\/pre>\n\n\n\n
[root@linuxcool ~]# rsync -vzrtopg --progress -e ssh --delete <\/pre>\n","protected":false},"excerpt":{"rendered":"