How to Backup a Database (phpMyAdmin Export)
-
Log in to cPanel.
-
Open phpMyAdmin.
-
On the left, select the correct database:
-
If unsure, check your app config (e.g., WordPress
wp-config.php).
-
-
Click the Export tab.
-
Choose export method:
-
Quick (simple sites)
-
Custom (recommended for reliability)
-
-
For Custom export:
-
Format: SQL
-
Enable: “Add DROP TABLE / VIEW” (optional but helpful)
-
Compression: gzip (optional)
-
-
Click Export and download the
.sql(or.sql.gz) file. -
Store it safely and label it with:
-
Domain/service
-
Date/time
-
Environment (production/staging)
-