How to Restore Website Files from a cPanel Backup Print

  • restore website files cpanel, disaster-recovery, file-manager, restore, backup
  • 0

What cPanel can restore, and what it cannot

There are two kinds of cPanel backup, and they behave differently:

Backup type Restorable in cPanel? How
Full account backup No WHM or hosting provider only
Home directory backup Yes, as a partial restore Backup then Restore, or manual extraction
Database backup Yes phpMyAdmin import or cPanel restore
Single file Yes, manually Extract locally and upload via File Manager

Important: cPanel's documentation states that a full account backup cannot be automatically restored in cPanel. If you only have a full backup, ask SysopHost support about a provider-side restore before extracting files manually.

Before you restore

  • Back up the current state first. A restore can overwrite files that are newer than the backup.
  • Identify the smallest fix. A single broken plugin file does not require a full home directory restore.
  • Check the database separately. Files and database can be from different dates.
  • Know the backup date. Restoring an old copy can bring back a security vulnerability.
  • Plan for downtime. Tell users if the site will be unavailable.

Method 1: Restore a single file or folder

This is the safest method when you know exactly what broke.

  1. Download the home directory backup to your computer.
  2. Extract the archive locally. It typically contains a homedir folder with public_html inside.
  3. Locate only the file or folder you need.
  4. In cPanel, open File Manager and navigate to the matching location.
  5. Upload the file, choosing to overwrite when prompted.
  6. Set permissions to 644 for files and 755 for folders.

Do not upload a local folder over the live site without checking its contents. A backup may contain an older wp-config.php with the wrong database credentials.

Method 2: Partial home directory restore

  1. In cPanel, open Files then Backup.
  2. Click Restore.
  3. Select Home Directory as the restore type.
  4. Choose the .tar.gz backup file.
  5. Upload and wait for the process to finish.

Warning: a home directory restore replaces the account's home directory contents. Files created after the backup date can be lost. Use Method 1 if you only need one file.

Method 3: Restore from a full account backup

A full backup is a single archive containing the home directory, databases, email configuration, and DNS zone data. cPanel cannot restore it automatically.

  • Ask SysopHost support whether a provider-side restore is available for your plan.
  • If not, extract the archive locally and restore files and databases separately.
  • Do not import a full backup's SQL file blindly; it may contain all databases, not just the one you need.

After the restore

  • Load the site and check the page that was broken.
  • Clear any page cache, object cache, and CDN cache.
  • Check file ownership and permissions if uploads or updates fail.
  • Confirm the database matches the files, especially after restoring an older copy.
  • Run a malware scan if the restore was caused by a compromise.

Related articles

If you only have a full account backup, contact SysopHost support before extracting it. A provider-side restore is safer than manually merging an old home directory and database into a live account.


Was this answer helpful?

« Back