How to Backup & Restore a MySQL Database in cPanel

You already know how important the information stored in your MySQL databases is. If that data gets lost, it can be difficult to recover from. This is where preventative measures, like creating a backup of your MySQL database, come in. Luckily, with cPanel, keeping copies of your data is a simple task. By maintaining consistent backups, you can minimize the risk of data loss turning into something catastrophic. 

In this tutorial, we’ll cover how to backup your MySQL database and then restore it using cPanel’s Backup tool. By following this guide, you can rest assured knowing your information is safe and sound, stored away for future use.

 

How to Backup a MySQL Database Using cPanel

To backup your MySQL databases please do the following:

  1. First, log in to your cPanel using your username and password
     
  2. Once in cPanel, search or navigate to the Files section and locate the Backups tool
     
    Files section of cPanel showing the Backup tool
     
  3. Under Download a MySQL Database Backup, click the name of the database you’d like to backup
     
    Download a MySQL Database Backup window showing databases available for backup
     
  4. Click Save As to download a zip file of your database, then select a destination where you’d like the backup to be saved locally

Once your backup has been created, if you ever inadvertently lose your data, you can restore the database quickly and easily using the file you’ve created.

 

How to Restore a MySQL Database Using cPanel

To restore your MySQL databases, please do the following:

  1. First, if you haven’t already, log in to your cPanel using your username and password
     
  2. Locate and select the Backups tool from within the Files section
     
    Files section of cPanel showing the Backup tool
     
  3. Next, in the window titled Restore a MySQL Database, click the Browse button
     
    Restore a MySQL Database window showing an empty form field and the "Browse" button
     
  4. Navigate to the folder where you saved your database’s backup file and select the .sql.gz file which you want restored
     
    File Upload window highlighting the desired database backup file that is to be restored
     
  5. Click the Open button and then click on Upload

Now your MySQL database should be restored from your last saved version and your database driven website should be back up and running again.

 

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account -> Support and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.

 

Additional Links:

Looking for more information on MySQL? Search our Knowledge Base!  

In need of more great content? Interested in cPanel, Private Cloud, or Colocation? Check out our recent posts for more news, guides, and industry insights!

Share on Twitter
Share on Facebook

BLACK

FRIDAY

DEALS

UP TO 60% OFF
Friday November 27th starts at 9am EST.
While supplies last!