Knowledgebase

Backing Up a Database Manually Print

  • backupsdisasterrecovery, backups, database, backup, cpanel, phpmyadmin, restore, migration, plugins, woocommerce
  • 0

The most important single backup.

USING PHPMYADMIN

  1. cPanel > phpMyAdmin.
  2. Select the database.
  3. Export tab.
  4. Quick export is usually sufficient; Custom lets you exclude large log tables.
  5. Format SQL, then Go.
  6. The file downloads to your computer.

Adequate for small and medium databases. Large ones time out.

USING THE COMMAND LINE

With SSH access, mysqldump produces a complete SQL file. Redirect it to a file and compress it.

This has no size limit and is the correct method for large databases.

USING CPANEL PARTIAL BACKUPS

cPanel > Backup > Partial Backups downloads a database archive, and the same page restores it.

WHEN TO DO THIS

Before any update, migration, plugin installation or database change.

It takes under a minute, and it is the difference between undoing a mistake and rebuilding.

WHAT THE DATABASE CONTAINS

Content, settings, users, orders, comments, and everything else that cannot be recreated from files.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot