{"id":266282,"date":"2023-03-04T22:05:41","date_gmt":"2023-03-04T14:05:41","guid":{"rendered":"https:\/\/lrxjmw.cn\/syzwrlxtfjys.html"},"modified":"2023-03-04T22:05:41","modified_gmt":"2023-03-04T14:05:41","slug":"syzwrlxtfjys","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/syzwrlxtfjys.html","title":{"rendered":"\u4f7f\u7528\u4e2d\u6587\uff0c\u8ba9linux\u7cfb\u7edf\u5206\u5377\u538b\u7f29\u6587\u4ef6\u53d8\u5f97\u7b80\u5355\u6613\u884c"},"content":{"rendered":"

\u5728\u73b0\u4ee3\u5316\u7684\u4fe1\u606f\u65f6\u4ee3\uff0c\u6570\u636e\u5df2\u7ecf\u6210\u4e3a\u6211\u4eec\u751f\u6d3b\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002\u800c\u968f\u7740\u79d1\u6280\u7684\u8fdb\u6b65\uff0c\u6211\u4eec\u6240\u62e5\u6709\u7684\u6570\u636e\u91cf\u4e5f\u8d8a\u6765\u8d8a\u5927\u3002\u5982\u4f55\u6709\u6548\u5730\u5b58\u50a8\u548c\u7ba1\u7406\u8fd9\u4e9b\u6570\u636e\uff0c\u5df2\u7ecf\u6210\u4e3a\u4e86\u6211\u4eec\u9700\u8981\u9762\u5bf9\u7684\u4e00\u4e2a\u96be\u9898\u3002\u800c\u5728 Linux<\/a> \u7cfb\u7edf<\/a>\u4e2d\uff0c\u5206\u5377\u538b\u7f29\u6587\u4ef6\u662f\u4e00\u4e2a\u975e\u5e38\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n

\u4e00\u3001\u4ec0\u4e48\u662f\u5206\u5377\u538b\u7f29\u6587\u4ef6\uff1f<\/p>\n

\u6240\u8c13\u5206\u5377\u538b\u7f29\u6587\u4ef6\u5d4c\u5165\u5f0flinux\u57f9\u8bad\uff0c\u5c31\u662f\u5c06\u4e00\u4e2a\u5927\u6587\u4ef6\u6309\u7167\u6307\u5b9a\u5927\u5c0f\u8fdb\u884c\u5206\u5272\uff0c\u5e76\u4e14\u5bf9\u6bcf\u4e2a\u5c0f\u6587\u4ef6\u8fdb\u884c\u5355\u72ec\u538b\u7f29\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u628a\u4e00\u4e2a\u5927\u6587\u4ef6\u5206\u6210\u591a\u4e2a\u5c0f\u6587\u4ef6\uff0c\u5e76\u4e14\u80fd\u591f\u6709\u6548\u5730\u8282\u7701\u5b58\u50a8\u7a7a\u95f4\u3002<\/p>\n

\u4e8c\u3001\u5982\u4f55\u4f7f\u7528 Linux \u8fdb\u884c\u5206\u5377\u538b\u7f29\uff1f<\/p>\n

1. \u5b89\u88c5\u76f8\u5173\u8f6f\u4ef6<\/p>\n

linux\u538b\u7f29zip\u6587\u4ef6\u547d\u4ee4_linux \u5206\u5377\u538b\u7f29\u6587\u4ef6_\u9f99\u73e0\u8d85\u5b87\u5b992\u538b\u7f29\u5206\u5377<\/p>\n

\u5728 Linux \u7cfb\u7edf\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 tar \u547d\u4ee4<\/a>\u8fdb\u884c\u6253\u5305\u548c\u538b\u7f29\u64cd\u4f5c\u3002\u5728\u4f7f\u7528 tar \u547d\u4ee4\u8fdb\u884c\u5206\u5377\u538b\u7f29\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b89\u88c5\u76f8\u5e94\u7684\u8f6f\u4ef6\u5305\uff1a<\/p>\n

```<\/p>\n

sudo apt-get install tar<\/p>\n

```<\/p>\n

2. \u4f7f\u7528 tar \u547d\u4ee4\u8fdb\u884c\u5206\u5377\u538b\u7f29<\/p>\n

linux\u538b\u7f29zip\u6587\u4ef6\u547d\u4ee4_linux \u5206\u5377\u538b\u7f29\u6587\u4ef6_\u9f99\u73e0\u8d85\u5b87\u5b992\u538b\u7f29\u5206\u5377<\/p>\n

\u4e0b\u9762\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n

```<\/p>\n

tar -cvz -f backup.tar.gz -L 1024m \/home\/user\/Documents<\/p>\n

```<\/p>\n

\u5176\u4e2d\uff0c\u201c-c\u201d\u8868\u793a\u521b\u5efa\u65b0\u7684\u5f52\u6863\u6587\u4ef6\uff0c\u201c-v\u201d\u8868\u793a\u663e\u793a\u8be6\u7ec6\u4fe1\u606f\uff0c\u201c-z\u201d\u8868\u793a\u4f7f\u7528 gzip \u538b\u7f29\u7b97\u6cd5\uff0c\u201c-f\u201d\u8868\u793a\u6307\u5b9a\u5f52\u6863\u6587\u4ef6\u540d\uff0c\u201c-L\u201d\u8868\u793a\u6307\u5b9a\u6bcf\u4e2a\u5c0f\u6587\u4ef6\u7684\u5927\u5c0f\uff08\u5355\u4f4d\u4e3a MB\uff09\u3002<\/p>\n

\u9f99\u73e0\u8d85\u5b87\u5b992\u538b\u7f29\u5206\u5377_linux\u538b\u7f29zip\u6587\u4ef6\u547d\u4ee4_linux \u5206\u5377\u538b\u7f29\u6587\u4ef6<\/p>\n

3. \u89e3\u538b\u5206\u5377\u538b\u7f29\u6587\u4ef6<\/p>\n

\u5982\u679c\u60f3\u8981\u89e3\u538b\u7531 tar \u547d\u4ee4\u751f\u6210\u7684\u5206\u5377\u538b\u7f29\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

```<\/p>\n

tar -xvzf backup.tar.gz<\/p>\n

```<\/p>\n

linux \u5206\u5377\u538b\u7f29\u6587\u4ef6_linux\u538b\u7f29zip\u6587\u4ef6\u547d\u4ee4_\u9f99\u73e0\u8d85\u5b87\u5b992\u538b\u7f29\u5206\u5377<\/p>\n

\u5176\u4e2dlinux \u5206\u5377\u538b\u7f29\u6587\u4ef6<\/strong>\uff0c\u201c-x\u201d\u8868\u793a\u89e3\u5305\uff0c\u201c-v\u201d\u8868\u793a\u663e\u793a\u8be6\u7ec6\u4fe1\u606f\uff0c\u201c-z\u201d\u8868\u793a\u4f7f\u7528 gzip \u538b\u7f29\u7b97\u6cd5linux qq\uff0c\u201c-f\u201d\u8868\u793a\u6307\u5b9a\u5f52\u6863\u6587\u4ef6\u540d\u3002<\/p>\n

\u4e09\u3001\u5206\u5377\u538b\u7f29\u7684\u4f18\u52bf<\/p>\n

1. \u8282\u7701\u5b58\u50a8\u7a7a\u95f4<\/p>\n

\u901a\u8fc7\u5c06\u4e00\u4e2a\u5927\u6587\u4ef6\u8fdb\u884c\u5206\u5272\u5e76\u4e14\u5355\u72ec\u8fdb\u884c\u538b\u7f29\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u8282\u7701\u5b58\u50a8\u7a7a\u95f4\u3002\u56e0\u4e3a\u6bcf\u4e2a\u5c0f\u6587\u4ef6\u90fd\u4f1a\u88ab\u5355\u72ec\u538b\u7f29\uff0c\u6240\u4ee5\u603b\u4f53\u4e0a\u6240\u9700\u7684\u5b58\u50a8\u7a7a\u95f4\u4f1a\u66f4\u5c11\u3002<\/p>\n

2. \u65b9\u4fbf\u4f20\u8f93\u548c\u5907\u4efd<\/p>\n

\u7531\u4e8e\u6bcf\u4e2a\u5c0f\u6587\u4ef6\u90fd\u6bd4\u8f83\u5c0f\uff0c\u6240\u4ee5\u5728\u4f20\u8f93\u548c\u5907\u4efd\u8fc7\u7a0b\u4e2d\u4e5f\u4f1a\u66f4\u52a0\u65b9\u4fbf\u3002\u800c\u4e14\u5982\u679c\u67d0\u4e2a\u5c0f\u6587\u4ef6\u51fa\u73b0\u95ee\u9898\uff0c\u53ea\u9700\u8981\u91cd\u65b0\u4e0b\u8f7d\u6216\u8005\u89e3\u538b\u5bf9\u5e94\u7684\u5c0f\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n

3. \u63d0\u9ad8\u5b89\u5168\u6027<\/p>\n

\u901a\u8fc7\u5c06\u4e00\u4e2a\u5927\u6587\u4ef6\u8fdb\u884c\u5206\u5272\u5e76\u4e14\u5355\u72ec\u8fdb\u884c\u538b\u7f29\uff0c\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4e5f\u53ef\u4ee5\u63d0\u9ad8\u6570\u636e\u7684\u5b89\u5168\u6027\u3002\u6bd4\u5982\u8bf4\u5982\u679c\u4f60\u60f3\u8981\u5206\u4eab\u4e00\u4e2a\u5927\u578b\u89c6\u9891\u7ed9\u522b\u4eba\uff0c\u5728\u5c06\u89c6\u9891\u8fdb\u884c\u5206\u5272\u540e\u518d\u53d1\u9001\u7ed9\u522b\u4eba\uff0c\u53ef\u4ee5\u907f\u514d\u89c6\u9891\u88ab\u6076\u610f\u7be1\u6539\u6216\u8005\u7a83\u53d6\u3002<\/p>\n

\u56db\u3001\u603b\u7ed3<\/p>\n

\u901a\u8fc7\u672c\u6587\u4ecb\u7ecd\u7684\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u5728 Linux \u7cfb\u7edf\u4e2d\u8fdb\u884c\u5206\u5377\u538b\u7f29\u64cd\u4f5c\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\u4e0d\u4ec5\u53ef\u4ee5\u8282\u7701\u5b58\u50a8\u7a7a\u95f4linux \u5206\u5377\u538b\u7f29\u6587\u4ef6<\/strong>\uff0c\u8fd8\u53ef\u4ee5\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u548c\u5907\u4efd\u7684\u6548\u7387\uff0c\u5e76\u4e14\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4e5f\u53ef\u4ee5\u63d0\u9ad8\u6570\u636e\u5b89\u5168\u6027\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7cfb\u7edf\u4e2d\uff0c\u5206\u5377\u538b\u7f29\u6587\u4ef6\u662f\u4e00\u4e2a\u975e\u5e38\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002\u6240\u8c13\u5206\u5377\u538b\u7f29\u6587\u4ef6\uff0c\u5c31\u662f\u5c06\u4e00\u4e2a\u5927\u6587\u4ef6\u6309\u7167\u6307\u5b9a\u5927\u5c0f\u8fdb\u884c\u5206\u5272\uff0c\u5e76\u4e14\u5bf9\u6bcf\u4e2a\u5c0f\u6587\u4ef6\u8fdb\u884c\u5355\u72ec\u538b\u7f29\u3002\u547d\u4ee4\u8fdb\u884c\u5206\u5377\u538b\u7f29\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b89\u88c5\u76f8\u5e94\u7684\u8f6f\u4ef6\u5305\uff1a\u547d\u4ee4\u751f\u6210\u7684\u5206\u5377\u538b\u7f29\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a\u56e0\u4e3a\u6bcf\u4e2a\u5c0f\u6587\u4ef6\u90fd\u4f1a\u88ab\u5355\u72ec\u538b\u7f29\uff0c\u6240\u4ee5\u603b\u4f53\u4e0a\u6240\u9700\u7684\u5b58\u50a8\u7a7a\u95f4\u4f1a\u66f4\u5c11\u3002\u7531\u4e8e\u6bcf\u4e2a\u5c0f\u6587\u4ef6\u90fd\u6bd4\u8f83\u5c0f\uff0c\u6240\u4ee5\u5728\u4f20\u8f93\u548c\u5907\u4efd\u8fc7\u7a0b\u4e2d\u4e5f\u4f1a\u66f4\u52a0\u65b9\u4fbf\u3002\u7cfb\u7edf\u4e2d\u8fdb\u884c\u5206\u5377\u538b\u7f29\u64cd\u4f5c\u3002<\/p>\n","protected":false},"author":1,"featured_media":266283,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-266282","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/266282","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=266282"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/266282\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/266283"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=266282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=266282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=266282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}