{"id":329,"date":"2013-05-24T14:41:04","date_gmt":"2013-05-24T06:41:04","guid":{"rendered":"http:\/\/www.shuran.cn\/?p=329"},"modified":"2013-05-24T14:41:04","modified_gmt":"2013-05-24T06:41:04","slug":"linux-%e4%b8%8bext4%e6%96%87%e4%bb%b6%e7%b3%bb%e7%bb%9f%ef%bc%8c%e6%96%87%e4%bb%b6%e6%81%a2%e5%a4%8dmysql%e6%81%a2%e5%a4%8d","status":"publish","type":"post","link":"https:\/\/www.shuran.cn\/?p=329","title":{"rendered":"Linux \u4e0bext4\u6587\u4ef6\u7cfb\u7edf\uff0c\u6587\u4ef6\u6062\u590d\\mysql\u6062\u590d"},"content":{"rendered":"<p>\u5fc3\u8840\u6765\u6f6e\uff0c\u5220\u4e86\u51e0\u5341\u4e2a\u6570\u636e\u8868\uff0c\u4e8e\u662f\u4e4e\u5f00\u59cb\u5bfb\u6062\u590d\u8f6f\u4ef6\uff0c<\/p>\n<p>\u9996\u5148\u5bfb\u5230ext3grep\uff0c\u7ed3\u679c\u53d1\u73b0\u6587\u4ef6\u7cfb\u7edf\u4e3aext4,<\/p>\n<p>\u518d\u6b21\u5bfb\u5230giis-ext4 \uff0c\u5b89\u88c5\u8c03\u8bd5\uff0c\u7ed3\u679c\u60b2\u50ac\uff0c\u4e0d\u4f1a\u3002<\/p>\n<p>\u6700\u7ec8extundelete\uff0c\u5b89\u88c5\u8c03\u8bd5\uff0c\uff08\u6ce8\u610f\u5b89\u88c5\u5230\u975e\u6570\u636e\u76d8\uff0c\u5207\u8bb0\uff09<\/p>\n<p>\u9700\u8981\u7684\u5e93\u6587\u4ef6<\/p>\n<p>yum install e2fsprogs e2fsprogs-devel e2fsprogs-libs<\/p>\n<p>\u4e0b\u8f7dextundelete<\/p>\n<p>wget http:\/\/downloads.sourceforge.net\/project\/extundelete\/extundelete\/0.2.4\/extundelete-0.2.4.tar.bz2<\/p>\n<p>tar -xvf\u00a0extundelete-0.2.4.tar.bz2<\/p>\n<p>.\/configure<\/p>\n<p>make<\/p>\n<p>make install<\/p>\n<p>\u6062\u590d\u65b9\u5f0f<\/p>\n<p>extundelete \/dev\/sda3 --restore-file \/an\/important\/file<\/p>\n<p>\u6062\u590d\/dev\/sda3\u91cc\u4e00\u4e2a\u88ab\u8bef\u5220\u9664\u7684\u6587\u4ef6\u5939<\/p>\n<p>extundelete \/dev\/sda3 --restore-directory \/an\/important<\/p>\n<p>\u6062\u590d\/dev\/sda3\u91cc\u6240\u6709\u88ab\u5220\u9664\u7684\u4e1c\u897f<\/p>\n<p>extundelete \/dev\/sda3 --restore-all<\/p>\n<p>\u6062\u590d\u540e\u7684\u6587\u4ef6\u4f4d\u4e8e extundelete \u540c\u76ee\u5f55\u7684\u00a0RECOVERED_FILES\u6587\u4ef6\u5939\uff0c<\/p>\n<p>\u62f7\u8d1d\u6062\u590d\u7684\u6587\u4ef6\u5230mysql\u6587\u4ef6\u5939\uff0c\u6539\u53d8\u90a3\u4e9b\u6587\u4ef6\u7684\u6743\u9650\uff0c\u91cd\u542fmysql \uff0cok\u89e3\u51b3\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5fc3\u8840\u6765\u6f6e\uff0c\u5220\u4e86\u51e0\u5341\u4e2a\u6570\u636e\u8868\uff0c\u4e8e\u662f\u4e4e\u5f00\u59cb\u5bfb\u6062\u590d\u8f6f\u4ef6\uff0c \u9996\u5148\u5bfb\u5230ext3grep\uff0c\u7ed3\u679c\u53d1\u73b0\u6587\u4ef6\u7cfb\u7edf\u4e3aext4, \u518d\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.shuran.cn\/?p=329\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-329","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts\/329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=329"}],"version-history":[{"count":1,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts\/329\/revisions"}],"predecessor-version":[{"id":330,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts\/329\/revisions\/330"}],"wp:attachment":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}