{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgyobo.hatenablog.com%2Fentry%2F2020%2F10%2F10%2F224254\" title=\"\u3010\u30c4\u30fc\u30eb\u4f5c\u6210\u3011\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc\u3092\u5b9f\u969b\u306b\u884c\u3046\u30e2\u30b8\u30e5\u30fc\u30eb - \u304e\u3087\u30fc\u307c\u306e\u3076\u308d\u3050\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","provider_url":"https://hatena.blog","title":"\u3010\u30c4\u30fc\u30eb\u4f5c\u6210\u3011\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc\u3092\u5b9f\u969b\u306b\u884c\u3046\u30e2\u30b8\u30e5\u30fc\u30eb","author_url":"https://blog.hatena.ne.jp/gyobo/","type":"rich","width":"100%","blog_title":"\u304e\u3087\u30fc\u307c\u306e\u3076\u308d\u3050","blog_url":"https://gyobo.hatenablog.com/","url":"https://gyobo.hatenablog.com/entry/2020/10/10/224254","description":"\u524d\u7f6e\u304d \u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30d4\u30fc\u3084\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4f5c\u6210\u3092\u884c\u3046\u30e2\u30b8\u30e5\u30fc\u30eb\u7fa4\u3067\u3059\u3002 \u5b9f\u88c5\u30b3\u30fc\u30c9 \u5168\u4f53\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u540d\u306f\u3001BackupUtils \u3068\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u969b\u306b\u3001FileUtils.copy\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001fileutils \u3092require\u3057\u3066\u3044\u307e\u3059\u3002 module BackupUtils require 'fileutils' self.get_dir_info \u30e1\u30bd\u30c3\u30c9 \u30b3\u30d4\u30fc\u524d\u306e\u78ba\u8a8d\u7528\u306b\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5143\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5148\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u60c5\u5831\u3092\u753b\u9762\u306b\u8868\u793a\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002\u8a2d\u5b9a\u306e\u4e2d\u3067\u3001\u6709\u52b9\u3067\u306f\u306a\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3001\u4e8b\u524d\u306b\u30c1\u30a7\u30c3\u30af\u3057\u3066\u5916\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u3053\u3067\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u2026","author_name":"gyobo","provider_name":"Hatena Blog","categories":["Ruby","\u30d5\u30a1\u30a4\u30eb\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30c4\u30fc\u30eb\u3092\u4f5c\u3063\u3066\u307f\u308b"],"version":"1.0","published":"2020-10-10 22:42:54","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/156832156/1595508926449805"}