{"id":15847,"date":"2024-06-17T11:59:00","date_gmt":"2024-06-17T04:59:00","guid":{"rendered":"https:\/\/blog.tinohost.com\/?p=2215"},"modified":"2026-10-26T10:27:28","modified_gmt":"2026-10-26T03:27:28","slug":"cach-lay-database-cua-website-tren-hosting-cpanel","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/cach-lay-database-cua-website-tren-hosting-cpanel\/","title":{"rendered":"C\u00e1ch l\u1ea5y database c\u1ee7a website tr\u00ean hosting cPanel (2 c\u00e1ch)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>\u0110\u1ec3 l\u1ea5y database c\u1ee7a website tr\u00ean hosting cPanel, b\u1ea1n m\u1edf phpMyAdmin, ch\u1ecdn database v\u00e0 b\u1ea5m Export, ho\u1eb7c v\u00e0o Backup v\u00e0 b\u1ea5m t\u00ean database \u1edf m\u1ee5c t\u1ea3i b\u1ea3n sao l\u01b0u MySQL.<\/strong> C\u00e1ch \u0111\u1ea7u cho file <code>.sql<\/code>, c\u00e1ch sau cho file n\u00e9n <code>.gz<\/code>; c\u1ea3 hai \u0111\u1ec1u ch\u1ee9a to\u00e0n b\u1ed9 b\u1ea3ng v\u00e0 d\u1eef li\u1ec7u c\u1ee7a website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u00e0i thu\u1ed9c nh\u00f3m <a href=\"https:\/\/tino.vn\/blog\/truy-cap-va-lay-thong-tin-hosting-tai-tino\/\">qu\u1ea3n tr\u1ecb website tr\u00ean hosting<\/a> trong ch\u1ee7 \u0111\u1ec1 <a href=\"https:\/\/tino.vn\/blog\/hosting-la-gi\/\">hosting<\/a>. B\u1ea1n c\u1ea7n l\u1ea5y database khi chuy\u1ec3n website sang hosting kh\u00e1c, gi\u1eef m\u1ed9t b\u1ea3n sao tr\u01b0\u1edbc khi c\u1eadp nh\u1eadt l\u1edbn, ho\u1eb7c g\u1eedi d\u1eef li\u1ec7u cho ng\u01b0\u1eddi h\u1ed7 tr\u1ee3 k\u1ef9 thu\u1eadt ki\u1ec3m tra l\u1ed7i.<\/p>\n\n\n\n<h2 id=\"Database_c\u1ee7a_website_ch\u1ee9a_nh\u1eefng_g\u00ec?\">Database c\u1ee7a website ch\u1ee9a nh\u1eefng g\u00ec?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/tino.vn\/blog\/database-la-gi\/\">Database<\/a> c\u1ee7a website l\u01b0u to\u00e0n b\u1ed9 d\u1eef li\u1ec7u \u0111\u1ed9ng: b\u00e0i vi\u1ebft, trang, t\u00e0i kho\u1ea3n ng\u01b0\u1eddi d\u00f9ng, s\u1ea3n ph\u1ea9m, \u0111\u01a1n h\u00e0ng v\u00e0 ph\u1ea7n l\u1edbn c\u1ea5u h\u00ecnh. M\u00e3 ngu\u1ed3n v\u00e0 \u1ea3nh n\u1eb1m trong th\u01b0 m\u1ee5c <code>public_html<\/code>, c\u00f2n n\u1ed9i dung n\u1eb1m trong database MySQL ho\u1eb7c MariaDB. V\u00ec v\u1eady sao l\u01b0u website ph\u1ea3i l\u1ea5y c\u1ea3 hai ph\u1ea7n.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1ed9t hosting cPanel th\u01b0\u1eddng c\u00f3 nhi\u1ec1u database (website c\u0169, b\u1ea3n th\u1eed nghi\u1ec7m, plugin). Tr\u01b0\u1edbc khi t\u1ea3i, c\u1ea7n bi\u1ebft ch\u00ednh x\u00e1c database n\u00e0o \u0111ang \u0111\u01b0\u1ee3c website d\u00f9ng.<\/p>\n\n\n\n<h2 id=\"H\u01b0\u1edbng_d\u1eabn_c\u00e1ch_l\u1ea5y_database_c\u1ee7a_website_tr\u00ean_hosting_cPanel\">H\u01b0\u1edbng d\u1eabn c\u00e1ch l\u1ea5y database c\u1ee7a website tr\u00ean hosting cPanel<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L\u1ea5y database tr\u00ean cPanel g\u1ed3m hai vi\u1ec7c: x\u00e1c \u0111\u1ecbnh \u0111\u00fang t\u00ean database website \u0111ang d\u00f9ng, r\u1ed3i t\u1ea3i n\u00f3 v\u1ec1 b\u1eb1ng phpMyAdmin (Export) ho\u1eb7c b\u1eb1ng trang Backup.<\/strong> phpMyAdmin cho file <code>.sql<\/code> v\u00e0 cho ch\u1ecdn t\u1eebng b\u1ea3ng; Backup t\u1ea3i nguy\u00ean m\u1ed9t database d\u1ea1ng n\u00e9n, \u00edt b\u1ecb ng\u1eaft h\u01a1n v\u1edbi database l\u1edbn.<\/p>\n\n\n\n<h3 id=\"X\u00e1c_\u0111\u1ecbnh_t\u00ean_database_c\u1ea7n_l\u1ea5y\">X\u00e1c \u0111\u1ecbnh t\u00ean database c\u1ea7n l\u1ea5y<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">T\u00ean database ghi trong file c\u1ea5u h\u00ecnh c\u1ee7a m\u00e3 ngu\u1ed3n. V\u1edbi WordPress, m\u1edf <code>wp-config.php<\/code> trong File Manager v\u00e0 xem d\u00f2ng <code>DB_NAME<\/code> (<a href=\"https:\/\/tino.vn\/blog\/wp-config-php-o-dau\/\">wp-config.php \u1edf \u0111\u00e2u<\/a>). M\u00e3 ngu\u1ed3n kh\u00e1c th\u01b0\u1eddng d\u00f9ng file <code>.env<\/code>, <code>config.php<\/code> ho\u1eb7c <code>configuration.php<\/code>. Tr\u00ean cPanel, t\u00ean database th\u01b0\u1eddng c\u00f3 ti\u1ec1n t\u1ed1 l\u00e0 t\u00ean t\u00e0i kho\u1ea3n hosting, v\u00ed d\u1ee5 <code>tentaikhoan_wp386<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi c\u00f3 t\u00ean database, ch\u1ecdn m\u1ed9t trong hai c\u00e1ch d\u01b0\u1edbi.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1400\" height=\"750\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-2-cach.webp\" alt=\"So s\u00e1nh hai c\u00e1ch t\u1ea3i database tr\u00ean cPanel: phpMyAdmin Export ra file .sql c\u00f3 th\u1ec3 ch\u1ecdn b\u1ea3ng, cPanel Backup t\u1ea3i file .gz cho t\u1eebng database; m\u1eb9o ki\u1ec3m tra file sau khi t\u1ea3i\" class=\"wp-image-132171\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-2-cach.webp 1400w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-2-cach-300x161.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-2-cach-1024x549.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-2-cach-768x411.webp 768w\" sizes=\"(max-width: 1400px) 100vw, 1400px\" \/><\/figure>\n\n\n\n<h3 id=\"C\u00e1ch_1:_Export_database_t\u1eeb_phpMyAdmin\">C\u00e1ch 1: Export database t\u1eeb phpMyAdmin<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Truy c\u1eadp cPanel >> <strong>phpMyAdmin<\/strong> (m\u1ee5c Databases) >> ch\u1ecdn database \u1edf c\u1ed9t tr\u00e1i, sau \u0111\u00f3 b\u1ea5m tab <strong>Xu\u1ea5t<\/strong> (Export). N\u1ebfu ch\u01b0a quen giao di\u1ec7n, xem <a href=\"https:\/\/tino.vn\/blog\/phpmyadmin-la-gi\/\">phpMyAdmin l\u00e0 g\u00ec<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"983\" height=\"984\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-01-1-che.webp\" alt=\"phpMyAdmin tr\u00ean hosting cPanel: ch\u1ecdn database c\u00f3 \u0111u\u00f4i wp386 \u1edf c\u1ed9t tr\u00e1i, m\u0169i t\u00ean ch\u1ec9 tab Xu\u1ea5t tr\u00ean thanh c\u00f4ng c\u1ee5; t\u00ean t\u00e0i kho\u1ea3n \u0111\u00e3 che\" class=\"wp-image-132168\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-01-1-che.webp 983w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-01-1-che-300x300.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-01-1-che-150x150.webp 150w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-01-1-che-768x769.webp 768w\" sizes=\"(max-width: 983px) 100vw, 983px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u1ea2nh ch\u1ee5p tr\u00ean phpMyAdmin 4.8.5; b\u1ea3n hi\u1ec7n h\u00e0nh l\u00e0 5.2.3 (phpmyadmin.net, 25\/10\/2026), tab Xu\u1ea5t (Export) v\u1eabn \u1edf c\u00f9ng v\u1ecb tr\u00ed.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">phpMyAdmin chuy\u1ec3n sang trang ch\u1ecdn ph\u01b0\u01a1ng th\u1ee9c xu\u1ea5t. \u0110\u1ec3 m\u1eb7c \u0111\u1ecbnh <em>Nhanh<\/em> v\u00e0 \u0111\u1ecbnh d\u1ea1ng <em>SQL<\/em>, r\u1ed3i b\u1ea5m <strong>Th\u1ef1c hi\u1ec7n<\/strong> \u0111\u1ec3 t\u1ea3i file v\u1ec1 m\u00e1y.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"982\" height=\"983\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-02-1-che.webp\" alt=\"Trang Xu\u1ea5t c\u00e1c b\u1ea3ng t\u1eeb c\u01a1 s\u1edf d\u1eef li\u1ec7u trong phpMyAdmin: ph\u01b0\u01a1ng th\u1ee9c Nhanh, \u0111\u1ecbnh d\u1ea1ng SQL v\u00e0 n\u00fat Th\u1ef1c hi\u1ec7n\" class=\"wp-image-132169\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-02-1-che.webp 982w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-02-1-che-300x300.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-02-1-che-150x150.webp 150w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-02-1-che-768x769.webp 768w\" sizes=\"(max-width: 982px) 100vw, 982px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ecdn <em>T\u00f9y th\u00edch<\/em> (Custom) khi c\u1ea7n nhi\u1ec1u h\u01a1n: ch\u1ec9 xu\u1ea5t m\u1ed9t s\u1ed1 b\u1ea3ng, n\u00e9n file b\u1eb1ng gzip \u0111\u1ec3 t\u1ea3i nhanh h\u01a1n, ho\u1eb7c th\u00eam l\u1ec7nh <code>DROP TABLE<\/code> \u0111\u1ec3 khi nh\u1eadp l\u1ea1i s\u1ebd ghi \u0111\u00e8 b\u1ea3ng c\u0169. Database l\u1edbn, xu\u1ea5t qua tr\u00ecnh duy\u1ec7t c\u00f3 th\u1ec3 b\u1ecb ng\u1eaft; khi \u0111\u00f3 d\u00f9ng c\u00e1ch 2.<\/p>\n\n\n\n<h3 id=\"C\u00e1ch_2:_T\u1ea3i_database_t\u1eeb_t\u00ednh_n\u0103ng_Backup_c\u1ee7a_cPanel\">C\u00e1ch 2: T\u1ea3i database t\u1eeb t\u00ednh n\u0103ng Backup c\u1ee7a cPanel<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Truy c\u1eadp cPanel >> m\u1ee5c Files >> <strong>Backup<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"984\" height=\"589\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-03-1-che.webp\" alt=\"Giao di\u1ec7n cPanel m\u1ee5c Files, m\u0169i t\u00ean ch\u1ec9 bi\u1ec3u t\u01b0\u1ee3ng Backup; b\u00ean d\u01b0\u1edbi c\u00f3 nh\u00f3m JetBackup\" class=\"wp-image-132170\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-03-1-che.webp 984w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-03-1-che-300x180.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cach-lay-database-cua-website-tren-hosting-cpanel-03-1-che-768x460.webp 768w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u1ede ph\u1ea7n t\u1ea3i b\u1ea3n sao l\u01b0u MySQL (<em>Download a MySQL Database Backup<\/em>), cPanel li\u1ec7t k\u00ea m\u1ecdi database tr\u00ean hosting. B\u1ea5m v\u00e0o t\u00ean database \u0111\u1ec3 t\u1ea3i v\u1ec1; theo <a href=\"https:\/\/docs.cpanel.net\/cpanel\/files\/backup-for-cpanel\/\" target=\"_blank\" rel=\"noopener nofollow\">t\u00e0i li\u1ec7u cPanel<\/a>, file c\u00f3 d\u1ea1ng n\u00e9n <code>.gz<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u1ea2nh ch\u1ee5p giao di\u1ec7n cPanel n\u0103m 2023. Tr\u00ean c\u00e1c b\u1ea3n cPanel hi\u1ec7n h\u00e0nh, m\u1ee5c n\u00e0y n\u1eb1m \u1edf ph\u1ea7n Partial Backups, d\u01b0\u1edbi ti\u00eau \u0111\u1ec1 Databases.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hosting c\u00f3 JetBackup (nh\u01b0 trong \u1ea3nh) c\u00f2n cho t\u1ea3i database t\u1eeb c\u00e1c b\u1ea3n sao l\u01b0u t\u1ef1 \u0111\u1ed9ng c\u1ee7a nh\u1eefng ng\u00e0y tr\u01b0\u1edbc, h\u1eefu \u00edch khi d\u1eef li\u1ec7u hi\u1ec7n t\u1ea1i \u0111\u00e3 h\u1ecfng. C\u00e1ch l\u00e0m xem b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/restore-du-lieu-hosting-tren-jetbackup-5\/\">kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u hosting b\u1eb1ng JetBackup 5<\/a>.<\/p>\n\n\n\n<h2 id=\"Ki\u1ec3m_tra_file_database_sau_khi_t\u1ea3i_v\u1ec1\">Ki\u1ec3m tra file database sau khi t\u1ea3i v\u1ec1<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Sau khi t\u1ea3i, ki\u1ec3m tra file database theo b\u1ed1n \u0111i\u1ec3m: dung l\u01b0\u1ee3ng kh\u00e1c 0, c\u00f3 l\u1ec7nh t\u1ea1o b\u1ea3ng v\u00e0 ch\u00e8n d\u1eef li\u1ec7u, k\u1ebft th\u00fac b\u1eb1ng m\u1ed9t c\u00e2u l\u1ec7nh ho\u00e0n ch\u1ec9nh, v\u00e0 \u0111\u00e3 c\u00f3 b\u1ea3n l\u01b0u ngo\u00e0i hosting.<\/strong> M\u1ed9t file t\u1ea3i d\u1edf v\u1eabn mang \u0111\u00fang t\u00ean, n\u00ean c\u1ea7n m\u1edf th\u1eed tr\u01b0\u1edbc khi xo\u00e1 hay ghi \u0111\u00e8 d\u1eef li\u1ec7u tr\u00ean hosting.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Dung l\u01b0\u1ee3ng:<\/strong> l\u1edbn h\u01a1n 0 v\u00e0 t\u01b0\u01a1ng \u0111\u01b0\u01a1ng c\u1ed9t Size c\u1ee7a database trong cPanel (file n\u00e9n nh\u1ecf h\u01a1n \u0111\u00e1ng k\u1ec3).<\/li>\n\n\n<li><strong>N\u1ed9i dung:<\/strong> m\u1edf file <code>.sql<\/code> b\u1eb1ng tr\u00ecnh so\u1ea1n th\u1ea3o v\u0103n b\u1ea3n, th\u1ea5y c\u00e1c l\u1ec7nh <code>CREATE TABLE<\/code> v\u00e0 <code>INSERT INTO<\/code> c\u1ee7a \u0111\u1ee7 c\u00e1c b\u1ea3ng.<\/li>\n\n\n<li><strong>Ph\u1ea7n cu\u1ed1i file:<\/strong> k\u1ebft th\u00fac b\u1eb1ng l\u1ec7nh SQL ho\u00e0n ch\u1ec9nh; file d\u1eebng gi\u1eefa m\u1ed9t c\u00e2u l\u1ec7nh l\u00e0 t\u1ea3i ch\u01b0a xong.<\/li>\n\n\n<li><strong>N\u01a1i l\u01b0u:<\/strong> gi\u1eef \u00edt nh\u1ea5t m\u1ed9t b\u1ea3n \u1edf ngo\u00e0i hosting, v\u00ed d\u1ee5 m\u00e1y t\u00ednh ho\u1eb7c d\u1ecbch v\u1ee5 l\u01b0u tr\u1eef \u0111\u00e1m m\u00e2y.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"Gi\u1edbi_h\u1ea1n_khi_t\u1ea3i_database_qua_tr\u00ecnh_duy\u1ec7t\">Gi\u1edbi h\u1ea1n khi t\u1ea3i database qua tr\u00ecnh duy\u1ec7t<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>C\u1ea3 hai c\u00e1ch trong b\u00e0i \u0111\u1ec1u t\u1ea3i database qua tr\u00ecnh duy\u1ec7t, n\u00ean kh\u00f4ng h\u1ee3p v\u1edbi database r\u1ea5t l\u1edbn ho\u1eb7c c\u1ea7n sao l\u01b0u \u0111\u1ec1u \u0111\u1eb7n.<\/strong> G\u1eb7p c\u00e1c tr\u01b0\u1eddng h\u1ee3p d\u01b0\u1edbi, ch\u1ecdn c\u00e1ch kh\u00e1c:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Export b\u1ecb ng\u1eaft ho\u1eb7c file t\u1ea3i v\u1ec1 thi\u1ebfu b\u1ea3ng:<\/strong> d\u00f9ng trang Backup, ho\u1eb7c ch\u1ea1y <code>mysqldump<\/code> qua SSH n\u1ebfu g\u00f3i hosting c\u00f3 SSH.<\/li>\n\n\n<li><strong>C\u1ea7n sao l\u01b0u \u0111\u1ecbnh k\u1ef3:<\/strong> t\u1ea3i tay d\u1ec5 qu\u00ean; d\u00f9ng b\u1ea3n sao l\u01b0u t\u1ef1 \u0111\u1ed9ng c\u1ee7a hosting (v\u00ed d\u1ee5 JetBackup) ho\u1eb7c l\u1ecbch ch\u1ea1y b\u1eb1ng <a href=\"https:\/\/tino.vn\/blog\/cron-jobs-la-gi\/\">Cron Jobs<\/a>.<\/li>\n\n\n<li><strong>Chuy\u1ec3n c\u1ea3 website:<\/strong> file database ch\u01b0a \u0111\u1ee7, c\u00f2n c\u1ea7n m\u00e3 ngu\u1ed3n trong <code>public_html<\/code> v\u00e0 t\u00e0i kho\u1ea3n database tr\u00ean hosting m\u1edbi.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"Kh\u00f4i_ph\u1ee5c_database_t\u1eeb_file_\u0111\u00e3_t\u1ea3i\">Kh\u00f4i ph\u1ee5c database t\u1eeb file \u0111\u00e3 t\u1ea3i<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">File <code>.sql<\/code> ho\u1eb7c <code>.sql.gz<\/code> nh\u1eadp l\u1ea1i \u0111\u01b0\u1ee3c b\u1eb1ng tab <strong>Nh\u1eadp<\/strong> (Import) c\u1ee7a phpMyAdmin, ho\u1eb7c b\u1eb1ng ph\u1ea7n kh\u00f4i ph\u1ee5c trong trang Backup c\u1ee7a cPanel. Thao t\u00e1c kh\u00f4i ph\u1ee5c ghi \u0111\u00e8 d\u1eef li\u1ec7u \u0111ang c\u00f3, n\u00ean h\u00e3y t\u1ea3i m\u1ed9t b\u1ea3n hi\u1ec7n t\u1ea1i tr\u01b0\u1edbc khi nh\u1eadp.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">File l\u1edbn h\u01a1n gi\u1edbi h\u1ea1n Import th\u00ec xem b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/cach-tang-gioi-han-upload-import-phpmyadmin-directadmin\/\">t\u0103ng gi\u1edbi h\u1ea1n upload\/import phpMyAdmin<\/a>. Chuy\u1ec3n c\u1ea3 website WordPress sang n\u01a1i kh\u00e1c, tham kh\u1ea3o <a href=\"https:\/\/tino.vn\/blog\/cach-chuyen-website-wordpress-sang-hosting-moi\/\">c\u00e1ch chuy\u1ec3n website WordPress sang hosting m\u1edbi<\/a>.<\/p>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\">Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"N\u00ean_sao_l\u01b0u_database_bao_l\u00e2u_m\u1ed9t_l\u1ea7n?\">N\u00ean sao l\u01b0u database bao l\u00e2u m\u1ed9t l\u1ea7n?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Tu\u1ef3 m\u1ee9c d\u1eef li\u1ec7u thay \u0111\u1ed5i. Website c\u00f3 \u0111\u01a1n h\u00e0ng, b\u00ecnh lu\u1eadn ho\u1eb7c \u0111\u0103ng b\u00e0i m\u1ed7i ng\u00e0y n\u00ean c\u00f3 b\u1ea3n sao h\u1eb1ng ng\u00e0y; website \u00edt c\u1eadp nh\u1eadt c\u00f3 th\u1ec3 sao l\u01b0u h\u1eb1ng tu\u1ea7n v\u00e0 lu\u00f4n sao l\u01b0u tr\u01b0\u1edbc khi c\u1eadp nh\u1eadt plugin, theme hay m\u00e3 ngu\u1ed3n.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"N\u00ean_l\u01b0u_tr\u1eef_b\u1ea3n_sao_l\u01b0u_database_\u1edf_\u0111\u00e2u?\">N\u00ean l\u01b0u tr\u1eef b\u1ea3n sao l\u01b0u database \u1edf \u0111\u00e2u?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">L\u01b0u \u00edt nh\u1ea5t m\u1ed9t b\u1ea3n ngo\u00e0i hosting: \u1ed5 c\u1ee9ng ngo\u00e0i, m\u00e1y t\u00ednh kh\u00e1c ho\u1eb7c d\u1ecbch v\u1ee5 l\u01b0u tr\u1eef \u0111\u00e1m m\u00e2y. B\u1ea3n sao ch\u1ec9 n\u1eb1m tr\u00ean c\u00f9ng hosting s\u1ebd m\u1ea5t theo khi t\u00e0i kho\u1ea3n g\u1eb7p s\u1ef1 c\u1ed1.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"L\u00e0m_sao_bi\u1ebft_database_c\u1ee7a_t\u00f4i_\u0111\u00e3_\u0111\u01b0\u1ee3c_sao_l\u01b0u_ch\u01b0a?\">L\u00e0m sao bi\u1ebft database c\u1ee7a t\u00f4i \u0111\u00e3 \u0111\u01b0\u1ee3c sao l\u01b0u ch\u01b0a?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">V\u00e0o Backup ho\u1eb7c JetBackup trong cPanel \u0111\u1ec3 xem danh s\u00e1ch b\u1ea3n sao l\u01b0u v\u00e0 ng\u00e0y t\u1ea1o. V\u1edbi b\u1ea3n t\u1ef1 t\u1ea3i, ki\u1ec3m tra ng\u00e0y v\u00e0 dung l\u01b0\u1ee3ng file tr\u00ean m\u00e1y c\u1ee7a b\u1ea1n.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u00f3_th\u1ec3_t\u1ef1_\u0111\u1ed9ng_ho\u00e1_vi\u1ec7c_sao_l\u01b0u_database_kh\u00f4ng?\">C\u00f3 th\u1ec3 t\u1ef1 \u0111\u1ed9ng ho\u00e1 vi\u1ec7c sao l\u01b0u database kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">C\u00f3. B\u1ea1n c\u00f3 th\u1ec3 d\u00f9ng b\u1ea3n sao l\u01b0u t\u1ef1 \u0111\u1ed9ng c\u1ee7a nh\u00e0 cung c\u1ea5p hosting, plugin sao l\u01b0u c\u1ee7a WordPress (<a href=\"https:\/\/tino.vn\/blog\/cach-backup-website-wordpress\/\">c\u00e1ch backup website WordPress<\/a>), ho\u1eb7c l\u1ec7nh mysqldump ch\u1ea1y theo l\u1ecbch b\u1eb1ng <a href=\"https:\/\/tino.vn\/blog\/cron-jobs-la-gi\/\">Cron Jobs<\/a>.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"N\u00ean sao l\u01b0u database bao l\u00e2u m\u1ed9t l\u1ea7n?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Tu\u1ef3 m\u1ee9c d\u1eef li\u1ec7u thay \u0111\u1ed5i. Website c\u00f3 \u0111\u01a1n h\u00e0ng, b\u00ecnh lu\u1eadn ho\u1eb7c \u0111\u0103ng b\u00e0i m\u1ed7i ng\u00e0y n\u00ean c\u00f3 b\u1ea3n sao h\u1eb1ng ng\u00e0y; website \u00edt c\u1eadp nh\u1eadt c\u00f3 th\u1ec3 sao l\u01b0u h\u1eb1ng tu\u1ea7n v\u00e0 lu\u00f4n sao l\u01b0u tr\u01b0\u1edbc khi c\u1eadp nh\u1eadt plugin, theme hay m\u00e3 ngu\u1ed3n.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"N\u00ean l\u01b0u tr\u1eef b\u1ea3n sao l\u01b0u database \u1edf \u0111\u00e2u?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>L\u01b0u \u00edt nh\u1ea5t m\u1ed9t b\u1ea3n ngo\u00e0i hosting: \u1ed5 c\u1ee9ng ngo\u00e0i, m\u00e1y t\u00ednh kh\u00e1c ho\u1eb7c d\u1ecbch v\u1ee5 l\u01b0u tr\u1eef \u0111\u00e1m m\u00e2y. B\u1ea3n sao ch\u1ec9 n\u1eb1m tr\u00ean c\u00f9ng hosting s\u1ebd m\u1ea5t theo khi t\u00e0i kho\u1ea3n g\u1eb7p s\u1ef1 c\u1ed1.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"L\u00e0m sao bi\u1ebft database c\u1ee7a t\u00f4i \u0111\u00e3 \u0111\u01b0\u1ee3c sao l\u01b0u ch\u01b0a?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>V\u00e0o Backup ho\u1eb7c JetBackup trong cPanel \u0111\u1ec3 xem danh s\u00e1ch b\u1ea3n sao l\u01b0u v\u00e0 ng\u00e0y t\u1ea1o. V\u1edbi b\u1ea3n t\u1ef1 t\u1ea3i, ki\u1ec3m tra ng\u00e0y v\u00e0 dung l\u01b0\u1ee3ng file tr\u00ean m\u00e1y c\u1ee7a b\u1ea1n.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u00f3 th\u1ec3 t\u1ef1 \u0111\u1ed9ng ho\u00e1 vi\u1ec7c sao l\u01b0u database kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>C\u00f3. B\u1ea1n c\u00f3 th\u1ec3 d\u00f9ng b\u1ea3n sao l\u01b0u t\u1ef1 \u0111\u1ed9ng c\u1ee7a nh\u00e0 cung c\u1ea5p hosting, plugin sao l\u01b0u c\u1ee7a WordPress (<a>c\u00e1ch backup website WordPress<\/a>), ho\u1eb7c l\u1ec7nh mysqldump ch\u1ea1y theo l\u1ecbch b\u1eb1ng <a>Cron Jobs<\/a>.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">C\u1ea7n hosting \u1ed5n \u0111\u1ecbnh cho website? <a href=\"https:\/\/tino.vn\/hosting-gia-re\">Hosting c\u1ee7a Tino<\/a> d\u00f9ng \u1ed5 NVMe, LiteSpeed v\u00e0 cPanel \u0111\u1ec3 b\u1ea1n t\u1ef1 qu\u1ea3n tr\u1ecb. Xem c\u1ea5u h\u00ecnh v\u00e0 gi\u00e1 tr\u00ean trang s\u1ea3n ph\u1ea9m.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u0110\u1ec3 l\u1ea5y database c\u1ee7a website tr\u00ean hosting cPanel, b\u1ea1n m\u1edf phpMyAdmin, ch\u1ecdn database v\u00e0 b\u1ea5m Export, ho\u1eb7c v\u00e0o Backup v\u00e0 b\u1ea5m t\u00ean database \u1edf m\u1ee5c t\u1ea3i b\u1ea3n sao l\u01b0u MySQL. C\u00e1ch \u0111\u1ea7u cho file .sql, c\u00e1ch sau cho file n\u00e9n .gz; c\u1ea3 hai \u0111\u1ec1u ch\u1ee9a to\u00e0n b\u1ed9 b\u1ea3ng v\u00e0 d\u1eef li\u1ec7u c\u1ee7a website. B\u00e0i thu\u1ed9c [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":132118,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7726],"tags":[6394],"class_list":["post-15847","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hosting","tag-kien-thuc-hosting"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/15847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=15847"}],"version-history":[{"count":7,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/15847\/revisions"}],"predecessor-version":[{"id":132267,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/15847\/revisions\/132267"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/132118"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=15847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=15847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=15847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}