Page tree
Skip to end of metadata
Go to start of metadata

Overview

This document explains how to restore your website in WHM.

Note:

This document is intended for cPanel users who have recently become system administrators.

About cPanel & WHM

The cPanel & WHM product package contains two distinct interfaces. Each interface controls a different aspect of web hosting. It is important that you understand the differences between the two interfaces:

  • WHM (WebHost Manager) — WHM allows you to manage your server and the websites on it. It also allows you to manage your server's settings and configuration. WHM is often considered our product package's "backend."
  • cPanel — cPanel allows website owners to manage their sites. Website owners can use cPanel to create their websites' email addresses, FTP accounts, web applications, and databases. cPanel is often considered our product package's "frontend."

Important:

If you plan to restore your cPanel account, do not create the account in WHM before you attempt to restore it.

How do I access cPanel & WHM?

To access cPanel & WHM services through a web browser, follow the directions in our How to Log in to Your Server or Account documentation.

What is the root user?

The root user is the highest-level system user. As the root user, you can access and make changes to anything on the system.

Important:

We strongly recommend that you do not share or expose your root password.

How do I restore my old cPanel account?

To restore your cPanel account, obtain a backup archive or a cpmove file of the old account. Either generate the backup archive in cPanel's Backup interface  (cPanel >> Home >> Files >> Backup), or obtain a cpmove archive from your hosting provider.

Important:

  • Do not create the cPanel account that you plan to restore. WHM's Restore a Full Backup cpmove File interface (WHM >> Home >> Backup >> Restore a Full Backup/cpmove File) creates the cPanel account for you.
  • Do not change the name of your cPanel backup archive or cpmove file.

To begin, place your backup archive or cpmove file in the /home directory. Use an SFTP client to transfer the file to your server.

For more information about SFTP, read our How to Configure Your SFTP Client documentation.

Note:

If you do not already have an SFTP client, you can download Cyberduck™ for free.

After you install your SFTP client, open an SFTP connection to your server with your root login information.

For example, if you use Cyberduck™, perform the following steps to open an SFTP connection:

  1. Select SFTP (SSH File Transfer Protocol) from the top menu.
  2. Enter your server's IP address or hostname in the Server text box.
  3. If your server uses a port other than 22 for SSH, enter it in the Port text box.
  4. Enter root in the Username text box.
  5. Enter the root user's password in the Password text box.
  6. Click Connect to open an SFTP connection to your server.


Set up SFTP with Cyberduck™

After you open an SFTP connection to your server, transfer the backup archive or cpmove file to the server's /home directory.

To transfer the file with Cyberduck™, perform the following steps:

  1. Navigate to the / directory.
  2. Double-click the home folder.
  3. Click Action.
  4. Click Upload.
  5. Navigate to the directory with the backup archive file and select it. The system will transfer your file to the server's /home directory.

    Note:

    The amount of time that the SFTP client requires to transfer a file depends on the file's size and your connection speed.

After you move your backup archive or cpmove file to the correct location, navigate to WHM's Restore a Full Backup cpmove File interface (WHM >> Home >> Backups >> Restore a Full Backup/cpmove File). Then, enter your old cPanel username in the available text box and click Restore. The system will restore your cPanel account.

Additional documentation