{"id":69,"date":"2005-10-26T18:27:56","date_gmt":"2005-10-26T09:27:56","guid":{"rendered":"http:\/\/clouds.tokyo\/blog\/?p=69"},"modified":"2017-02-28T17:34:01","modified_gmt":"2017-02-28T08:34:01","slug":"rsync_ssh","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/rsync_ssh\/","title":{"rendered":"\u3010Linux\u3011rsync\u3067\u30b5\u30fc\u30d0\u9593\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u540c\u671f"},"content":{"rendered":"<p>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306a\u3069\u306e\u76ee\u7684\u3067\u3001rsync\u3092\u4f7f\u3063\u3066\u30b5\u30fc\u30d0\u9593\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u540c\u671f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u5b9a\u671f\u7684\u306b\u81ea\u52d5\u5b9f\u884c\u3055\u305b\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3001\u4e45\u3057\u3076\u308a\u306b\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3069\u3059\u3063\u304b\u308a\u5fd8\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>\r\nrsync -av -e ssh user_name@server_address:\/var\/files\/data\/ ~\/data\r\n<\/pre>\n<p>ssh\u3092\u4f7f\u3046\u306e\u3067scp\u30b3\u30de\u30f3\u30c9\u306b\u4f3c\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<p>\u3053\u3053\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306f<\/p>\n<p>-a \u540c\u671f\u5143\u306e\u69cb\u9020\u3092\u305d\u306e\u307e\u307e\u540c\u671f\u3059\u308b\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3<br \/>\n-v \u8a73\u7d30\u3092\u8868\u793a\u3059\u308b<br \/>\n-e ssh\u3092\u4f7f\u7528\u3057\u3066\u4ed6\u306e\u30b5\u30fc\u30d0\u3068\u540c\u671f\u3059\u308b<\/p>\n<p>ssh\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u304c\u6a19\u6e96\u3067\u306f\u306a\u3044\u5834\u5408\u306f<\/p>\n<pre>\r\nrsync -av -e 'ssh -p 12345' user_name@server_address:\/var\/files\/data\/ ~\/data\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306a\u3069\u306e\u76ee\u7684\u3067\u3001rsync\u3092\u4f7f\u3063\u3066\u30b5\u30fc\u30d0\u9593\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u540c\u671f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u5b9a\u671f\u7684\u306b\u81ea\u52d5\u5b9f\u884c\u3055\u305b\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3001\u4e45\u3057\u3076\u308a\u306b\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3069\u3059\u3063\u304b\u308a\u5fd8\u308c\u3066\u3044\u307e\u3059\u3002 rsync -av -e ss &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/clouds.tokyo\/blog\/rsync_ssh\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Linux\u3011rsync\u3067\u30b5\u30fc\u30d0\u9593\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u540c\u671f&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[7,8,9,95],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-17","jetpack-related-posts":[{"id":1518,"url":"https:\/\/clouds.tokyo\/blog\/ssh-ecdsa\/","url_meta":{"origin":69,"position":0},"title":"\u3010Linux\u3011CentOS6\u304b\u3089AlmaLinux9\u3078\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057ssh\u63a5\u7d9a","author":"yamamoto","date":"2023\u5e742\u67089\u65e5","format":false,"excerpt":"\u53e4\u3044\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u30fc\u3078\u30d1\u30b9\u306a\u3057\u63a5\u7d9a\u304c\u3069\u3046\u3057\u3066\u3082\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 \u3082\u3061\u308d\u3093\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":772,"url":"https:\/\/clouds.tokyo\/blog\/linux_scp_port\/","url_meta":{"origin":69,"position":1},"title":"\u3010Linux\u3011\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\u3057\u3066scp","author":"yamamoto","date":"2017\u5e747\u67086\u65e5","format":false,"excerpt":"\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u3067\u3001\u53ef\u80fd\u306a\u9650\u308assh\u306e\u30dd\u30fc\u30c8\u306f\u5909\u66f4\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002 \u306a\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u9593\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":55,"url":"https:\/\/clouds.tokyo\/blog\/scp_wildcard\/","url_meta":{"origin":69,"position":2},"title":"\u3010Linux\u3011\u30ef\u30a4\u30eb\u30c9\u30ab\u30fc\u30c9\u3092\u4f7f\u3063\u305fscp\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001","author":"yamamoto","date":"2005\u5e747\u67086\u65e5","format":false,"excerpt":"scp\u30b3\u30de\u30f3\u30c9\u81ea\u4f53\u3001\u4e45\u3057\u3076\u308a\u306b\u4f7f\u3046\u3068\u66f8\u5f0f\u3092\u5fd8\u308c\u304c\u3061\u3067\u3059\u304c\u3001 \u30ef\u30a4\u30eb\u30c9\u30ab\u30fc\u30c9\u300c\uff0a\u300d\u3092\u4f7f\u3063\u3066\u8ee2\u9001\u3059\u308b\u30d5\u30a1\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1808,"url":"https:\/\/clouds.tokyo\/blog\/mysql_lock\/","url_meta":{"origin":69,"position":3},"title":"\u3010MySQL\u3011\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306eMySQL\u304c\u30ed\u30c3\u30af\u3055\u308c\u305f\u3068\u304d\u306e\u5bfe\u51e6\u65b9\u6cd5","author":"yamamoto","date":"2025\u5e744\u670811\u65e5","format":false,"excerpt":"\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306eMySQL\u306e\u30ed\u30c3\u30af\u3092\u89e3\u9664\u3057\u3066\u307b\u3057\u3044\u3068\u3044\u3046\u4f9d\u983c\u3092\u53d7\u3051\u5bfe\u5fdc\u3057\u305f\u306e\u3067\u5099\u5fd8\u9332\u3068\u3057\u3066\u6b8b\u3057\u307e\u3059\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1902,"url":"https:\/\/clouds.tokyo\/blog\/server_php_version\/","url_meta":{"origin":69,"position":4},"title":"\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u30b7\u30a7\u30eb\u306ePHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b","author":"yamamoto","date":"2026\u5e743\u670823\u65e5","format":false,"excerpt":"\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u306fphpinfo\u3067\u8868\u793a\u3057\u305fPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3001ssh\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066php -v\u3057\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":84,"url":"https:\/\/clouds.tokyo\/blog\/rsync_delete\/","url_meta":{"origin":69,"position":5},"title":"\u3010Linux\u3011rsync\u3067\u524a\u9664\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u540c\u671f\u5148\u3082\u524a\u9664\u3059\u308b","author":"yamamoto","date":"2006\u5e7411\u67083\u65e5","format":false,"excerpt":"rsync\u306f\u305d\u306e\u307e\u307e\u3060\u3068\u540c\u671f\u5143\u3067\u524a\u9664\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3082\u540c\u671f\u5148\u3067\u306f\u6b8b\u3063\u305f\u307e\u307e\u3067\u3059\u304c\u3001 --delete\u30aa\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/69"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":2,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"predecessor-version":[{"id":146,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/69\/revisions\/146"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}