Hosting Management
Backing Up and Restoring a MySQL Database (phpMyAdmin)
How to Export a Database Backup via phpMyAdmin
Creating a fresh database backup is essential before performing major CMS updates, installing complex plugins, or migrating servers.
- Log in to cPanel and click the phpMyAdmin icon.
- Select the name of the database you wish to back up from the left sidebar.
- Click the Export tab in the top navigation bar.
- Leave the export method set to Quick.
- Verify that SQL is selected as the output format.
- Click Go. Your complete database dump will download to your computer as a
.sqlfile.
How to Import and Restore a Database Backup
To restore a previously exported .sql backup file or import a database from another server:
- Open MySQL Databases in cPanel, create an empty database and a database user, and assign the user to the database with All Privileges.
- Launch phpMyAdmin and select your newly created empty database on the left.
- Click the Import tab in the top navigation bar.
- Click Choose File and select the
.sqlbackup file from your computer. - Scroll down and click Import (or Go) to begin restoration. Processing time depends on total database size.