phpMyAdmin can export an entire database or selected tables to an SQL file. This guide explains how to choose the export contents when backing up or moving MySQL data.

Export the database or tables

  1. Open Databases > phpMyAdmin in cPanel.

    phpmyadmin

  2. Select the database in the navigation panel or database list.

    databases

  3. Open Export and select Custom.

    export

  4. In the export form, select all required tables. For a full database export, include all its tables and the required structure and data.

  5. Set SQL as the format and select output to a file. Choose compression if needed.

    output

  6. Review the contents and select Export or Go.

    export

Verify and store the file

Check that the download completed and keep it securely outside the hosting account. Test importing it into a separate database before relying on it for recovery.

Selected tables are only a partial backup and may depend on other tables. Large exports can exceed browser or PHP limits; ask your administrator for an appropriate server-side method if the export fails.