Restoring a Database Print

  • backupsdisasterrecovery, backups, database, restore, backup, cpanel, woocommerce, phpmyadmin, password, caching
  • 0

The restore that matters most.

FROM JETBACKUP

cPanel > JetBackup > Database Backups. Select the date and restore.

FROM A PARTIAL BACKUP

cPanel > Backup, under Restore a MySQL Database. Upload the archive.

FROM A SQL FILE

  1. cPanel > phpMyAdmin.
  2. Select the database.
  3. Drop the existing tables first. Importing over existing data produces conflicts and partial results.
  4. Import tab, choose the file, and go.

For large files this times out. Use the command line instead, or ask us.

FROM THE COMMAND LINE

With SSH access, feed the SQL file into the mysql client. No size limit and considerably more reliable for large databases.

AFTERWARDS

Confirm the application's configuration still holds the correct database name, user and password Clear all caches Test the site and the administrator login Check content is as expected

THE CRITICAL POINT

Restoring a database rolls back everything in it. Orders, registrations and content since the backup are gone.


Was this answer helpful?
Back

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


Trustpilot