~4 min read • Updated Feb 24, 2026
1. Overview
This guide is designed for cPanel users who have recently become system administrators. It explains how to restore a cPanel account in WHM, how to transfer accounts and configurations between servers, and how to enable additional diagnostic logging for transfer and restore operations.
2. Understanding cPanel & WHM
The cPanel & WHM product suite includes two separate interfaces:
- WHM (WebHost Manager): The backend interface used to manage the server, system settings, and hosted accounts.
- cPanel: The frontend interface used by website owners to manage email, FTP, databases, and web applications.
Important: Do not manually create the cPanel account in WHM before restoring it. WHM will create the account automatically during the restoration process.
3. Accessing cPanel & WHM
To log in to cPanel or WHM, follow the instructions in the “How to Log in to Your Server or Account” documentation. You will need your server’s hostname or IP address.
3.1 The Root User
The root user is the highest-level system user with full access to all server functions.
Warning: Never share your root password.
4. Restoring a cPanel Account
To restore an account, you need either:
- A cPanel backup archive generated from
cPanel » Files » Backup - A
cpmovefile provided by your hosting provider
Important:
- Do not rename the backup archive or cpmove file.
- Do not create the account in WHM before restoring it.
4.1 Upload the Backup File to /home
Use an SFTP client (such as Cyberduck™) to upload the backup file to the server’s /home directory.
To connect via SFTP:
- Select SFTP as the protocol.
- Enter your server’s IP or hostname.
- Enter port 22 (or your custom SSH port).
- Log in as root.
- Upload the backup file to
/home.
4.2 Restore the Account in WHM
Navigate to:
WHM » Transfers » Transfer or Restore a cPanel Account
Select Restore from a local cpmove file and follow the on-screen instructions.
Warning:
Do not enable skip-name-resolve in MySQL configuration. This causes severe issues with transfers, restores, and phpMyAdmin.
5. Transferring Accounts and Configurations Between Servers
You can migrate accounts and configurations using several methods:
5.1 Full Migration
To migrate all accounts, SSL certificates, and the main server IP address, use the method described in “How to Move All cPanel Accounts from One Server to Another.”
5.2 Transfer Tool
Use WHM’s Transfer Tool to copy multiple accounts and configuration settings:
WHM » Transfers » Transfer Tool
Requirements:
SSH access and root-level privileges (via su or sudo).
5.3 Remote Account Transfer
To transfer individual accounts:
WHM » Transfers » Transfer or Restore a cPanel Account
5.4 Transfer Configurations
Use the Transfer Tool to migrate service configurations such as:
- Apache
- Exim
- MySQL/MariaDB
- EasyApache
- AutoSSL
5.5 Transfer IP Addresses
Use:
WHM » IP Functions » IP Migration Wizard
6. Enabling Diagnostic Logging for Transfers and Restores
You can enable additional debugging information using the xferdebug touch file.
Warning: When enabled, logs will contain passwords in plain text.
6.1 Create the Touch File
touch /var/cpanel/xferdebug && /usr/local/cpanel/scripts/synctransfers
6.2 Remove the Touch File
rm -fv /var/cpanel/xferdebug && /usr/local/cpanel/scripts/synctransfers
When enabled, transfer logs will show detailed SSH options and restoration steps, helping diagnose connectivity or authentication issues.
7. Conclusion
Restoring a cPanel account and transferring accounts or configurations between servers are essential skills for new system administrators. By understanding WHM, using SFTP correctly, restoring backups properly, and enabling diagnostic logs when needed, you can confidently manage and recover cPanel accounts across servers.
Written & researched by Dr. Shahin Siami