How to Restore a Website Backup in cPanel

Quick Summary

You can restore website files, databases, or email data from backups if your hosting plan and cPanel tools support restoration.

Before Restoring

Before restoring a backup, make sure:

  • You have the correct backup file
  • You understand what will be overwritten
  • You have a copy of the current website
  • The backup is from the correct date
  • The backup belongs to the correct domain

Restore Website Files

  1. Log in to cPanel.
  2. Open File Manager.
  3. Go to the website folder.
  4. Upload your backup ZIP file.
  5. Extract the files.
  6. Confirm files are in the correct document root.
  7. Test the website.

Common main domain folder:

public_html

Common addon domain folder:

public_html/example.com

Restore a MySQL Database

  1. Log in to cPanel.
  2. Open Backup or Backup Wizard.
  3. Look for database restore options.
  4. Upload the database backup file.
  5. Restore the database.

Alternative method:

  1. Open phpMyAdmin.
  2. Select the database.
  3. Click Import.
  4. Upload the SQL file.
  5. Click Go.

Restore WordPress

For WordPress, restore both:

  • Website files
  • Database

If you restore only files and not the database, the website may still show old content or errors.

Important

Restoring a backup can overwrite existing files or database tables. Always create a fresh backup before restoring an older backup.

Common Problems

Problem: Website shows database error after restore.
Solution: Check database name, username, password, and wp-config.php.

Problem: Website files restored but site still broken.
Solution: Restore the correct database backup.

Problem: Backup file upload fails.
Solution: Check file size limits or upload using FTP.

Need Help?

Open a support ticket:

https://bill.cybrohost.com/submitticket.php

Was this answer helpful? 0 Users Found This Useful (0 Votes)