Skip to main content

How to Copy a cPanel Account From an Account Backup File

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.

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.gz format)

  • The target cPanel account name or a destination path

Copy account from a backup file

  1. Log in to WHM.

  2. Navigate to Home > Restore > Restore a Copy of an Account.

  3. Select the Account you wish to populate with the data.

  4. Select Upload as the source for the backup file.

  5. Click Choose File and select the backup file from your local machine.

  6. 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.

Did this answer your question?