Kualo / docs
On this page

Exporting databases and tables with phpMyAdmin

Learn how to export a database or a single table as a SQL file in phpMyAdmin, for backups or moving your data.

2 min read Updated 11 Jun 2026

Exporting creates a downloadable copy of your database (or a single table) as a .sql file - a complete snapshot of its structure and data. It is the simplest way to take a manual backup before making changes, or to move a database to another server. This guide shows how to do it with phpMyAdmin in cPanel.

Before you start

Open phpMyAdmin from the Databases section of cPanel. If it is new to you, Becoming familiar with databases in phpMyAdmin explains the layout.

Export an entire database

  1. In the left-hand panel, click the database you want to back up.

  2. Click the Export tab at the top.

  3. Leave the Export method set to Quick and the Format set to SQL - this suits almost every backup.

    The database Export tab set to Quick export in SQL format

  4. Click Export. Your browser downloads a single .sql file containing every table in the database, ready to keep safe or re-import later.

Export a single table

If you only need one table rather than the whole database:

  1. Click the database to expand it, then click the table you want.

  2. Open the Export tab. The options are the same - Quick method and SQL format.

    The Export tab for a single table, with the Quick method and SQL format selected

  3. Click Export to download that table on its own.

Choose Custom instead of Quick if you need finer control - for example to select specific tables, add a DROP TABLE statement before each CREATE, or compress the file as .zip or .gz. For a routine backup, Quick is all you need.

What to do with the file

Keep the downloaded .sql file somewhere safe. You can restore it at any time by following Importing databases and tables with phpMyAdmin. For a very large database, importing via SSH is faster and more reliable.

A phpMyAdmin export is ideal for quick, manual backups, but it is not a substitute for your account's full backups. For a complete restore, use the backups in cPanel instead.

If you need a hand, our support team is available 24/7 - just open a support ticket.

Was this helpful?
Your feedback helps us find gaps in the docs.
Still need a hand?
Real people, around the clock - start a chat or open a ticket and we'll help you put it right.