{"id":294913,"date":"2024-12-12T04:03:32","date_gmt":"2024-12-11T20:03:32","guid":{"rendered":"https:\/\/lrxjmw.cn\/xxjcrhbfxtbp.html"},"modified":"2024-12-12T04:03:32","modified_gmt":"2024-12-11T20:03:32","slug":"xxjcrhbfxtbp","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/xxjcrhbfxtbp.html","title":{"rendered":"\u8be6\u7ec6\u6559\u7a0b\uff1a\u5982\u4f55\u5907\u4efd\u7cfb\u7edf\u5e76\u6392\u9664\u7279\u5b9a\u5206\u533a\uff0c\u5b8c\u6574\u6b65\u9aa4\u89e3\u6790"},"content":{"rendered":"

\u5e8f\u8a00<\/p>\n

\u770b\u4e86\u597d\u591a\u6559\u7a0b\uff0c\u591a\u591a\u5c11\u5c11\u90fd\u6ca1\u8bf4\u5168\uff0c\u6bd4\u5982\u201c\u5982\u4f55\u627e\u5230\u5206\u533a\u201d\u3001\u5982\u4f55\u5220\u6389\u539f\u7cfb\u7edf\u7b49\u7b49\uff0c\u6b64\u8d34\u5c06\u8be6\u5c3d\u8bb2\u89e3\u3002<\/p>\n

\u6b63\u6587<\/p>\n

\u9996\u5148\u770b\u6211\u7684\u786c\u789f\u4f5c\u4e3a\u53c2\u8003\uff1a<\/p>\n

\u5907\u4efd\u7cfb\u7edf<\/p>\n

\u7b2c\u4e00\u6b65\uff0c\u5728\u7ec8\u7aef\u91cc\u6b65\u5165root\u6a21\u5f0f\uff0c\u5e76\u6b65\u5165\u6839\u76ee\u5f55\uff1a<\/p>\n

\n

sudo su\ncd \/<\/code><\/pre>\n<\/p>\n

ubuntu\u5907\u4efd\u4e0e\u6062\u590d_\u5907\u4efd\u6062\u590d\u7684\u4fe1\u606f\u53bb\u54ea\u91cc\u4e86\u627e_\u5907\u4efd\u6062\u590d\u6570\u636e<\/p>\n

\u7b2c\u4e8c\u6b65\u7ea2\u5e3dlinux\u7cfb\u7edf\u4e0b\u8f7d\uff0c\u5907\u4efd\u7cfb\u7edf\uff1a<\/p>\n

\n

tar cvpzf backup.tgz --exclude=\/proc --exclude=\/lost+found --exclude=\/backup.tgz --exclude=\/mnt --exclude=\/sys --exclude=home --exclude=\/media \/ --warning=no-file-change<\/code><\/pre>\n<\/p>\n

\u6ce81\uff1a\u6211\u628a\u7cfb\u7edf\u5907\u4efd\u540e\u7684\u6587\u4ef6\u547d\u540d\u4e3a\uff1abackup.tgz\uff0c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u547d\u540d\u5176\u5b83\u540d\u5b50\u3002<\/p>\n

\u6ce82\uff1a--exclude\u6392\u9664\u7684\u76ee\u5f55\u91cc\uff0c\u6211\u8fd9\u513f\u8fd8\u5305\u62ec\u4e86home\uff0c\u7531\u4e8ehome\u76ee\u5f55\u5728\u53e6\u4e00\u5757\u786c\u789f\u4e0a\uff08\u53e6\u4e00\u4e2a\u5206\u533a\uff09\uff0c\u6240\u4ee5\u4e0d\u987b\u8981\u5907\u4efd\u5b83\uff0c\u6211\u7684\u76ee\u7684\u53ea\u662f\u5907\u4efd\u7cfb\u7edf\uff0c\u5c31\u7c7b\u4f3cwindows\u91cc\uff0c\u53ea\u5907\u4efdC\u76d8\u4e00\u6837linux\u5b9a\u65f6\u5173\u673a\u547d\u4ee4\uff0c\u4e0d\u987b\u8981\u5907\u4efdD\u76d8\u7b49\u7b49\u3002<\/p>\n

\u6ce83\uff1a\u6700\u540e\u9762--exclude=\/media\u548c--warning\u4e4b\u95f4\u7684\u53c2\u6570\u662f\u8981\u5907\u4efd\u7684\u76ee\u5f55\uff0c\u8fd9\u513f\u4e5f\u5c31\u662f\u6839\u76ee\u5f55\u201c\/\u201d<\/p>\n

\u7b2c\u4e09\u6b65\uff0c\u628a\u5907\u4efd\u540e\u7684\u7cfb\u7edf\u4fdd\u5b58\u5230\u5b89\u5168\u7684\u5730\u65b9\uff1a<\/p>\n

\n

mv backup.tgz \/home\/wind\/winds\/software\/<\/code><\/pre>\n<\/p>\n

\u5907\u4efd\u6062\u590d\u6570\u636e_\u5907\u4efd\u6062\u590d\u7684\u4fe1\u606f\u53bb\u54ea\u91cc\u4e86\u627e_ubuntu\u5907\u4efd\u4e0e\u6062\u590d<\/p>\n

\u6211\u4fdd\u5b58\u5230\u7b2c\u4e8c\u5757\u786c\u789f\u91cc\uff08\u4e5f\u5c31\u662fhome\u4e0b\uff09\uff0c\u4e4b\u540essh\u5230\u53e6\u4e00\u53f0\u7b14\u8bb0\u672c\u5907\u4efd\uff0c\u8fd9\u6837\u505a\u662f\u7531\u4e8e\uff1a\u4e07\u4e00\u4e0d\u7559\u795e\u628ahome\u4e5f\u5220\u4e86\uff0c\u8fd9\u4e48\u5907\u4efd\u7684\u7cfb\u7edf\u5c31\u6ca1\u4e86\u3002<\/p>\n

\u5907\u4efd\u7ed3\u675f\u3002<\/p>\n

\u6062\u590d\u7cfb\u7edf<\/p>\n

\u6211\u8fd9\u513f\u4f7f\u7528\u7684\u662fliveUSB\u7684\u65b9\u6cd5\uff0c\u4e5f\u5c31\u662f\u6309\u7167\u5b98\u65b9\u7684\u529e\u6cd5\u5236\u505a\u4e00\u4e2aU\u76d8\u6765\u5b89\u88c5Ubuntu\u7cfb\u7edf\u3002<\/p>\n

\u7b2c\u4e00\u6b65\uff0c\u6b65\u5165\u5230Ubuntu\u8bd5\u7528\uff1a<\/p>\n

\u63d2\u5165U\u76d8\uff0c\u5f00\u673a\uff0c\u6b65\u5165Ubuntu\u5b89\u88c5\u7a0b\u5e8f\uff08\u5f00\u5934checkdisk\u7684\u65f6\u4faf\uff0c\u6309ctrl+c\u53d6\u6d88\u53ef\u4ee5\u8df3\u8fc7\u68c0\u6d4b\uff09\uff0c\u70b9\u51fb\u201c\u8bd5\u7528Ubuntu\u201d\uff0c\u6765\u5230\u684c\u9762\u3002<\/p>\n

\u7b2c\u4e8c\u6b65\uff1a\u6062\u590d\u7cfb\u7edf\uff08\u91cd\u70b9\uff09\uff1a<\/p>\n

\u521a\u6b65\u5165Ubuntu\u8bd5\u7528\u7248\u7684\u65f6\u4faf\uff0c\u4f1a\u53d1\u89c9\u786c\u789f\u90fd\u6ca1\u6709\u6302\u8f7d\uff0c\u8fd9\u6837\u5728\/media\u4e0b\u5176\u5b9e\u627e\u4e0d\u5230\u539f\u5148\u7684\u7cfb\u7edf\u5566\uff01\u56e0\u800c\u987b\u8981\u5148\u6302\u8f7d\uff0c\u80fd\u591f\u6062\u590d\uff01\u8fd9\u4e5f\u662f\u5176\u5b83\u6559\u7a0b\u90fd\u6ca1\u6709\u63d0\u5230\u7684\u5730\u65b9\uff01\uff01\uff01<\/p>\n

\u5907\u4efd\u6062\u590d\u7684\u4fe1\u606f\u53bb\u54ea\u91cc\u4e86\u627e_ubuntu\u5907\u4efd\u4e0e\u6062\u590d_\u5907\u4efd\u6062\u590d\u6570\u636e<\/p>\n

\u5907\u4efd\u6062\u590d\u7684\u4fe1\u606f\u53bb\u54ea\u91cc\u4e86\u627e_\u5907\u4efd\u6062\u590d\u6570\u636e_ubuntu\u5907\u4efd\u4e0e\u6062\u590d<\/p>\n

Ubuntu\u6302\u8f7d\u7684\u65b9\u5f0f\u5f88\u7b80\u5355\uff0c\u53ea\u9700\u628a\u8fd9\u4e24\u4e2a\u786c\u789f\u90fd\u70b9\u4e00\u4e0bubuntu\u5907\u4efd\u4e0e\u6062\u590d<\/strong>\uff0c\u624d\u4f1a\u624b\u52a8\u6302\u8f7d\u4e86\uff1a<\/p>\n

\u5907\u4efd\u6062\u590d\u7684\u4fe1\u606f\u53bb\u54ea\u91cc\u4e86\u627e_ubuntu\u5907\u4efd\u4e0e\u6062\u590d_\u5907\u4efd\u6062\u590d\u6570\u636e<\/p>\n

\u624b\u52a8\u6302\u8f7d\u540e\uff1a<\/p>\n

ubuntu\u5907\u4efd\u4e0e\u6062\u590d_\u5907\u4efd\u6062\u590d\u6570\u636e_\u5907\u4efd\u6062\u590d\u7684\u4fe1\u606f\u53bb\u54ea\u91cc\u4e86\u627e<\/p>\n

\u6ce8\uff1a\u539f\u7cfb\u7edf\u6839\u76ee\u5f55\u5728\u7684\u90a3\u79cd\u5206\u533a\uff0c\u540d\u5b50\u662f\u4e00\u957f\u4e32\uff0c\u4f8b\u5982\u524d\u9762\u76841cda3e...<\/p>\n

\u5982\u4eca\uff0c\u5220\u6389\u539f\u7cfb\u7edf\uff1a<\/p>\n

\n

rm -rf \/media\/ubuntu\/1cda...\/* # \u6700\u540e\u9762\u8981\u52a0\u4e0a *<\/code><\/pre>\n<\/p>\n

\u628a\u538b\u7f29\u5305\u62f7\u8d1d\u8fc7\u6765\uff1a<\/p>\n

\u5907\u4efd\u6062\u590d\u7684\u4fe1\u606f\u53bb\u54ea\u91cc\u4e86\u627e_\u5907\u4efd\u6062\u590d\u6570\u636e_ubuntu\u5907\u4efd\u4e0e\u6062\u590d<\/p>\n

\n

cp \/media\/ubuntu\/6e41...\/wind\/winds\/software\/backup.tgz \/media\/ubuntu\/1cda...\/<\/code><\/pre>\n<\/p>\n

\u6ce8\uff1a\u73b0\u4eca6e41...\u8fd9\u4e2a\u5206\u533a\u5c31\u6302\u8f7d\u4e86\u539f\u7cfb\u7edf\u7684home\uff0c\u6240\u4ee5\u53bb6e41...\u8fd9\u4e2a\u5206\u533a\u91cc\u53bb\u627e\u5907\u4efd\u6587\u4ef6\u3002<\/p>\n

\u6b65\u5165\u5230\u5206\u533a\u5185\uff0c\u89e3\u538b\uff1a\uff08\u8fd9\u4e00\u6b65\u5c31\u662f\u6062\u590d\u7cfb\u7edf\uff09<\/p>\n

\n

cd \/media\/ubuntu\/1cda...\/\nsudo tar xvpfz backup.tgz<\/code><\/pre>\n<\/p>\n

\u521b\u5efa\u4e4b\u524d\u5907\u4efd\u65f6\u6392\u9664\u7684\u76ee\u5f55\uff1a<\/p>\n

\n

mkdir proc lost+found mnt sys media home<\/code><\/pre>\n<\/p>\n

\u5907\u4efd\u6062\u590d\u7684\u4fe1\u606f\u53bb\u54ea\u91cc\u4e86\u627e_ubuntu\u5907\u4efd\u4e0e\u6062\u590d_\u5907\u4efd\u6062\u590d\u6570\u636e<\/p>\n

\u6ce8\uff1a\u8fd9\u513f\u8981\u548c\u4e0a\u9762--exclude\u4e00\u4e00\u5bf9\u5e94\u3002<\/p>\n

\u6700\u540e\uff1a<\/p>\n

\n

reboot<\/code><\/pre>\n<\/p>\n

\u5b8c\u7ed3\u6492\u82b1\u3002<\/p>\n

\u6742\u8bb0<\/p>\n

\u5982\u4eca\u5728\u505aAI\u7684\u4e00\u4e9b\u5de5\u4f5c\uff0c\u5e73\u5e38\u65f6\u5e38\u987b\u8981\u8dd1\u4e9bdemo\uff0c\u5173\u4e8e\u5982\u4f55\u642d\u5de5\u4f5c\u73af\u5883\uff0c\u6298\u817e\u540e\u624d\u627e\u5230\u6700\u4f73\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n

\u5728\u4e00\u4e2a\u5c40\u57df\u7f51\u4e0b\uff0cwindows\u4e3b\u529b\u673a+linux\u5de5\u4f5c\u673a(\u5e26\u82f1\u4f1f\u8fbe\u72ec\u663eubuntu\u5907\u4efd\u4e0e\u6062\u590d<\/strong>\uff0c\u6211\u7684\u662f8g\u5185\u5b58\u76843070\u7535\u8111\u7248)\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u6ce81\uff1a\u6211\u628a\u7cfb\u7edf\u5907\u4efd\u540e\u7684\u6587\u4ef6\u547d\u540d\u4e3a\uff1abackup.tgz\uff0c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u547d\u540d\u5176\u5b83\u540d\u5b57\u3002\u6211\u4fdd\u5b58\u5230\u7b2c\u4e8c\u5757\u786c\u76d8\u91cc\uff08\u4e5f\u5c31\u662fhome\u4e0b\uff09\uff0c\u7136\u540essh\u5230\u53e6\u4e00\u53f0\u7535\u8111\u5907\u4efd\uff0c\u8fd9\u6837\u505a\u662f\u56e0\u4e3a\uff1a\u4e07\u4e00\u4e0d\u5c0f\u5fc3\u628ahome\u4e5f\u5220\u4e86\uff0c\u90a3\u4e48\u5907\u4efd\u7684\u7cfb\u7edf\u5c31\u6ca1\u4e86\u3002<\/p>\n","protected":false},"author":1,"featured_media":294914,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[4843,4844,2770,4845,1382],"class_list":["post-294913","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-hml-6","tag-usyb","tag-bfxt","tag-gmlgz","tag-ypfq"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=294913"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294913\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294914"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}