{"id":1092,"date":"2010-11-25T10:10:45","date_gmt":"2010-11-25T08:10:45","guid":{"rendered":"http:\/\/netspider.com.ua\/index.php\/2010\/11\/25\/rsync-memo\/"},"modified":"2010-11-25T10:10:45","modified_gmt":"2010-11-25T08:10:45","slug":"rsync-memo","status":"publish","type":"post","link":"https:\/\/netspider.com.ua\/index.php\/2010\/11\/25\/rsync-memo\/","title":{"rendered":"rsync &#8212; \u043f\u0430\u043c\u044f\u0442\u043a\u0430"},"content":{"rendered":"<pre class=\"brush: bash; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;\">%&gt; rsync -av user@IP:\/remote\/path\/ \/local\/path2\n# \u0442\u0430\u043a \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0444\u0430\u0439\u043b\u044b \u0438\u0437 \/remote\/path\/ \u0432 \/local\/path2\n%&gt; rsync -av user@IP:\/remote\/path \/local\/path2\n# \u0430 \u0442\u0430\u043a - \u0432 \/local\/path2 \u0431\u0443\u0434\u0435\u0442 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 path<\/pre>\n\n<p>\u041a\u043b\u044e\u0447\u0438:<\/p>\n\n<ul>\n  <li>-a \u2013 &quot;\u0430\u0440\u0445\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c&quot; \u2013 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432 (\u0432\u043b\u0430\u0434\u0435\u043b\u0435\u0446, \u043f\u0440\u0430\u0432\u0430 \u0438 \u0442.\u043f.)<\/li>\n\n  <li>-z \u2013 \u043a\u043e\u043c\u043f\u0440\u0435\u0441\u0441\u0438\u044f (\u0441\u0436\u0430\u0442\u0438\u0435)<\/li>\n\n  <li>-v \u2013 \u0432\u044b\u0432\u043e\u0434 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0435\u0439<\/li>\n\n  <li>&#8212;progress \u2013 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0444\u0430\u0439\u043b\u0430<\/li>\n\n  <li>-H \u2013 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0445\u0430\u0440\u0434\u043b\u0438\u043d\u043a\u0438<\/li>\n\n  <li>&#8212;exclude \u2013 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b (\u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0430\u0442\u044c), \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0438 \u0444\u0430\u0439\u043b\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430:\n    <br \/>&#8212;exclude &#8216;- cgi-bin\/*&#8217; &#8212;exclude &#8216;*.tgz&#8217;<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"%&gt; rsync -av user@IP:\/remote\/path\/ \/local\/path2 # \u0442\u0430\u043a \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0444\u0430\u0439\u043b\u044b \u0438\u0437 \/remote\/path\/ \u0432 \/local\/path2 %&gt; rsync -av user@IP:\/remote\/path \/local\/path2 # \u0430 \u0442\u0430\u043a &#8212; \u0432 \/local\/path2 \u0431\u0443\u0434\u0435\u0442 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 path \u041a\u043b\u044e\u0447\u0438: -a \u2013 &quot;\u0430\u0440\u0445\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c&quot; \u2013 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432 (\u0432\u043b\u0430\u0434\u0435\u043b\u0435\u0446, \u043f\u0440\u0430\u0432\u0430 \u0438 \u0442.\u043f.) -z \u2013 \u043a\u043e\u043c\u043f\u0440\u0435\u0441\u0441\u0438\u044f (\u0441\u0436\u0430\u0442\u0438\u0435) -v \u2013 \u0432\u044b\u0432\u043e\u0434 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0435\u0439 &#8212;progress \u2013 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430\u2026 <span class=\"read-more\"><a href=\"https:\/\/netspider.com.ua\/index.php\/2010\/11\/25\/rsync-memo\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/span>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1374,890,48,1198,1373,415],"class_list":["post-1092","post","type-post","status-publish","format-standard","hentry","category-main","tag-copy","tag-files","tag-freebsd","tag-rsync","tag-sh-backup","tag-shell"],"_links":{"self":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/1092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/comments?post=1092"}],"version-history":[{"count":0,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/1092\/revisions"}],"wp:attachment":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/media?parent=1092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/categories?post=1092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/tags?post=1092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}