{"id":3612,"date":"2019-06-29T10:18:26","date_gmt":"2019-06-29T02:18:26","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3612"},"modified":"2019-06-29T10:18:27","modified_gmt":"2019-06-29T02:18:27","slug":"dump","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/dump","title":{"rendered":"dump\u547d\u4ee4 – \u5907\u4efd\u6587\u4ef6\u7cfb\u7edf"},"content":{"rendered":"\n

dump\u547d\u4ee4\u7528\u4e8e\u5907\u4efd\u6587\u4ef6\u7cfb\u7edf \uff0cdump\u4e3a\u5907\u4efd\u5de5\u5177\u7a0b\u5e8f\uff0c\u53ef\u5c06\u76ee\u5f55\u6216\u6574\u4e2a\u6587\u4ef6\u7cfb\u7edf\u5907\u4efd\u81f3\u6307\u5b9a\u7684\u8bbe\u5907\uff0c\u6216\u5907\u4efd\u6210\u4e00\u4e2a\u5927\u6587\u4ef6\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>dump [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-0123456789 <\/td>\u5907\u4efd\u7684\u5c42\u7ea7 <\/td><\/tr>
-b<\/td>\u6307\u5b9a\u533a\u5757\u7684\u5927\u5c0f\uff0c\u5355\u4f4d\u4e3aKB <\/td><\/tr>
-B<\/td>\u6307\u5b9a\u5907\u4efd\u5377\u518c\u7684\u533a\u5757\u6570\u76ee <\/td><\/tr>
-c <\/td>\u4fee\u6539\u5907\u4efd\u78c1\u5e26\u9884\u8bbe\u7684\u5bc6\u5ea6\u4e0e\u5bb9\u91cf <\/td><\/tr>
-d<\/td>\u8bbe\u7f6e\u78c1\u5e26\u7684\u5bc6\u5ea6\u3002\u5355\u4f4d\u4e3aBPI <\/td><\/tr>
-f<\/td>\u6307\u5b9a\u5907\u4efd\u8bbe\u5907 <\/td><\/tr>
-h<\/td>\u5f53\u5907\u4efd\u5c42\u7ea7\u7b49\u4e8e\u6216\u5927\u4e8e\u6307\u5b9a\u7684\u5c42\u7ea7\u65f6\uff0c\u5c06\u4e0d\u5907\u4efd\u7528\u6237\u6807\u793a\u4e3a”nodump”\u7684\u6587\u4ef6<\/td><\/tr>
-n <\/td>\u5f53\u5907\u4efd\u5de5\u4f5c\u9700\u8981\u7ba1\u7406\u5458\u4ecb\u5165\u65f6\uff0c\u5411\u6240\u6709”operator”\u7fa4\u7ec4\u4e2d\u7684\u4f7f\u7528\u8005\u53d1\u51fa\u901a <\/td><\/tr>
-s<\/td>\u5907\u4efd\u78c1\u5e26\u7684\u957f\u5ea6\uff0c\u5355\u4f4d\u4e3a\u82f1\u5c3a<\/td><\/tr>
-T<\/td>\u6307\u5b9a\u5f00\u59cb\u5907\u4efd\u7684\u65f6\u95f4\u4e0e\u65e5\u671f<\/td><\/tr>
-u  <\/td>\u5907\u4efd\u5b8c\u6bd5\u540e\uff0c\u5728\/etc\/dumpdates\u4e2d\u8bb0\u5f55\u5907\u4efd\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5c42\u7ea7\uff0c\u65e5\u671f\u4e0e\u65f6\u95f4\u7b49 <\/td><\/tr>
-w  <\/td>\u4e0e-W\u7c7b\u4f3c\uff0c\u4f46\u4ec5\u663e\u793a\u9700\u8981\u5907\u4efd\u7684\u6587\u4ef6 <\/td><\/tr>
-W  <\/td>\u663e\u793a\u9700\u8981\u5907\u4efd\u7684\u6587\u4ef6\u53ca\u5176\u6700\u540e\u4e00\u6b21\u5907\u4efd\u7684\u5c42\u7ea7\uff0c\u65f6\u95f4\u4e0e\u65e5\u671f <\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u5907\u4efd\u6587\u4ef6\u5230\u78c1\u5e26\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# dump -0 -u \/dev\/tape \/home\/<\/pre>\n\n\n\n

\u5907\u4efd\u6587\u4ef6\u7cfb\u7edf\/boot\u5230 SCSI \u78c1\u5e26\u8bbe\u5907\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# dump 0f \/dev\/nst0 \/boot<\/pre>\n\n\n\n

\u5907\u4efd\u6587\u4ef6\u7cfb\u7edf \/ \u5230 SCSI \u78c1\u5e26\u8bbe\u5907\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# dump 0f \/dev\/nst0\/<\/pre>\n","protected":false},"excerpt":{"rendered":"

dump\u547d\u4ee4\u7528\u4e8e\u5907\u4efd\u6587\u4ef6\u7cfb\u7edf \uff0cdump\u4e3a\u5907\u4efd\u5de5\u5177\u7a0b\u5e8f\uff0c\u53ef\u5c06\u76ee\u5f55\u6216\u6574\u4e2a\u6587\u4ef6\u7cfb\u7edf\u5907\u4efd\u81f3\u6307\u5b9a\u7684\u8bbe\u5907\uff0c\u6216\u5907\u4efd\u6210\u4e00\u4e2a\u5927 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3612"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3612"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3612\/revisions"}],"predecessor-version":[{"id":3708,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3612\/revisions\/3708"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}