How to restore a backup in cPanel? (Video)

Restoring a backup in cPanel is straightforward and allows you to recover your website’s data efficiently. Below is a step-by-step guide for restoring backups.


Step 1: Log in to cPanel

  1. Open your web browser and go to your cPanel login page (https://yourdomain.com:2083).
  2. Enter your username and password, then click Log in.

Step 2: Access the Backup Tool

  1. In the cPanel dashboard, scroll down to the Files section.
  2. Click on Backup or Backup Wizard, depending on your hosting provider.

Step 3: Identify the Type of Backup

There are two common types of backups in cPanel:

  1. Full Backup: Includes all files, databases, emails, and configurations. Typically, this is used for transferring to a new server.
  2. Partial Backup: Allows restoration of specific parts, such as:
    • Home Directory
    • MySQL Databases
    • Email Forwarders and Filters

Step 4: Restore a Partial Backup

To restore specific parts:

  1. In the Restore a Home Directory Backup section, click Choose File.
  2. Select the backup file from your local device (e.g., a .tar.gz file for the home directory).
  3. Click Upload to restore.

For MySQL Databases:

  1. In the Restore a MySQL Database Backup section, click Choose File.
  2. Select the database backup file (usually ends with .sql or .sql.gz).
  3. Click Upload to restore.

For Email Forwarders or Filters:

  1. In the Restore Email Forwarders or Filters Backup section, click Choose File.
  2. Select the email backup file.
  3. Click Upload to restore.

Step 5: Restore a Full Backup (Manual Process)

Full backups cannot be restored directly via cPanel. Instead, you need assistance from your hosting provider or perform a manual restoration:

  1. Extract the Backup File:
    • Download the full backup file (if not already on your computer).
    • Extract the contents using a tool like WinRAR or 7-Zip.
  2. Upload Files via File Manager or FTP:
    • Use cPanel's File Manager or an FTP client to upload the files to the appropriate directories on your server.
  3. Restore Databases:
    • Use cPanel’s phpMyAdmin to import the .sql file into the appropriate database.
    • If required, create a new database and user under MySQL Databases.

Step 6: Verify Restoration

  1. Check your website and ensure it is functioning correctly.
  2. Verify databases, files, and email configurations for completeness.
  3. Fix any broken links or errors caused by missing configurations.

Tips for Successful Restoration

  • Backup First: Before restoring, create a new backup of your current data in case something goes wrong.
  • File Permissions: Ensure uploaded files have the correct permissions (usually 644 for files and 755 for directories).
  • Contact Hosting Support: For full backups or issues during restoration, your hosting provider can assist with the process.

Restoring a backup in cPanel helps you recover your website efficiently and minimizes downtime.

  • 143 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

How to Download Backup using cPanel? (Video)

Downloading a backup using cPanel is a straightforward process. Here's a step-by-step...

How to generate a cPanel backup and sent it to FTP Server? (Video)

Generating a cPanel backup and sending it to an FTP server is a straightforward...

How to change an account password in cPanel? (Video)

Changing an account password in cPanel is simple and can be done in a few quick steps. Follow...

How to update your contact information in cPanel? (Video)

Updating your contact information in cPanel is important to ensure you receive critical...

How to change the style in cPanel? (Video)

Changing the style in cPanel allows you to customize the look and feel of your control...