{"id":7528,"date":"2020-05-23T19:50:54","date_gmt":"2020-05-23T11:50:54","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7528"},"modified":"2020-05-23T19:50:55","modified_gmt":"2020-05-23T11:50:55","slug":"vgcfgbackup","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/vgcfgbackup","title":{"rendered":"vgcfgbackup\u547d\u4ee4 – \u5907\u4efd\u5377\u7ec4\u63cf\u8ff0\u7b26\u533a\u57df"},"content":{"rendered":"\n

vgcfgbackup\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5907\u4efd\u5377\u7ec4\u7684\u5143\u6570\u636e\u3002\u5982\u679c\u5728\u547d\u4ee4\u884c\u4e0a\u6ca1\u6709\u6307\u5b9a\u4efb\u4f55\u5377\u7ec4\uff0c\u5c06\u5907\u4efd\u6240\u6709\u7684\u5377\u7ec4\u3002\u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6bcf\u4e2a\u5377\u7ec4\u88ab\u5907\u4efd\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u5e26\u6709\u5377\u7ec4\u540d\u79f0\u7684\u6587\u4ef6\u4e2d\uff0c\u8be5\u6587\u4ef6\u5b58\u50a8\u5728\/etc\/lvm\/backup\u76ee\u5f55\u4e2d\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>vgcfgbackup [\u53c2\u6570] [\u5377\u7ec4\u540d]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-d<\/td>\u542f\u7528\u8c03\u8bd5\u6a21\u5f0f<\/td><\/tr>
-f<\u6587\u4ef6\u540d><\/td>\u6307\u5b9a\u5907\u4efd\u6587\u4ef6<\/td><\/tr>
-- -ignorelockingfailure<\/td>\u5ffd\u7565\u9501\u5b9a\u5931\u8d25<\/td><\/tr>
-v<\/td>\u663e\u793a\u8be6\u7ec6\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u5907\u4efd\u5377\u7ec4vg_linuxcool\u7684\u5143\u6570\u636e\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vgcfgbackup vg_linuxcool<\/pre>\n\n\n\n

\u663e\u793a\u5907\u4efd\u8be6\u7ec6\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vgcfgbackup -v vg_linuxcool<\/pre>\n\n\n\n

\u6307\u5b9a\u5907\u4efd\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vgcfgbackup -f vg_001<\/pre>\n","protected":false},"excerpt":{"rendered":"

vgcfgbackup\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u53ef\u4ee5\u5907\u4efd\u5377\u7ec4\u7684\u5143\u6570\u636e\u3002\u5982\u679c\u5728\u547d\u4ee4\u884c\u4e0a\u6ca1\u6709\u6307\u5b9a\u4efb\u4f55\u5377\u7ec4\uff0c\u5c06\u5907\u4efd\u6240\u6709\u7684\u5377\u7ec4\u3002\u5728\u9ed8 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7528"}],"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=7528"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7528\/revisions"}],"predecessor-version":[{"id":7592,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7528\/revisions\/7592"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}