Author Topic: CPanel Hosting Transfers - How to Transfer Web, Email, and Database using Cpanel  (Read 841 times)

Offline certforumz

  • Cert Exams
  • Administrator
  • Hero Member
  • *****
  • Posts: 874
  • Ask me a question ...
    • CertExams - CCNA, A+, Network+, and Others
How to transfer email accounts and messages between cPanel servers?

You can transfer the email accounts and messages for a particular domain, from one cPanel server to another, by following the steps below.

Let's call the domain for example. Make sure that you have added as Parked or Addon in cPanel at the destination server.

    Transferring the email accounts

Open your preferred FTP client, connect to the hosting account where the email accounts/messages currently are and navigate to the etc/ folder (located under / home/ cpaneluser/ etc/). There you will see a folder named (the name of the domain you want to transfer the accounts/messages for). Download this folder anywhere to your local computer. This folder contains the email addresses (server configuration setup, encrypted passwords, etc.) associated with the corresponding domain.

Now connect with your FTP client to the server where you want to transfer the accounts. Navigate again to the etc/ folder and upload the previously downloaded folder.

With this, the transfer of the email accounts is completed.

Before proceeding with the messages transfer you should remove or rename the downloaded directory on your local computer.

    Transferring the email messages

Simply repeat the process from step 1. This time, however, you should navigate to the mail/ folder (located under / home/ cpaneluser/ mail/). Download the directory called to your local computer. This directory contains the messages for After that connect to the other account where you want to transfer the messages and upload the folder to the mail/ directory.

With this, the transfer of your email accounts and messages is completed.

Now you can access cPanel -> Email accounts of the destination hosting account and check your transferred emails.

Your DNS provider will be able to assist you with the MX record changes, so you can point the mail-flow for to the new hosting server.

Offline certforumz

  • Cert Exams
  • Administrator
  • Hero Member
  • *****
  • Posts: 874
  • Ask me a question ...
    • CertExams - CCNA, A+, Network+, and Others
Transfering the Home directory contents in Cpanel host:

 How-to: Migrate Accounts From One Server To Another (cPanel)

    Hello. I am writing this tutorial because this is a solid method I have used in the past for easily migrating cPanel accounts from one server to another. Using this method, you can transfer accounts from an old server, to a new one, help customers from another host move to your host, etc. This method is very simple, and does not even require root access on one end of the migration. I have found the "Transfer Account from another Server" tool in WHM to not work so well, and break often, so I have used this method.

    -cPanel on both servers
    -WHM access on the new server (one that the accounts are being moved to)
    -root access on the new server

    Throughout the instructions I will refer to the server your are transfering the accounts from as the "old server", and the server to are transfering the accounts to as the "new server".

    1. Log into WHM of your new server and create a new account called "restore", or anything you like for that matter. Remember the FTP address, username ('restore', in this example), and account password. We will need these for later.

    2. Log into the cPanel account you are wanting to transfer on the old server.

    3. Click on "Backup >> Generate/Download a Full Backup".

    4. Once here, select the backup destination to be "Remote FTP Server".

    5. Enter your email address for verification, follwed by all of the FTP account information for "restore", which we created on the new server.

    -Remote Server: new server's address
    -Remote User: restore
    -Remote Password: restore's password
    -Port: 21

    Then, click "Generate Backup". This may take some time to backup the files, depending on how large the account is. You should receive an email provided in the above info once it is complete.

    6. Now, log into SSH on your new server.

    7. Type in the following commands:

    cd /home/restore/public_html


    After running the list command above (ls), you should see the tar file of the account on the old server. This means that you have successfully sent the file via FTP to your new server.

    8. Now move the tar file to your new server's /home directory with the following command:

    mv tar_file_name /home

    9. Now, log into WHM on your new server and navigate to "Backup >> Restore a Full Backup/cpmove file"

    Once here, you should see the old account's username under "Possible cpmove archives found:".

    If you do not, log back into SSH and be sure that the account's tar file has been moved into /home.

    10. Type in the account name in the text field in WHM, which is proceeded by "Enter the username for the account you wish to restore:".

    11. Click "Restore".

    12. Repeate process for additional accounts.

    That's all there is to it! I have found this way to work alot more sufficiently for moving accounts from one server to another. Hope you all enjoyed!