H
10Corp Premium Hosting

Restoring a Website from Backup

Last Updated: 2025-01-01 2 min read

Restoring a Website from Backup

When something goes wrong — a hack, a bad update, or accidental deletion — restoring from a backup gets you back online quickly. The restoration method depends on how the backup was created.

Before You Restore

  1. Identify the problem: Determine if you need a full restore or just specific files.
  2. Create a backup of the current state: Even if the site is broken, save the current files and database in case you need them for debugging.
  3. Choose the right backup version: Select a backup from before the issue occurred.
  4. Put up a maintenance page: Notify visitors that the site is temporarily unavailable.

Method 1: Restore via cPanel

  1. Log into cPanel.
  2. Go to Files → Backup or Backup Wizard.
  3. Under Restore, select the backup type:
    • Home Directory: Upload the backup archive of your files.
    • MySQL Database: Upload the .sql database backup.
  4. cPanel will overwrite existing files and data with the backup versions.

Method 2: Restore via WordPress Plugin

UpdraftPlus:

  1. Go to Settings → UpdraftPlus Backups.
  2. Click Existing Backups to see available restore points.
  3. Click Restore next to the desired backup.
  4. Select which components to restore (plugins, themes, uploads, database, other).
  5. Click Restore and wait for the process to complete.

If WordPress Won’t Load:

  1. Access your site via FTP or File Manager.
  2. Upload the backup files to replace the current installation.
  3. Import the database backup through phpMyAdmin.

Method 3: Restore via FTP

  1. Connect to your server using an FTP client.
  2. Navigate to your web root (public_html or www).
  3. Delete or rename the current content.
  4. Upload the backed-up files.
  5. If your backup includes a database, restore it through phpMyAdmin:
    • Open phpMyAdmin from your hosting control panel.
    • Select your database.
    • Click Import and upload the .sql file.

Method 4: Command Line Restore

# Extract file backup
tar -xzf backup_files_20250101.tar.gz -C /path/to/public_html

# Restore database
mysql -u username -p database_name < backup_db_20250101.sql

Post-Restore Checklist

  • Verify the website loads correctly.
  • Test all major functionality (forms, login, cart, etc.).
  • Check that images and media display properly.
  • Update WordPress, plugins, and themes if the backup is older.
  • Re-apply any security patches or configuration changes made after the backup date.
  • Clear all caches (server, CDN, browser).
  • Monitor for errors in the following hours.

If restoration fails or you don’t have a usable backup, contact your hosting provider’s support team — they may maintain server-level backups that can help.

Tags: website backup restore recovery database

Still need help?

Our support team is available 24/7 to assist you.