You can restore a complete cPanel account from a backup file using the WHM interface. This process allows a server administrator to restore a full account—including files, email accounts, and databases—from a previously created backup.
Before you begin
You will need:
Root or a high-level administrative account with access to WHM.
A valid cPanel account backup file (typically a
.tar.gzfile).The specific account name you wish to restore.
Restore the account from a backup file
Log in to WHM.
In the left-hand sidebar, search for Restore a Configuration Backup or Restore a Full Backup (depending on your specific WHM version).
Select the account you wish to restore from the list of available accounts.
Upload the backup file or provide the path to the backup file on the server.
Click Restore.
Warning: Restoring a full account backup will overwrite all existing data, including files, email accounts, and databases, for the target account. Ensure you have a current backup of the existing data before proceeding if you need to preserve any current information.
Confirm the result
Once the restoration process is complete, you can verify the success of the operation:
The WHM interface will display a success message indicating the restoration was completed.
Log in to the cPanel account to verify that the home directory files, email accounts, and databases are present and accessible.
If the restoration fails
If the restoration fails, check the following:
File Integrity: Ensure the backup file was not corrupted during upload or transfer.
Permissions: Verify that the system has the necessary permissions to read the backup file.
Disk Space: Ensure the server has enough available disk space to accommodate the full size of the account being restored.
If the issue persists, contact Hostek support with the specific error message and the account name.
