Published 5 December 2026

If one page, image or database table has gone wrong, restoring an entire cPanel account may replace healthy work along with the problem. Start by identifying what needs recovery: one file, a directory, a database, or the whole account. Then choose a backup and restore method that matches that scope.

cPanel’s available tools depend on what your hosting provider has enabled. The Backup Wizard can restore certain partial backups; the File and Directory Restoration interface, if available, restores selected files or directories from local backups. A full-account archive is a different case: cPanel says it cannot be automatically restored through the cPanel interface; full restoration is available through WHM or by contacting the provider. cPanel Backup Wizard documentation explains these limits.

Choose a restore method by what you need back

Before restoring, identify the right backup

A backup is useful only if it contains the needed data and comes from a point in time that makes sense. For a WooCommerce shop, for example, restoring yesterday’s database to fix a display issue might also remove orders placed since that backup. A file-only restore could be less disruptive if the issue is confined to a theme template, but check whether the file contains changes made after the selected backup.

Before clicking Restore, write down the affected path or database and the approximate time the issue began. Check the backup date, confirm whether the backup is local or remote, and preserve any newer data that must not be lost. If the website is still accessible, take a fresh copy of the current affected file or export the current database where practical. That gives you a comparison or recovery point if the selected backup is not suitable.

Important: A restore may replace current content. Confirm the target and backup date before you approve it, especially on a live store or a site receiving form submissions.

Restore a selected file or directory in cPanel

  1. Check that the interface is available. In cPanel, look under Files for File and Directory Restoration. The hosting provider must enable the feature and configure account backups; its absence does not necessarily mean no backups exist.
  2. Choose the target carefully. Enter a path relative to the account home directory, such as public_html/wp-content/themes/example/style.css, or browse through the directory structure. Avoid selecting a broader folder than necessary.
  3. List the available backups. Select Show Backups and review the dates offered. The interface works with local backup sources. Remote backups may need to be transferred to the server by an administrator before restoration.
  4. Confirm only after checking the scope. Select the intended backup and use Restore. The interface asks for confirmation and reports whether the restoration succeeds.
  5. Test the website afterwards. Open the affected page and a few related pages. Check images, links, forms, login and any relevant checkout flow. If the restored file does not resolve the issue, pause before repeating the process with a broader target.

cPanel documents both direct-path and browse-based selection, and warns that the file-and-directory interface restores deleted items and overwrites existing ones. It also restores from local backups only. These details make target selection and a current copy particularly important. See the File and Directory Restoration documentation.

When the backup is partial, remote or full-account

The Backup Wizard supports restoration of a portion of a website from a backup file, using the file type that matches the selected restore type. It does not automatically restore a full-account backup in cPanel. cPanel’s documentation describes manually extracting the public_html directory from a full archive, but manual file copying is not the same as a complete account restoration and may omit databases, mail and account configuration.

Remote backups also need care. cPanel’s WHM documentation says remote backup files must be transferred to the server before the relevant WHM restoration workflow can use them. If you are an account user without WHM access, ask the hosting provider which backup is available and whether it can restore the specific file, database or account. Do not upload or extract a full archive over a live site without understanding its contents and destination.

Verify the result and keep the recovery narrow

After restoration, test the original problem and nearby functions, not just the homepage. A recovered WordPress page may depend on a database entry, plugin file or uploaded image that was not part of the restore. For an online shop, check recent order visibility and test a safe browsing path without placing an unnecessary live order.

HostCupid is a Chennai-based provider of cPanel-oriented hosting and migration assistance. For a customer facing a restore they cannot perform from cPanel, the practical next step is to describe the affected path or database, the approximate incident time, the desired backup date and any newer data that must be preserved when asking for help. That makes the request more precise without assuming that every plan or server exposes the same restoration tools.

The safest recovery is usually the smallest one that brings back the missing data. Match the restore method to the affected component, check the backup date, preserve newer work and verify the result before making another change.


Sources

Portrait of Kavya Anand, HostCupid editorial persona
Published by
Kavya Anand

HostCupid Editorial Team

Covers WordPress, cPanel, performance, DNS, website security and practical digital guidance for Indian businesses.

Editorial persona representing the HostCupid content team.

← More HostCupid Insights