How to Restore Your cPanel Account: A Complete Guide for New System Administrators

This guide explains how new system administrators can restore a cPanel account using WHM, transfer accounts and configurations between servers, and enable diagnostic logging for transfer and restore operations. It covers essential concepts such as WHM vs. cPanel, root access, backup handling, SFTP uploads, transfer methods, and advanced debugging tools.

cPanel account restoreWHM transferserver migration diagnostics

~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 cpmove file 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:

  1. Select SFTP as the protocol.
  2. Enter your server’s IP or hostname.
  3. Enter port 22 (or your custom SSH port).
  4. Log in as root.
  5. 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

Related Articles

آموزش کامل انتقال تمام اکانت‌های cPanel از یک سرور به سرور دیگر

این مقاله نحوه انتقال همه اکانت‌های cPanel، تنظیمات سرویس‌ها، گواهی‌های SSL و IP اصلی سرور را از یک سرور قدیمی (Source) به یک سرور جدید (Target) توضیح می‌دهد. شامل نصب سرور جدید، انتقال تنظیمات، انتقال اکانت‌ها، تغییر IP، تنظیم DNS و نصب مجدد SSL است.

Continue

How to Migrate a WordPress® Installation to a cPanel & WHM Server

This guide explains how to migrate a WordPress installation from a macOS-hosted environment to a cPanel & WHM server. It covers exporting the database, uploading WordPress files, creating and importing a MySQL database, updating URLs, configuring wp-config.php, fixing broken links, and finalizing the migration.

Continue

How to Manually Transfer an Account Between Servers in cPanel & WHM

This article explains how to manually transfer a cPanel account between servers when the account is too large for WHM’s automated transfer tools. It covers creating temporary directories, compressing public_html and log files, securely transferring data with SCP, and restoring the files on the destination server.

Continue

How to Manually Migrate Horde Calendars and Contacts to Roundcube in cPanel & WHM

This article explains how to manually migrate Horde calendars and contacts to Roundcube in cPanel & WHM version 108 through 118. It covers exporting Horde data, placing it in the correct directories, and importing it into Roundcube using built‑in plugins or manual import tools.

Continue

How to Manually Migrate Accounts to cPanel & WHM from Unsupported Control Panels

This article explains how experienced system administrators can manually migrate accounts from unsupported third‑party control panels to cPanel & WHM. It covers pre‑migration steps, installation requirements, file and directory transfers, database restoration, SSL migration, and post‑migration tasks.

Continue

How to Securely Copy an Account Between Servers Using SSH Keys in cPanel & WHM

This article explains how to securely transfer a cPanel account from a source server to a destination server using SSH key authentication. It covers key generation, authorization, importing public keys, and performing the transfer through WHM’s Transfer Tool.

Continue