{"id":421,"date":"2022-04-05T10:09:06","date_gmt":"2022-04-05T03:09:06","guid":{"rendered":"http:\/\/congdong.longvan.net\/?p=421"},"modified":"2023-04-07T11:39:15","modified_gmt":"2023-04-07T04:39:15","slug":"thiet-lap-backup-set-tren-linux","status":"publish","type":"post","link":"https:\/\/longvan.net\/cong-dong\/thiet-lap-backup-set-tren-linux\/","title":{"rendered":"Thi\u1ebft l\u1eadp Backup Set tr\u00ean Linux"},"content":{"rendered":"<div>\n<h5><strong>I. T\u1ea1o Backup Set th\u00f4ng qua giao di\u1ec7n web: <\/strong><\/h5>\n<p>C\u00e1c Backup Set (thi\u1ebft l\u1eadp sao l\u01b0u) kh\u00f4ng th\u1ec3 t\u1ea1o t\u1eeb d\u00f2ng l\u1ec7nh tr\u00ean linux, do \u0111\u00f3 ph\u1ea3i s\u1eed d\u1ee5ng giao di\u1ec7n web \u0111\u1ec3 c\u1ea5u h\u00ecnh ban \u0111\u1ea7u.<\/p>\n<ol>\n<li>\u0110\u0103ng nh\u1eadp v\u00e0o giao di\u1ec7n web v\u1edbi t\u00e0i kho\u1ea3n \u0111\u01b0\u1ee3c cung c\u1ea5p.<br \/>\n<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636452973651.png\" alt=\"image-1636452973651.png\" \/><\/li>\n<li>T\u1ea1o Backup Set:\n<ul>\n<li>Sau khi login v\u00e0o website qu\u1ea3n l\u00fd Bussiness Backup, truy c\u1eadp v\u00e0o ph\u1ea7n qu\u1ea3n tr\u1ecb <strong>User<\/strong>.<\/li>\n<li>Ch\u1ecdn tab <strong>Backup Set<\/strong>.<\/li>\n<li>Nh\u1ea5n v\u00e0o bi\u1ec3u t\u01b0\u1ee3ng <strong>+<\/strong> \u0111\u1ec3 t\u1ea1o m\u1ed9t <strong>Backup Set<\/strong> m\u1edbi.<br \/>\n<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636453234751.png\" alt=\"image-1636453234751.png\" \/><\/li>\n<\/ul>\n<\/li>\n<li>C\u1ea5u h\u00ecnh <strong>Backup Set<\/strong>\n<ul>\n<li>C\u1eeda s\u1ed5 <strong>Create Backup Set<\/strong>:\n<ul>\n<li><strong>Backup set type<\/strong>: ch\u1ecdn File Backup \u0111\u1ec3 ti\u1ebfn h\u00e0nh backup c\u00e1c file. C\u00f3 th\u1ec3 s\u1eed d\u1ee5ng c\u00e1c t\u00f9y ch\u1ecdn kh\u00e1c nh\u01b0 MariaDB, MySQL, &#8230;, v\u1edbi c\u00e1c t\u00f9y ch\u1ecdn n\u00e0y c\u1ea7n ph\u1ea3i c\u1ea5u h\u00ecnh chi ti\u1ebft user login, host, port c\u1ee7a server c\u1ea7n backup.<\/li>\n<li><strong>Platfom<\/strong>; ch\u1ecdn Linux<\/li>\n<li>Nh\u1ea5n <strong>Next<\/strong> \u0111\u1ec3 ti\u1ebfp t\u1ee5c.<br \/>\n<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636453810596.png\" alt=\"image-1636453810596.png\" \/><\/li>\n<\/ul>\n<\/li>\n<li>C\u1eeda s\u1ed5<strong> Backup Resource<\/strong> \u0111\u1ec3 thi\u1ebft l\u1eadp ph\u1ea7n d\u1eef li\u1ec7u c\u1ea7n backup.\n<ul>\n<li>\u0110\u1ec3 backup file, \u1edf ph\u1ea7n<strong>\u00a0Other Selected Source<\/strong> ch\u1ecdn \u0111\u01b0\u1eddng d\u1eabn c\u1ea7n backup.<\/li>\n<li>Nh\u1ea5n <strong>Next<\/strong> \u0111\u1ec3 ti\u1ebfp t\u1ee5c.<br \/>\n<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636453821361.png\" alt=\"image-1636453821361.png\" \/><\/li>\n<\/ul>\n<\/li>\n<li>Trong c\u1eeda s\u1ed5 <strong>Schedule<\/strong>, nh\u1ea5n v\u00e0o bi\u1ec3u t\u01b0\u1ee3ng <strong>+<\/strong> \u0111\u1ec3 th\u00eam th\u1eddi gian ch\u1ea1y backup. Nh\u1ea5n Next \u0111\u1ec3 ti\u1ebfp t\u1ee5c.<\/li>\n<li>Trong c\u1eeda s\u1ed5 Destination, nh\u1ea5n <strong>Add<\/strong>, ph\u1ea7n\u00a0<strong>Destination Storage<\/strong>\u00a0ch\u1ecdn:\u00a0<strong><strong>AhsayCBS: businessbk.longvan.net<br \/>\n<\/strong><\/strong><img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636516390046.png\" alt=\"image-1636516390046.png\" \/><\/li>\n<li>Ti\u1ebfp theo s\u1ebd h\u1ecfi <strong>OpenDirect<\/strong>. Do\u00a0<strong>Backup Sets<\/strong>\u00a0d\u00f9ng cho Linux, c\u00f3 th\u1ec3 b\u1ecf qua v\u00e0 nh\u1ea5n\u00a0<strong>Next<\/strong>.<\/li>\n<li>Ti\u1ebfn t\u1ee5c nh\u1ea5n\u00a0<strong>Save<\/strong>.\u00a0T\u1ea1o th\u00e0nh c\u00f4ng <strong>Backup Sets<\/strong>.<br \/>\n<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636516619130.png\" alt=\"image-1636516619130.png\" \/><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h5><strong>II. T\u00f9y ch\u1ec9nh l\u1ea1i c\u1ea5u h\u00ecnh backup th\u00f4ng qua ch\u1ebf \u0111\u1ed9 d\u00f2ng l\u1ec7nh:<\/strong><\/h5>\n<ul>\n<li>Ch\u1ea1y c\u1ea5u h\u00ecnh \u1ee9ng d\u1ee5ng OMB tr\u00ean linux v\u1edbi l\u1ec7nh:<br \/>\n<em>#sh \/usr\/local\/obm\/bin\/RunConfigurator.sh<\/em><\/li>\n<li>Ch\u1ecdn 1 \u0111\u1ec3 thi\u1ebft l\u1eadp.<\/li>\n<li>Nh\u1eadp th\u00f4ng tin truy c\u1eadp chi ti\u1ebft bao g\u1ed3m: Server URL, Port, Protocol, Proxy, Username, Password.<br \/>\n<em><strong>L\u01b0u \u00fd:<\/strong> trong Server URL, IP 45.119.80.28 l\u00e0 IP truy c\u1eadp s\u1eed d\u1ee5ng cho server businessbk.longvan.net, c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng l\u1ec7nh ping ho\u1eb7c nslookup \u0111\u1ec3 ki\u1ec3m tra l\u1ea1i th\u00f4ng tin.<\/em><br \/>\n<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636518890003.png\" alt=\"image-1636518890003.png\" \/><\/li>\n<\/ul>\n<h5><strong>III. C\u1ea5u h\u00ecnh m\u00e3 h\u00f3a.<\/strong><\/h5>\n<ul>\n<li>Truy c\u1eadp v\u00e0o OBM tr\u00ean linux v\u1edbi l\u1ec7nh sau:<br \/>\n<em># sh \/usr\/local\/obm\/bin\/RunConfigurator.sh<\/em><\/li>\n<li>Ch\u1ecdn 1 sau \u0111\u00f3 nh\u1eadp Username v\u00e0 Password \u0111\u1ec3 truy c\u1eadp.<br \/>\n<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636518871730.png\" alt=\"image-1636518871730.png\" \/><\/li>\n<li>Sau khi \u0111\u0103ng nh\u1eadp, ph\u1ea3i c\u1ea5u h\u00ecnh thi\u1ebft l\u1eadp m\u00e3 h\u00f3a. L\u01b0u \u00fd ph\u1ea3i lu\u00f4n l\u01b0u gi\u1eef key m\u00e3 h\u00f3a, kh\u00f4ng c\u00f3 key s\u1ebd kh\u00f4ng th\u1ec3 restore \u0111\u01b0\u1ee3c d\u1eef li\u1ec7u. OBM c\u00f3 3 t\u00f9y ch\u1ecdn t\u1ea1o keey m\u00e3 h\u00f3a, bao g\u1ed3m:<br \/>\n<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636521987175.png\" alt=\"image-1636521987175.png\" \/><\/p>\n<ul>\n<li><strong>Default<\/strong>: Backup OBM s\u1ebd t\u1ea1o m\u1ed9t d\u00e3y key m\u00e3 h\u00f3a m\u1edbi.<\/li>\n<li><strong>User Password<\/strong>: S\u1ebd d\u00f9ng passwd c\u1ee7a user l\u00e0m key.<\/li>\n<li><strong>Custom<\/strong>: T\u00f9y ch\u1ecdn \u0111\u1ec3 t\u1ea1o key m\u1edbi, lo\u1ea1i m\u00e3 h\u00f3a m\u1edbi.<\/li>\n<\/ul>\n<\/li>\n<li>Sau khi ho\u00e0n th\u00e0nh thi\u1ebft l\u1eadp m\u00e3 h\u00f3a, giao di\u1ec7n d\u00f2ng l\u1ec7nh s\u1ebd hi\u1ec3n th\u1ecb giao di\u1ec7n qu\u1ea3n l\u00fd ch\u00ednh.<br \/>\n<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636522100602.png\" alt=\"image-1636522100602.png\" \/><\/li>\n<\/ul>\n<h5><strong>III. Th\u1ef1c hi\u1ec7n vi\u1ec7c backup ngay.<\/strong><\/h5>\n<ul>\n<li>\u0110\u1ec3 ch\u1ea1y backup ngay, th\u1ef1c hi\u1ec7n l\u00eanh sau:<br \/>\n<em>#sh \/usr\/local\/obm\/bin\/RunBackupSet.sh [BackupSetName]<br \/>\n<\/em>V\u1edbi [BackupSetName] l\u00e0 t\u00ean c\u1ee7a Backup Set t\u01b0\u01a1ng \u1ee9ng, c\u00f3 th\u1ec3 xem t\u00ean c\u1ee5 th\u1ec3 \u1edf giao di\u1ec7n web ho\u1eb7c hi\u1ec3n th\u1ecb List Backup Sets khi truy c\u1eadp b\u1eb1ng giao di\u1ec7n d\u00f2ng l\u1ec7nh.<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636534459157.png\" alt=\"image-1636534459157.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636534479781.png\" alt=\"image-1636534479781.png\" \/><\/li>\n<li>Log backup s\u1ebd hi\u1ec3n th\u1ecb theo th\u1eddi gian th\u1ef1c, th\u1eddi gian ph\u1ee5 thu\u1ed9c v\u00e0o d\u1eef li\u1ec7u c\u1ea7n backup.<\/li>\n<li>OBM s\u1ebd hi\u1ec3n th\u1ecb <strong>Backup Completed Successfully<\/strong> sau khi ho\u00e0n th\u00e0nh qu\u00e1 tr\u00ecnh.<\/li>\n<li>Ki\u1ec3m tra d\u1eef li\u1ec7u backup th\u00f4ng qua giao di\u1ec7n web.\n<ul>\n<li>Truy c\u1eadp v\u00e0o website https:\/\/businessbk.longvan.net<\/li>\n<li>Trong Backup\/Restore, ch\u1ecdn User.<\/li>\n<li>Ch\u1ecdn menu Report v\u00e0 tab Backup \u0111\u1ec3 th\u1ea5y \u0111\u01b0\u1ee3c th\u00f4ng tin l\u1ea7n backup g\u1ea7n nh\u1ea5t.<br \/>\n<img decoding=\"async\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/02\/image-1636535319545.png\" alt=\"image-1636535319545.png\" \/><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I. T\u1ea1o Backup Set th\u00f4ng qua giao di\u1ec7n web: C\u00e1c Backup Set (thi\u1ebft l\u1eadp sao l\u01b0u) kh\u00f4ng th\u1ec3 t\u1ea1o t\u1eeb d\u00f2ng l\u1ec7nh tr\u00ean linux, do \u0111\u00f3 ph\u1ea3i s\u1eed d\u1ee5ng giao di\u1ec7n web \u0111\u1ec3 c\u1ea5u h\u00ecnh ban \u0111\u1ea7u. \u0110\u0103ng nh\u1eadp v\u00e0o giao di\u1ec7n web v\u1edbi t\u00e0i kho\u1ea3n \u0111\u01b0\u1ee3c cung c\u1ea5p. T\u1ea1o Backup Set: Sau khi login [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_oasis_is_in_workflow":0,"_oasis_original":0,"footnotes":""},"categories":[18],"tags":[],"class_list":["post-421","post","type-post","status-publish","format-standard","hentry","category-bussiness-backup"],"_links":{"self":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/comments?post=421"}],"version-history":[{"count":3,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/421\/revisions"}],"predecessor-version":[{"id":2200,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/421\/revisions\/2200"}],"wp:attachment":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/media?parent=421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/categories?post=421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/tags?post=421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}