How to Backup Database in cPanel: Safe & Fast (3 Methods)

Follow this guide to understand how to backup database in cPanel manually and automatically. Detailed instructions for how to backup mysql database in cPanel, plus restoring deleted databases from partial backups or remote storage.

By Delores    Updated on June 8, 2026

About cPanel

cPanel is a web-based control panel for Linux hosting servers that turns complex server management into simple, point-and-click operations.

It’s divided into key sections:

  • Files (File Manager, FTP, Disk Usage),
  • Databases (MySQL Wizard, phpMyAdmin),
  • Email (account creation, forwarders, webmail),
  • Domains (addon domains, subdomains, redirects),
  • Backups (full and partial backups),
  • Security (SSL via AutoSSL, IP Blocker), and
  • Software (Softaculous for one-click WordPress installs).

You log in via `yourdomain.com:2083` and get full control over your website's files, databases, email addresses, and security settings without needing command-line skills.

cPanel requires a paid license, but most hosts include it in monthly fees. It pairs with WHM (WebHost Manager) for server admin tasks. With cPanel, you can create databases via MySQL Wizard, manage them with phpMyAdmin, set up professional email, block malicious IPs, and schedule backups.

A database is very important for all website owners or managers. So, how to backup database in cPanel? We will show you all about database backup in cPanel. Let’s get started.

How to Backup Database in cPanel? 4 Easy Ways

Way 1. Backup MySQL Database in cPanel Using phpMyAdmin

PhpMyAdmin is the popular option for most users because it's visual, straightforward, and gets the job done. Plus, you don't need to mess with command lines.

1. First, log in to cPanel and scroll to the Databases section.

2. Click phpMyAdmin.

3. On the left sidebar, you'll see a list of your databases.

4. Click the one you want to back up. Click "Export" to backup database in cPanel.

5. Here, you can choose Quick or Custom to export.

  • The Quick method takes about two seconds: just click and go. It's perfect for everyday backups when you don't need to tweak anything.
  • Custom is your best choice if you want control. It lets you pick specific tables, compress the output, and adjust all sorts of settings.
  • Check the box that says "Add DROP TABLE statement" in the Custom export settings. Why? It tells the database to wipe the existing table first while restoring, then rebuild it fresh. Without this, you might end up with duplicate or conflicting data.

Way 2. Generate A Full Account Backup (All include Database)

A full cPanel backup creates a backup for files, database, email forwarders, etc.

1. Please log in to your cPanel.

2. Scroll down to find the Files section and choose Backup.

3. Click Download A Full Account Backup.

4. Set up the settings and hit Generate Backup.

5. It will start backing up; wait for the process to complete.

6. Once completed, click the file to download.

It creates backup files that contain your home directory files, database, email forwarders, email filters, etc.

Way 3. Download Database Separately in cPanel

You can also download a database backup separately in cPanel.

1. Please log in to your cPanel.

2. Click Files > Backup.

3. Scroll down to find the Partial Backups > Download a Database Backup.

4. Click the database you want to back up to download.

The wizard does its thing and generates a .sql file.

Way 4. Download Database from cPanel via mysqldump (For Large Database)

When your database grows beyond a few hundred megabytes, the web-based tools start choking. You have to try mysqldump via SSH.

1. First, you'll need SSH access to your server. Most hosts offer this, though some shared plans lock it down.

2. Once you're logged in via SSH, you're looking at a command line. You'll need your database username, password, and database name handy.

3. Run the mysqldump command to back up a specific database and hit Enter:

mysqldump -u username -p database_name > backup.sql

Replace the placeholders with your actual info, then the system will ask for your password, and then dump the entire database into a file called backup.sql.

FAQs About Database Backups in cPanel

Q: How often should I backup my database?

A: That depends on how often your content changes. For an e-commerce store or busy blog, daily or less. For a static portfolio site that updates once a month, weekly is probably fine.

Q: What's the difference between a full backup and a database-only backup?

A: Full backup grabs everything (files, databases, emails). Database-only grabs just MySQL data. Full for moving hosts, database-only for quick content recovery.

Q: Can I restore a backup without overwriting existing data?

A: Most methods overwrite tables. To avoid that, create a new database in cPanel, import it there, then manually migrate the needed data.

Q: Why does my phpMyAdmin import keep failing?

A: File size limits or timeout errors. Raise upload_max_filesize and post_max_size, or use command line: mysql -u username -p database_name < backup.sql.

Q: Do I need to put my site in maintenance mode while backing up?

A: For a standard mysqldump with `--single-transaction`, no - that flag handles consistency without locking. For huge databases, maintenance mode adds safety.

Q: How do I back up multiple databases at once?

A: Use phpMyAdmin Export without selecting a database, or run an SSH loop script to dump all databases at once.

1 Tip: How to Backup Database Safely with MultCloud

Besides, you can also backup database with the powerful multiple-cloud storage manager, MultCloud.

It’s not only a cloud storage manager but also a comprehensive database backup tool.

  • One-Click. You can back up the website files and database in one click.
  • Multiple-save. Save the database backups to a cloud storage service or another server, even a domain.
  • 40+ Clouds. It supports Google Drive, Dropbox, OneDrive, MEGA, iCloud Drive, iCloud Photos, FTP/SFTP, WebDAV, MySQL, etc.

Here is how to backup database to OneDrive with MultCloud:

1. Please log in to your MultCloud account after signing up.

2. Click Add Cloud > OneDrive to add.

3. Tap Website Backup > WEBSITE TO BACKUP > Add Website > Remove Website Files, input the database server credentials, and hit Add Website.

4. Choose the added database to back up and a folder in OneDrive as the destination. Configure settings and hit Backup Now to backup database directly to OneDrive automatically.

Notes:✎...
Hit Schedule, then set up to run the task once, daily, weekly, or monthly.
Options allow you to configure email notifications and filters. Filter only allows you to back up the files you need and exclude the files you don’t need.
Upgrading to the MultCloud advanced plan to enjoy premium functions, like scheduling, filtering, and more data traffic, etc.
  • Smart Share: Share cloud files via public, private, or source mode.
  • One-key Move: Quick data transfer, sync, and backup among clouds.
  • Email Archive: Protect emails to other clouds or local disks.
  • Remote upload: Effectively save web files to clouds via URL.
  • Instagram Downloader: Download all videos and images from Instagram.
  • Save Webpage as PNG/JPG: Save entire webpage as images for archiving.
  • Safe: Full-time 256-bit AES and OAuth authorization protections.
  • Easy: Access and manage all clouds in one place with one login.
  • Extensive: 30+ clouds and on-premise services are supported.
Delores · Editor
With four years of expertise in cloud backup and security, she possesses keen insights into safeguarding your data online. Whether you need cloud-to-cloud backup, synchronization, data transfer, or other cloud protection solutions, her guidance ensures your data remains secure. Explore her workarounds and discover comprehensive strategies to keep your information safe in the cloud.