{"id":6746,"date":"2021-04-15T18:50:00","date_gmt":"2021-04-15T18:50:00","guid":{"rendered":"https:\/\/readyship.co\/blog\/?p=6746"},"modified":"2021-04-15T18:50:02","modified_gmt":"2021-04-15T18:50:02","slug":"manually-export-import-back-up-restore-wordpress-database-cpanel","status":"publish","type":"post","link":"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/","title":{"rendered":"2 Ways to Manually Export, Import, Back Up &#038; Restore a WordPress Database in cPanel"},"content":{"rendered":"\n<p>The database is the most important part of a WordPress website. It stores your content, users, settings, URLs, and more.<\/p>\n\n\n\n<p>If something bad happens to your WordPress website &#8211; like getting hacked and losing your data &#8211; and you don&#8217;t have the database backed up, then your website is gone forever.<\/p>\n\n\n\n<p>So, it&#8217;s critical to either <a href=\"https:\/\/readyship.co\/blog\/backup-restore-wordpress-site-updraftplus\/\">back up your entire WordPress site<\/a>, or, at the very least, back up your database.<\/p>\n\n\n\n<p>You might need to export your WordPress database for other scenarios as well, not just as a backup in case something goes bad. For example, you might want to manually transfer your WordPress website to another web host.<\/p>\n\n\n\n<p>So, in this step-by-step tutorial, I&#8217;ll show you how to manually export and import your WordPress database using phpMyAdmin, as well as how to back it up and restore it using the Backup tool. All this from your cPanel, which is your server&#8217;s control panel that virtually all Shared web hosts have.<\/p>\n\n\n\n<p class=\"rs-info\">The cPanel interface differs from host to host. So, yours might look a bit different than the one in my screenshots. But don&#8217;t worry, the tools should still be there.<\/p>\n\n\n\n<div class=\"wp-block-group rs-toc\"><div class=\"wp-block-group__inner-container\">\n<p><strong>Contents<\/strong><\/p>\n\n\n\n<ol><li><a href=\"#export-phpmyadmin\">How to Manually Export a WordPress Database with phpMyAdmin in cPanel<\/a><\/li><li><a href=\"#import-phpmyadmin\">How to Manually Import a WordPress Database with phpMyAdmin in cPanel<\/a><ol><li><a href=\"#table-exists-error\">The &#8220;#1050 &#8211; Table already exists&#8221; error &#8211; Deleting tables<\/a><\/li><\/ol><\/li><li><a href=\"#download-backup\">How to Manually Back Up a WordPress Database with the Backup Tool in cPanel<\/a><\/li><li><a href=\"#restore-backup\">How to Manually Restore a WordPress Database with the Backup Tool in cPanel<\/a><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 id=\"export-phpmyadmin\">How to Manually Export a WordPress Database with phpMyAdmin in cPanel<\/h2>\n\n\n\n<h3>Step 1<\/h3>\n\n\n\n<p>Access and log in to cPanel.<\/p>\n\n\n\n<p>Usually, you can quickly access cPanel by adding the <code>\/cpanel<\/code> slug after your domain (e.g. <code>https:\/\/example.com\/cpanel<\/code>).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"636\" height=\"687\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in.png\" alt=\"cpanel log in\" class=\"wp-image-5433\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in.png 636w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in-278x300.png 278w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/figure><\/div>\n\n\n\n<p>If you didn&#8217;t receive your login information after purchasing the hosting plan, check the hosting documentation or contact them for help.<\/p>\n\n\n\n<h3>Step 2<\/h3>\n\n\n\n<p>After logging in to cPanel, look for the <strong>phpMyAdmin<\/strong> tool. It should be in the Databases section.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"779\" height=\"251\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/03\/phpmyadmin-cpanel.png\" alt=\"phpmyadmin in cpanel\" class=\"wp-image-6401\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/03\/phpmyadmin-cpanel.png 779w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/03\/phpmyadmin-cpanel-300x97.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/03\/phpmyadmin-cpanel-768x247.png 768w\" sizes=\"(max-width: 779px) 100vw, 779px\" \/><\/figure><\/div>\n\n\n\n<h3>Step 3<\/h3>\n\n\n\n<p>If you have multiple WordPress websites on the same hosting plan, you&#8217;ll most likely have multiple databases in phpMyAdmin, one for each website.<\/p>\n\n\n\n<p>Now, <strong>if you want to export them all skip to the next step.<\/strong><\/p>\n\n\n\n<p>If you want to export a particular one, not all, then you&#8217;ll need to select it, first, by clicking on it on the left sidebar.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"684\" height=\"418\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/select-wordpress-database-phpmyadmin.png\" alt=\"select wordpress database in phpmyadmin\" class=\"wp-image-6756\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/select-wordpress-database-phpmyadmin.png 684w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/select-wordpress-database-phpmyadmin-300x183.png 300w\" sizes=\"(max-width: 684px) 100vw, 684px\" \/><\/figure><\/div>\n\n\n\n<h3>Step 4<\/h3>\n\n\n\n<p>Click on the <strong>Export<\/strong> tab found in the upper toolbox. If you selected a WordPress database at step 3, it will only export that one. If you didn&#8217;t select any, it will export all of them.<\/p>\n\n\n\n<p>Leave <strong>Quick<\/strong> set as the <strong>Export method<\/strong>. Leave <strong>SQL<\/strong> as the <strong>Format<\/strong> unless you have special plans with your WordPress website, and you need another format.<\/p>\n\n\n\n<p>When ready, click on the <strong>Go<\/strong> button, which will start the download of the <code>.sql<\/code> file.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"834\" height=\"410\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/export-database-wordpress-phpmyadmin.png\" alt=\"export wordpress database in phpmyadmin\" class=\"wp-image-6759\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/export-database-wordpress-phpmyadmin.png 834w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/export-database-wordpress-phpmyadmin-300x147.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/export-database-wordpress-phpmyadmin-768x378.png 768w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/figure><\/div>\n\n\n\n<p>Note that <strong>if you opted to export all WordPress databases<\/strong>, it will put them into a single <code>.sql<\/code> file by default. If you want them into separate files, then:<\/p>\n\n\n\n<ul><li>Select <strong>Custom &#8211; display all possible options;<\/strong><\/li><li>Enable <strong>Export databases as separate files<\/strong>.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"742\" height=\"794\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/export-wordpress-database-separate-files-phpmyadmin.png\" alt=\"export wordpress databases as separate files in phpmyadmin\" class=\"wp-image-6766\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/export-wordpress-database-separate-files-phpmyadmin.png 742w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/export-wordpress-database-separate-files-phpmyadmin-280x300.png 280w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure><\/div>\n\n\n\n<p>This will create a <code>.sql.zip<\/code> archive with separate <code>.sql<\/code> files for each WordPress database.<\/p>\n\n\n\n<div class=\"wp-block-group rs-cta has-background\" style=\"background-color:#fafaff\"><div class=\"wp-block-group__inner-container\">\n<p class=\"has-large-font-size\">Looking to Buy or Sell WordPress Sites?<\/p>\n\n\n\n<p>At ReadyShip, we offer an all-in-one WordPress solution for those looking to start a blog or site, as well as the opportunity for WordPress developers or professionals to sell their products!<\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\" href=\"https:\/\/readyship.co\/products\">Browse Sites<\/a><\/div>\n\n\n\n<div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link\" href=\"https:\/\/readyship.co\/blog\/start-selling\/\">Start Selling<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 id=\"import-phpmyadmin\">How to Manually Import a WordPress Database with phpMyAdmin in cPanel<\/h2>\n\n\n\n<p>Importing the WordPress database in phpMyAdmin is just as easy as exporting it.<\/p>\n\n\n\n<h3>Step 1<\/h3>\n\n\n\n<p>Access and log in to cPanel.<\/p>\n\n\n\n<p>Usually, you can quickly access cPanel by adding the <code>\/cpanel<\/code> slug after your domain (e.g. <code>https:\/\/example.com\/cpanel<\/code>).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"636\" height=\"687\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in.png\" alt=\"cpanel log in\" class=\"wp-image-5433\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in.png 636w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in-278x300.png 278w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/figure><\/div>\n\n\n\n<p>If you didn&#8217;t receive your login information after purchasing the hosting plan, check the hosting documentation or contact them for help.<\/p>\n\n\n\n<h3>Step 2<\/h3>\n\n\n\n<p>After logging in to cPanel, look for the <strong>phpMyAdmin<\/strong> tool. It should be in the Databases section.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"779\" height=\"251\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/03\/phpmyadmin-cpanel.png\" alt=\"phpmyadmin in cpanel\" class=\"wp-image-6401\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/03\/phpmyadmin-cpanel.png 779w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/03\/phpmyadmin-cpanel-300x97.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/03\/phpmyadmin-cpanel-768x247.png 768w\" sizes=\"(max-width: 779px) 100vw, 779px\" \/><\/figure><\/div>\n\n\n\n<h3>Step 3<\/h3>\n\n\n\n<p class=\"rs-info\">If you&#8217;re manually installing WordPress on a new host or plan, or manually transferring it to another web host, you&#8217;ll need to create a database first.<\/p>\n\n\n\n<p>Select the WordPress database from the left sidebar, click on the <strong>Import<\/strong> tab, click the <strong>Choose File<\/strong> button to add the WordPress database file from your drive, and click on <strong>Go<\/strong> for the importing process to begin. Leave everything as is.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"812\" height=\"846\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/import-wordpress-database-phpmyadmin-1.png\" alt=\"import wordpress database in phpmyadmin\" class=\"wp-image-6804\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/import-wordpress-database-phpmyadmin-1.png 812w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/import-wordpress-database-phpmyadmin-1-288x300.png 288w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/import-wordpress-database-phpmyadmin-1-768x800.png 768w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure><\/div>\n\n\n\n<p>Single database files should have the <code>.sql<\/code> extension, while multiple, compressed database files should end in <code>.sql.zip<\/code> or <code>.sql.gzip<\/code>, depending on what type of compression you chose. <\/p>\n\n\n\n<p>phpMyAdmin mentions that, too, above the Choose File button.<\/p>\n\n\n\n<p>If everything worked fine, you&#8217;ll see a success message, letting you know that the WordPress database was successfully imported.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"760\" height=\"243\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/import-wordpress-database-phpmyadmin-success-1.png\" alt=\"wordpress database successfully imported in phpmyadmin\" class=\"wp-image-6788\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/import-wordpress-database-phpmyadmin-success-1.png 760w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/import-wordpress-database-phpmyadmin-success-1-300x96.png 300w\" sizes=\"(max-width: 760px) 100vw, 760px\" \/><\/figure><\/div>\n\n\n\n<h3 id=\"table-exists-error\">The &#8220;#1050 &#8211; Table already exists&#8221; error &#8211; Deleting tables<\/h3>\n\n\n\n<p>Normally, when you want to import a WordPress database, it&#8217;s because:<\/p>\n\n\n\n<ol><li>You&#8217;re manually transferring\/installing WordPress;<\/li><li>Your current WordPress database is damaged\/corrupt\/hacked.<\/li><\/ol>\n\n\n\n<p>In the first case, you&#8217;ll need to create a new WordPress database, then import your SQL file, which will add the tables to the newly created database.<\/p>\n\n\n\n<p>In the second case, if you can&#8217;t repair it or remove the malware, you should delete the tables and then import the WordPress database in phpMyAdmin, which will add the backed-up tables.<\/p>\n\n\n\n<p>In both cases, the <code>#1050 - Table already exists<\/code> error should <span style=\"text-decoration: underline;\">not<\/span> appear because the WordPress database doesn&#8217;t contain any tables when the importing starts.<\/p>\n\n\n\n<p>But if you try to import your WordPress database while there&#8217;s another one with the same tables, it will result in a <code>#1050 - Table already exists<\/code> error. phpMyAdmin can&#8217;t create those tables while importing because they are already there.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"778\" height=\"410\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/table-already-exists-error-phpmyadmin.png\" alt=\"#1050 - Table already exists sql error in phpmyadmin\" class=\"wp-image-6792\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/table-already-exists-error-phpmyadmin.png 778w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/table-already-exists-error-phpmyadmin-300x158.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/table-already-exists-error-phpmyadmin-768x405.png 768w\" sizes=\"(max-width: 778px) 100vw, 778px\" \/><\/figure><\/div>\n\n\n\n<p>So, you&#8217;ll have to get rid of them.<\/p>\n\n\n\n<p class=\"rs-warning\"><strong>Warning!<\/strong> If your WordPress database contains new data that&#8217;s added after the export, it will get deleted forever when removing the tables! Make sure that you export the database with the latest updates unless you know there&#8217;s malware mingled in there, too. Then, you&#8217;ll need a clean backup before the malware was infiltrated. <\/p>\n\n\n\n<p>Here&#8217;s how to delete the tables from the WordPress database before importing the SQL file:<\/p>\n\n\n\n<ul><li>Select the WordPress database on the left sidebar to display its tables;<\/li><li>Under the Table that displays the WordPress database tables, select <strong>Check all<\/strong>;<\/li><li>From the <strong>With selected<\/strong> drop-down menu, select <strong>Drop<\/strong> from the <strong>Delete data or table<\/strong> section. It will automatically start deleting the tables then.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"817\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/delete-tables-wordpress-database-phpmyadmin.png\" alt=\"delete wordpress database tables in phpmyadmin\" class=\"wp-image-6795\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/delete-tables-wordpress-database-phpmyadmin.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/delete-tables-wordpress-database-phpmyadmin-300x292.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/delete-tables-wordpress-database-phpmyadmin-768x747.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>When it asks you &#8220;Do you really want to execute the following query?&#8221;, click on the <strong>Yes<\/strong> button.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"201\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/confirm-delete-database-table-phpmyadmin.png\" alt=\"confirm deleting tables from database in phpmyadmin\" class=\"wp-image-6798\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/confirm-delete-database-table-phpmyadmin.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/confirm-delete-database-table-phpmyadmin-300x72.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/confirm-delete-database-table-phpmyadmin-768x184.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>After that, your WordPress database will have no tables, and you can proceed with importing your SQL file, which will add the backed-up tables.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"788\" height=\"254\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/no-tables-found-wordpress-database-phpmyadmin.png\" alt=\"no tables in the wordpress database in phpmyadmin\" class=\"wp-image-6801\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/no-tables-found-wordpress-database-phpmyadmin.png 788w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/no-tables-found-wordpress-database-phpmyadmin-300x97.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/no-tables-found-wordpress-database-phpmyadmin-768x248.png 768w\" sizes=\"(max-width: 788px) 100vw, 788px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-group rs-cta has-background\" style=\"background-color:#fafaff\"><div class=\"wp-block-group__inner-container\">\n<p class=\"has-large-font-size\"><strong>Looking for an All-in-One WordPress Solution?<\/strong><\/p>\n\n\n\n<p>ReadyShip offers you ready-made WordPress sites and blogs, plus high-quality managed AWS hosting with free SSL and CDN, at <strong>no initial cost!<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\" href=\"https:\/\/readyship.co\/products\">Visit Marketplace<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 id=\"download-backup\">How to Manually Back Up a WordPress Database with the Backup Tool in cPanel<\/h2>\n\n\n\n<p>Most of you will also have access to a Backup tool in cPanel. Let&#8217;s see how to use that to manually back up your WordPress database.<\/p>\n\n\n\n<h3>Step 1<\/h3>\n\n\n\n<p>Access and log in to cPanel.<\/p>\n\n\n\n<p>Usually, you can quickly access cPanel by adding the <code>\/cpanel<\/code> slug after your domain (e.g. <code>https:\/\/example.com\/cpanel<\/code>).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"636\" height=\"687\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in.png\" alt=\"cpanel log in\" class=\"wp-image-5433\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in.png 636w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in-278x300.png 278w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/figure><\/div>\n\n\n\n<p>If you didn&#8217;t receive your login information after purchasing the hosting plan, check the hosting documentation or contact them for help.<\/p>\n\n\n\n<h3>Step 2<\/h3>\n\n\n\n<p>After logging in to cPanel, look for the <strong>Backup<\/strong> tool.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"807\" height=\"255\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/backup-tool-cpanel.png\" alt=\"Backup tool in cpanel\" class=\"wp-image-6775\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/backup-tool-cpanel.png 807w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/backup-tool-cpanel-300x95.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/backup-tool-cpanel-768x243.png 768w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/figure><\/div>\n\n\n\n<h3>Step 3<\/h3>\n\n\n\n<p>Search for a section that handles MySQL downloads. In my case, it&#8217;s called <strong>Download a MySQL Database Backup<\/strong>. It might be called differently for you depending on the cPanel version or if it was customized in any way.<\/p>\n\n\n\n<p>There, you&#8217;ll have all your WordPress database displayed. Click on one to download it to your local drive.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"675\" height=\"412\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/download-wordpress-mysql-backup-cpanel.png\" alt=\"Download a WordPress MySQL Database Backup in cpanel\" class=\"wp-image-6776\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/download-wordpress-mysql-backup-cpanel.png 675w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/download-wordpress-mysql-backup-cpanel-300x183.png 300w\" sizes=\"(max-width: 675px) 100vw, 675px\" \/><\/figure><\/div>\n\n\n\n<p>Unlike phpMyAdmin, the single file will be compressed and saved in a <code>.sql.gz<\/code> format.<\/p>\n\n\n\n<p>This file also works if you import it in phpMyAdmin (see above section).<\/p>\n\n\n\n<h2 id=\"restore-backup\">How to Manually Restore a WordPress Database with the Backup Tool in cPanel<\/h2>\n\n\n\n<p>Manually restoring a WordPress database with the Backup tool in cPanel is just as easy. Let&#8217;s see how to do it.<\/p>\n\n\n\n<h3>Step 1<\/h3>\n\n\n\n<p>Access and log in to cPanel.<\/p>\n\n\n\n<p>Usually, you can quickly access cPanel by adding the <code>\/cpanel<\/code> slug after your domain (e.g. <code>https:\/\/example.com\/cpanel<\/code>).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"636\" height=\"687\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in.png\" alt=\"cpanel log in\" class=\"wp-image-5433\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in.png 636w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2020\/12\/cpanel-log-in-278x300.png 278w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/figure><\/div>\n\n\n\n<h3>Step 2<\/h3>\n\n\n\n<p>After logging in to cPanel, look for the <strong>Backup<\/strong> tool.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"807\" height=\"255\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/backup-tool-cpanel.png\" alt=\"Backup tool in cpanel\" class=\"wp-image-6775\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/backup-tool-cpanel.png 807w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/backup-tool-cpanel-300x95.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/backup-tool-cpanel-768x243.png 768w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/figure><\/div>\n\n\n\n<h3>Step 3<\/h3>\n\n\n\n<p>In the same place where you downloaded a backup of your WordPress database, you&#8217;ll find a section where you can restore it. <\/p>\n\n\n\n<p>In my case, it&#8217;s called <strong>Restore a MySQL Database Backup<\/strong>. It might be called differently for you.<\/p>\n\n\n\n<p>So, click on the <strong>Choose File<\/strong> button, select the WordPress database file from your local drive, then click on the <strong>Upload<\/strong> button.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"134\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/restore-wordpress-database-backup-cpanel-1.png\" alt=\"restore wordpress mysql database\" class=\"wp-image-6820\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/restore-wordpress-database-backup-cpanel-1.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/restore-wordpress-database-backup-cpanel-1-300x48.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/restore-wordpress-database-backup-cpanel-1-768x123.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>Once it&#8217;s finished, you&#8217;ll see a success (hopefully \ud83d\ude00) message, letting you know that the WordPress database backup was restored.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"724\" height=\"167\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/success-restore-wordpress-database-backup-cpanel-1.png\" alt=\"wordpress database backup restored successfully\" class=\"wp-image-6822\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/success-restore-wordpress-database-backup-cpanel-1.png 724w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/success-restore-wordpress-database-backup-cpanel-1-300x69.png 300w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-group rs-cta has-background\" style=\"background-color:#fafaff\"><div class=\"wp-block-group__inner-container\">\n<p class=\"has-large-font-size\"><strong>Looking for an All-in-One WordPress Solution?<\/strong><\/p>\n\n\n\n<p>ReadyShip offers you ready-made WordPress sites and blogs, plus high-quality managed AWS hosting with free SSL and CDN, at <strong>no initial cost!<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\" href=\"https:\/\/readyship.co\/products\">Visit Marketplace<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2>The End<\/h2>\n\n\n\n<p>These are the two tools that you can use in cPanel to export and import or back up and restore your WordPress database.<\/p>\n\n\n\n<p>Always be extra careful when handling WordPress databases. Double-check and make sure you do everything right.<\/p>\n\n\n\n<p>If you have questions or thoughts, feel free to leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The database is the most important part of a WordPress website. It stores your content, users, settings, URLs, and more. If something bad happens to your WordPress website &#8211; like getting hacked and losing your data &#8211; and you don&#8217;t have the database backed up, then your website is gone forever. So, it&#8217;s critical to either back up your entire WordPress site, or, at the very least, back up your database. You might need to export your WordPress database for other scenarios as well, not just as a backup in case something goes bad. For example, you might want to manually transfer your WordPress website to another web host. So, [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":6810,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"kt_blocks_editor_width":""},"categories":[18],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>2 Ways to Manually Export, Import, Back Up &amp; Restore a WordPress Database in cPanel : Ready-Made WordPress Marketplace - ReadyShip<\/title>\n<meta name=\"description\" content=\"A step-by-step tutorial on how to export and import or back up and restore your WordPress database using two tools in cPanel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"2 Ways to Manually Export, Import, Back Up &amp; Restore a WordPress Database in cPanel : Ready-Made WordPress Marketplace - ReadyShip\" \/>\n<meta property=\"og:description\" content=\"A step-by-step tutorial on how to export and import or back up and restore your WordPress database using two tools in cPanel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Ready-Made WordPress Marketplace - ReadyShip\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ReadyShip\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-15T18:50:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-15T18:50:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/backup-database.png\" \/>\n\t<meta property=\"og:image:width\" content=\"980\" \/>\n\t<meta property=\"og:image:height\" content=\"551\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@readyshipco\" \/>\n<meta name=\"twitter:site\" content=\"@readyshipco\" \/>\n<meta name=\"twitter:label1\" value=\"Written by\">\n\t<meta name=\"twitter:data1\" value=\"Radu\">\n\t<meta name=\"twitter:label2\" value=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" value=\"6 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/readyship.co\/blog\/#organization\",\"name\":\"Readyship\",\"url\":\"https:\/\/readyship.co\/blog\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/ReadyShip\",\"https:\/\/twitter.com\/readyshipco\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/readyship.co\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2019\/01\/readyship_logo_icon.png\",\"width\":201,\"height\":201,\"caption\":\"Readyship\"},\"image\":{\"@id\":\"https:\/\/readyship.co\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/readyship.co\/blog\/#website\",\"url\":\"https:\/\/readyship.co\/blog\/\",\"name\":\"Readship: WordPress Websites with the Best Hosting\",\"description\":\"Buy\/Sell Subscription Marketplace of beautiful designed WordPress sites with managed hosting, SSL, CDN, 24\/7 supports.\",\"publisher\":{\"@id\":\"https:\/\/readyship.co\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/readyship.co\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/04\/backup-database.png\",\"width\":980,\"height\":551,\"caption\":\"database backup\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/#webpage\",\"url\":\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/\",\"name\":\"2 Ways to Manually Export, Import, Back Up & Restore a WordPress Database in cPanel : Ready-Made WordPress Marketplace - ReadyShip\",\"isPartOf\":{\"@id\":\"https:\/\/readyship.co\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/#primaryimage\"},\"datePublished\":\"2021-04-15T18:50:00+00:00\",\"dateModified\":\"2021-04-15T18:50:02+00:00\",\"description\":\"A step-by-step tutorial on how to export and import or back up and restore your WordPress database using two tools in cPanel.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/#webpage\"},\"author\":{\"@id\":\"https:\/\/readyship.co\/blog\/#\/schema\/person\/092d749a9bb9e9cb2af8f2532d8e5b45\"},\"headline\":\"2 Ways to Manually Export, Import, Back Up &#038; Restore a WordPress Database in cPanel\",\"datePublished\":\"2021-04-15T18:50:00+00:00\",\"dateModified\":\"2021-04-15T18:50:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/readyship.co\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/#primaryimage\"},\"articleSection\":\"WordPress Tutorials\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/readyship.co\/blog\/manually-export-import-back-up-restore-wordpress-database-cpanel\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/readyship.co\/blog\/#\/schema\/person\/092d749a9bb9e9cb2af8f2532d8e5b45\",\"name\":\"Radu\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/readyship.co\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fb19726677ad7e3b932bf8b0d9ac7094?s=96&d=mm&r=g\",\"caption\":\"Radu\"},\"description\":\"Hey! I'm Radu, and I've been working with WordPress at personal and professional levels for over 8 years now. I'm a seller on ReadyShip, and I'm also writing posts for their blog, which I hope you'll like. You can find more about me at Radu.link. I'm also quietly on Twitter @RaduWP.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/posts\/6746"}],"collection":[{"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/comments?post=6746"}],"version-history":[{"count":2,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/posts\/6746\/revisions"}],"predecessor-version":[{"id":6824,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/posts\/6746\/revisions\/6824"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/media\/6810"}],"wp:attachment":[{"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/media?parent=6746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/categories?post=6746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/tags?post=6746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}