WHM & reselling

How to restore a full cPanel backup file in WHM

Restore a cpmove or full cPanel backup archive as a new account using WHM Transfer or Restore a cPanel Account, with upload steps, options and common errors.

AdvancedReseller hosting3 min read

A full cPanel backup contains an entire account: files, databases, mailboxes, DNS zones and settings. WHM can turn that archive back into a working account. This is how you move a site from another cPanel host or roll back a customer from an older full backup.

Before you start

  • A full backup file named like backup-MM.DD.YYYY_HH-MM-SS_user.tar.gz or cpmove-user.tar.gz. Partial backups (home directory only, or a single database) are restored from cPanel instead.
  • Free disk space for the archive and the extracted account, roughly twice the archive size.
  • The restore privilege on your reseller account. If you do not see the tool, ask MdmHost support.

Note: For restores of recent data on an existing MdmHost account, JetBackup is faster: customers use cPanel → JetBackup 5. Use this guide for archives that came from somewhere else.

Upload the archive

  1. Upload the file with FTP or the File Manager of your reseller cPanel account, into your home directory (for example /home/youruser/).
  2. If the file is large, use FTP (see connecting with FileZilla); browser uploads time out on very large files.

Restore the account

  1. Log in to WHM.
  2. Go to WHM → Transfers → Transfer or Restore a cPanel Account.
  3. Under Restore from a file, choose the archive (or enter its path).
  4. Set the Username. Leave it blank to use the one inside the backup.
  5. Choose options: Replace all instances of the original server's IP address (recommended), Restore Subdomains, Restore Mail Forwarders, Restore MySQL databases.
  6. Click Restore.

The progress log shows each part being restored. When it finishes, the account appears in List Accounts.

After the restore

  • Assign the right package with Upgrade/Downgrade an Account; restored accounts keep the old host's limits.
  • Check the site's PHP version and extensions in cPanel → Software → Select PHP Version.
  • Run AutoSSL in SSL/TLS Status once DNS points to the server.
  • Test email login in Webmail.

Troubleshooting

"The account already exists"

Either the username or a domain in the backup is already on the server. Restore with another username, or ask support to check which account owns the domain.

Restore stops at "Extracting"

The archive is incomplete or corrupt, often from an interrupted download. Run tar -tzf backup.tar.gz on a computer to test it, or create a new backup.

Databases are missing

The backup may have been made with "Skip databases". Restore the SQL dump separately through phpMyAdmin (see importing with phpMyAdmin).

Site shows a database connection error

If the username changed, database names changed prefix. Update wp-config.php or the app's configuration with the new names.

Frequently asked questions

Can I restore over an existing account?

WHM restores to a new account. To overwrite, terminate the old account first, which deletes it, so be sure you have the backup you need.

Does restoring keep the old IP?

Not if you tick the IP replacement option, which updates DNS and configuration to the new server's IP. Always tick it when migrating.

Is there a size limit?

There is no fixed limit, but the account must fit in your reseller allocation and very large archives take a long time. For accounts over 20 GB, ask support for help.

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.