You can restore a full cPanel account from a backup file to a different account or a different server using the WHM interface. This process allows a server administrator to migrate data or replicate an account using a pre-existing .tar.gz backup file.
Before you begin
You will need:
Root access to the WHM interface
A valid cPanel account backup file (typically in
.tar.gzformat)The target cPanel account name or a destination path
Copy account from a backup file
Log in to WHM.
Navigate to Home > Restore > Restore a Copy of an Account.
Select the Account you wish to populate with the data.
Select Upload as the source for the backup file.
Click Choose File and select the backup file from your local machine.
Click Restore.
Warning: This process will overwrite the existing data in the target account. Ensure you have a current backup of the destination account before proceeding if you intend to keep any existing data.
Confirm the result
The system will display a success message once the restoration is complete.
You can verify the restoration by logging into the target cPanel account and confirming that the files, email accounts, and databases are present.
Limitations
This procedure requires the source backup to be a full account backup.
If the backup was created on a different server, ensure the target server's software versions are compatible with the source data.
This process does not automatically update DNS records; you must update DNS records manually if the account is being moved to a new IP address.
