Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Back Up a Database with the cPanel Backup Tool

This guide shows how to download a copy of one database from cPanel, and how to bring it back.

Databases2 min read11 steps5 screenshots

What is a database backup?

A database is where your website keeps its data, such as posts, users and orders. A backup is a spare copy. If something breaks, you can use the copy to fix it.

cPanel is the control panel for your hosting account. It has a tool called Backup that can save one database on its own. This is faster than saving the whole account.

Download a database backup

  1. Log in to cPanel.
  2. Open Backup. It is in the Files section.
    Screenshot: Open Backup . It is in the Files section.
  3. Scroll down to Download a MySQL Database Backup.
  4. Click the name of your database.
  5. Your browser saves a file. It is usually named after the database and ends in .gz.
    Screenshot: Your browser saves a file. It is usually named after the database and ends in .gz .
  6. Move the file to a safe place, such as your computer or cloud storage.

The .gz file is compressed, which means squeezed to take less space. Do not open or rename it.

Tip: Make a backup before big changes, like updating a plugin or changing themes. Do it regularly too.

Restore a database backup

Warning: A restore replaces the current data in that database. Download a fresh backup first.

  1. Go back to the Backup page.
  2. Find Restore a MySQL Database Backup.
    Screenshot: Find Restore a MySQL Database Backup .
  3. Click Choose File.
  4. Pick your .gz backup file.
  5. Click Upload.

The database name in the file must match the name of an existing database. Create it first if it is missing, using MySQL Databases.

Screenshot: The database name in the file must match the name of an existing database. Create it first

Other choices

  • The same page can download a full account backup. This holds all your files and databases.
  • You can also save a database using the Export tab in phpMyAdmin.
    Screenshot: You can also save a database using the Export tab in phpMyAdmin.
  • Your plan may have automatic backups too. Ask Hostvento support what is on your plan.

If the restore fails, open a support ticket.

Quick recap

  • Open Backup in cPanel and click your database under the MySQL download list.
  • Keep the downloaded file safe and do not rename it.
  • Restore with Restore a MySQL Database Backup.
  • Restoring replaces current data, so back up first.