{"id":9631,"date":"2020-09-24T03:23:58","date_gmt":"2020-09-23T18:23:58","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=9631"},"modified":"2020-09-24T03:24:20","modified_gmt":"2020-09-23T18:24:20","slug":"post-9631","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2020\/09\/24\/post-9631.html","title":{"rendered":"Termux\u30cd\u30a4\u30c6\u30a3\u30d6\u74b0\u5883\u3067WordPress\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3069\u3046\u3059\u308b\u304b\u8003\u3048\u308b\u3002\u305d\u306e\uff11"},"content":{"rendered":"\n
\n\"\u3058\u3083\u3093\u304f\u306f\u3063\u304f\"\n<\/div><\/div><\/div>
\u3058\u3083\u3093\u304f\u306f\u3063\u304f<\/div><\/div>
<\/svg><\/div>
\n

\u4eca\u65e5\u3082\u81ea\u5b85\u30b5\u30fc\u30d0\u3044\u3058\u308b\u3088\u301c\uff01<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\n\n\n\n

<\/svg><\/div>
\n

\u307b\u3093\u3068\u3001\u597d\u304d\u306d\u3047\u301c\u3002\u4eca\u65e5\u306f\u4f55\u3059\u308b\u3093\u3067\u3059\u304b\u301c\uff1f<\/p>\n<\/div><\/div><\/div><\/div><\/div>

\n\"\u3074\u30fc\"\n<\/div><\/div><\/div>
\u3074\u30fc<\/div><\/div><\/div><\/div><\/div>\n\n\n\n
\n\"\u3058\u3083\u3093\u304f\u306f\u3063\u304f\"\n<\/div><\/div><\/div>
\u3058\u3083\u3093\u304f\u306f\u3063\u304f<\/div><\/div>
<\/svg><\/div>
\n

\u597d\u304d\u3068\u3044\u3046\u304b\u3001\u307e\u3060\u8a2d\u5b9a\u3044\u308d\u3044\u308d\u3042\u3063\u3066w\u3002\u3068\u308a\u3042\u3048\u305a\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3069\u3046\u3057\u3088\u3046\u304b\u306a\u3068\u3002<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\n\n\n\n

<\/svg><\/div>
\n

\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u304b\u4fbf\u5229\u306a\u306e\u3042\u308b\u3067\u3057\u3087\uff1f\u3042\u308c\u3058\u3083\u3060\u3081\uff1f<\/p>\n<\/div><\/div><\/div><\/div><\/div>

\n\"\u3074\u30fc\"\n<\/div><\/div><\/div>
\u3074\u30fc<\/div><\/div><\/div><\/div><\/div>\n\n\n\n

\u306f\u3044\u3001\u3074\u30fc\u3061\u3083\u3093\u306e\u8a00\u3046\u901a\u308a\u4fbf\u5229\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n

\u8d85\u6709\u540d\u306aWordPress\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d7\u30e9\u30b0\u30a4\u30f3<\/h3>\n\n\n\n

\u3053\u306e\uff12\u3064\u304c\u7279\u306b\u6709\u540d\u3058\u3083\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n\n\n\n

UpdraftPlus WordPress Backup Plugin<\/strong><\/p>\n\n\n\n

\"\"<\/a><\/figure>\n\n\n\n

\u3042\u3068\u3001\u3053\u308c\u3002<\/p>\n\n\n\n

BackWPup \u2013 WordPress Backup Plugin<\/strong><\/p>\n\n\n\n

\"\"<\/a><\/figure>\n\n\n\n

\u524d\u8005\u306eUpdraftPlus\u306f\u3001\u4e00\u5ea6\u4f7f\u3063\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u901a\u5e38\u306a\u3089\u3053\u308c\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306fOK\u3058\u3083\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u3067\u3082\u3001\u4eca\u56de\u306f\u3061\u3087\u3063\u3068\u81ea\u5b85\u30b5\u30fc\u30d0\u69cb\u6210\u306b\u96e3\u304c\u3042\u3063\u3066\u3001\u81ea\u5206\u306e\u30c9\u30e1\u30a4\u30f3\u306b\u81ea\u5206\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n

\u81ea\u5206\u306e\u30c9\u30e1\u30a4\u30f3\u306b\u81ea\u5206\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u554f\u984c\uff01<\/h3>\n\n\n\n

\u3053\u308c\u306f\u3064\u307e\u308a\u3001https:\/\/hack.gpl.jp \u3084\u3001https:\/\/hack.gpl.jp \u3067\u81ea\u5206\u81ea\u8eab\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u3053\u3046\u3044\u3046\u5834\u5408\u3001WordPress\u306ecron\u3084\u30b8\u30a7\u30c3\u30c8\u30d1\u30c3\u30af\u306a\u3069\u3044\u308d\u3093\u306a\u90e8\u5206\u3067\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001wp-cli\u3067\u8a3a\u65ad\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n

$ wp cron test\nError: WP-Cron spawn failed with error: cURL error 28: Connection timed out after 3000 milliseconds<\/code><\/pre>\n\n\n\n

\u3053\u306e\u3001cURL error 28<\/strong> \u30a8\u30e9\u30fc\u306f\u3044\u308d\u3093\u306a\u30b1\u30fc\u30b9\u3067\u51fa\u308b\u306e\u3067\u3059\u304c\u81ea\u5206\u306e\u5834\u5408\u306f\u3001\u767b\u9332\u3055\u308c\u3066\u3044\u308bURL\u306b\u81ea\u5206\u81ea\u8eab\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u539f\u56e0\u3067\u3059\u3002\u3053\u306e\u554f\u984c\u306e\u6839\u672c\u306f\u4ee5\u4e0b\u3067\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u3060\u89e3\u6d88\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n

\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u306e\u7d4c\u8def\u3067\u3001U\u30bf\u30fc\u30f3 NAT\u3068\u304b\u30d8\u30a2\u30d4\u30f3NAT\u304c\u4f7f\u3048\u306a\u3044\u30eb\u30fc\u30bf\u306e\u5834\u5408\u306e\u3042\u308c\u3053\u308c<\/p>https:\/\/hack.gpl.jp\/2020\/09\/07\/\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u306e\u7d4c\u8def\u3067\u3001u\u30bf\u30fc\u30f3-nat\u3068\u304b\u30d8\u30a2\u30d4\/<\/a><\/cite><\/blockquote>\n\n\n\n

\u3053\u306e\u89e3\u6d88\u306f\u307e\u305f\u5225\u306e\u6a5f\u4f1a\u306b\u3084\u308b\u3068\u3057\u3066\u3001\u4eca\u56de\u306f\u3053\u3046\u3044\u3046\u4e2d\u9014\u534a\u7aef\u306a\u74b0\u5883\u3067 wp-cron\u304c\u52d5\u4f5c\u3057\u306a\u3044\u4e2d\u3001\u3069\u3046\u3084\u3063\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u884c\u3046\u304b\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u3002<\/p>\n\n\n\n

\u3055\u3066\u3001\u3069\u3093\u306a\u65b9\u6cd5\u304c\u3042\u308b\u306e\uff1f<\/h3>\n\n\n\n

\u738b\u9053\u3068\u3057\u3066\u306f\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u3066\u3001\u3069\u3053\u304b\u30af\u30e9\u30a6\u30c9\u30b9\u30c8\u30ec\u30fc\u30b8\u3078\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u3001WordPress\u5074\u3067\u66f4\u65b0\u3055\u308c\u308b\u753b\u50cf\u306a\u3069 uploads\u4ee5\u4e0b\u306b\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u3001\u307e\u305f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u30c6\u30fc\u30de\u306a\u3069\u3082\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304a\u304d\u305f\u3044\u3067\u3059\u3002\u305d\u308c\u3089\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u306b\u8a18\u8f09\u3057\u3066Linux\u306ecron\u3067\u5b9f\u884c\u3059\u308b\u3068\u3044\u3046\u3001\u3081\u3093\u3069\u304f\u3055\u3044<\/s>\u3084\u308a\u65b9\u3067\u3059\u3002\u4e16\u306e\u4e2d\u3001\u4fbf\u5229\u306b\u306a\u308a\u3059\u304e\u3066\u3053\u3046\u3044\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u66f8\u304f\u306e\u304c\u9762\u5012\u306b\u306a\u3063\u3066\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n

\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u65b9\u91dd\u3068Termux\u74b0\u5883\u3067\u4f7f\u3048\u305d\u3046\u306a\u30c4\u30fc\u30eb<\/h3>\n\n\n\n

\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u65b9\u91dd\u306f\u3001\u3084\u3063\u3066\u308b\u6700\u4e2d\u306b\u6c17\u304c\u5909\u308f\u308b\u3068\u3057\u3066\u3001\u4e0b\u8abf\u3079\u3057\u3066\u307f\u308b\u3068\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u306f\u4ee5\u4e0b\u3068\u306a\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n

\u30fb\u30af\u30e9\u30a6\u30c9\u3078\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3000
\u3000\u2192\u3000GoogleDrive\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305f\u3044
\u3000\u2192\u3000rclone<\/strong>\u304c\u3042\u308b\uff01
\u30fbuploads\u306f\u5dee\u5206\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305f\u3044
\u3000\u2192\u3000rsync<\/strong>\u304c\u3042\u308b
\u3000\u2192\u3000Termux\u3082\u30d0\u30a4\u30ca\u30ea\u304c\u3042\u308b
\u30fb\u5168\u90e8\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u66f8\u304f\u3068\u9762\u5012
\u3000\u2192\u3000wp-cli<\/strong>\u3000\u3092\u4f7f\u3063\u3066\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u4f75\u7528<\/strong>\u3057\u3066\u307f\u308b
\u30fbDB\u306f30\u65e5\u5206\u4fdd\u5b58<\/strong>\u3001uploads\u306f\u5dee\u5206\u4fdd\u5b58<\/strong><\/p>\n\n\n\n

\u5e78\u3044\u3001Termux\u306e\u30d0\u30a4\u30ca\u30ea\u306b\u306f\u3053\u308c\u3089\u306e\u30c4\u30fc\u30eb\u304c\u63c3\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002rclone \u306f\u3001\u4eca\u56de\u306f\u3058\u3081\u3066\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n

Rclone syncs your files to cloud storage<\/p>https:\/\/rclone.org\/<\/a><\/cite><\/blockquote>\n\n\n\n

\u307e\u3068\u3081<\/h3>\n\n\n\n

\u4eca\u56de\u3001\u306a\u3093\u3068\u306a\u304f\u308f\u304b\u3063\u305f\u306e\u306f\u4ee5\u4e0b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n

\u30fbWordPress\u306ecron\u306f\u3001\u81ea\u5df1\u306eURL\u3067\u81ea\u5206\u81ea\u8eab\u3092curl\u3067\u53e9\u3044\u3066\u3044\u308b\u3002
\u30fb\u305d\u308c\u304c\u51fa\u6765\u306a\u3044\u3068\u3001cURL error 28\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3002
\u30fbwp-cli\u3067\u3001wordpress \u306e job\u3092 linux \u306e cron \u3067\u53e9\u3051\u3070\u52d5\u304f
\u30fb\u30af\u30e9\u30a6\u30c9\u3078\u306e\u4fdd\u5b58\u30c4\u30fc\u30eb\u306f\u3001rclone\u3067\u89e3\u6c7a<\/p>\n\n\n\n

\u3042\u3068\u304c\u304d<\/h3>\n\n\n\n

\u307e\u3041\u3001\u305d\u3082\u305d\u3082\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u69cb\u6210\u3092\u3061\u3083\u3093\u3068\u3084\u3063\u3066\u81ea\u5206\u81ea\u8eab\u3092\u3061\u3083\u3093\u3068\u53c2\u7167\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u306a\u3044\u3068\u3060\u3081\u3060\u3088\u306a\u30fc\u3068\u3002\u305f\u3060\u3001NAT\u3068\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u3092\u3057\u3066\u3044\u3066\u5185\u90e8LAN\u5074\u306b\u9055\u3046\u30dd\u30fc\u30c8\u3067\u63d0\u4f9b\u3057\u3066\u3044\u308b\u74b0\u5883\u306f\u4ed6\u306b\u3082\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u3082\u3057\u304b\u3059\u308b\u3068\u8ab0\u304b\u306e\u53c2\u8003\u306b\u306a\u308b\u304b\u306a\u3068\u3082\u3002\u305f\u3076\u3093\u3001\u305d\u306e\uff12\u3078\u7d9a\u304f\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u306f\u3044\u3001\u3074\u30fc\u3061\u3083\u3093\u306e\u8a00\u3046\u901a\u308a\u4fbf\u5229\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u3042\u308a\u307e\u3059\u3002 \u8d85\u6709\u540d\u306aWordPress\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d7\u30e9\u30b0\u30a4\u30f3 \u3053\u306e\uff12\u3064\u304c\u7279\u306b\u6709\u540d\u3058\u3083\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f UpdraftPlus WordPress Backup Plugin \u3042 […]<\/p>\n","protected":false},"author":1,"featured_media":9637,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[8,47,83],"tags":[],"acf":[],"uagb_featured_image_src":{"full":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/09\/Termux-backup1.png",800,800,false],"thumbnail":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/09\/Termux-backup1.png",96,96,false],"medium":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/09\/Termux-backup1.png",800,800,false],"medium_large":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/09\/Termux-backup1-768x768.png",768,768,true],"large":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/09\/Termux-backup1.png",800,800,false],"1536x1536":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/09\/Termux-backup1.png",800,800,false],"2048x2048":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/09\/Termux-backup1.png",800,800,false],"post-thumbnail":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/09\/Termux-backup1.png",800,800,false]},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":0,"uagb_excerpt":"\u306f\u3044\u3001\u3074\u30fc\u3061\u3083\u3093\u306e\u8a00\u3046\u901a\u308a\u4fbf\u5229\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u3042\u308a\u307e\u3059\u3002 \u8d85\u6709\u540d\u306aWordPress\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d7\u30e9\u30b0\u30a4\u30f3 \u3053\u306e…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/9631"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=9631"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/9631\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media\/9637"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=9631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=9631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=9631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}