blog posts

Backing up emails from the cPanel host and transferring them to another host

You may want to transfer old or important emails in different situations, such as changing hosts and transferring information or purchasing email hosts. Of course, there is a section called email in CPanel full backup, but a simpler and faster solution is to make a backup only from the email section of your host and transfer it to the host you want. For example, let’s say the process of sending and receiving e-mails has been done through CPanel webmail until now, but now you have an e-mail host, and you don’t want to lose old e-mails or change your host. Emails along with all the data should be transferred to the new host, so in this tutorial, from the Fa host knowledge base to backup emails from the cPanel host and transfer emails to another host, we examined

The topics discussed in the tutorial on how to backup emails from the cPanel host and transfer them to another host are as follows:

  • Email transfer from one host to another
  • How to backup emails
  • Restore email backup from cPanel

Email transfer from one host to another

Backing up the host’s emails is suitable for those times when you decide to archive your host’s emails for any reason or restore them in another host such as the host’s email. You may even intend to transfer the service and want to transfer all information, including your emails, to the destination host. In such a situation, you can simply prepare a backup copy of the host’s emails and transfer them to the destination host. In the following, we will check how to backup emails from the host and restore the email backup in the destination host, as well as transfer emails from the CPanel host to the email host. Be careful, you can also prepare a full backup of the cPanel host , which includes the host’s emails, but you may prefer to make only one backup copy of the host’s emails due to the time-consuming or heavy nature of the backup. .

Step 1: How to backup CPanel host emails

Through the following steps, you can make a backup copy of the email and save it as an archive on the system or upload it to another host such as an email host. It is very useful if you do not want to lose old emails.

This operation is performed on the source host, that is, the host that contains the desired emails.

  1. In the first step of e-mail backup, of the CPanel login tutorial enter the control panel of the source host That is where your emails are located.
  2. Click on the FILE MANAGER option in the FILES section of your hosting panel.
    The location of cPanel files
  3. In the home section of your host, you will see two directories named mail and etc , which contain emails and configurations related to your host’s emails. Select these two directories.
    Email backup
  4. To backup emails from the host, right-click on the two selected directories and select the Compress option.
    Email backup
  5. Now, at this stage, a box similar to the image below will be displayed while backing up the email host. You can choose your desired extension for the backup file. We recommend choosing the first option, which is the zip extension.
    How to back up email
  6. After the end of the compression operation, a zip file will be displayed in the home path of the source host. This file is actually a backup of your CPanel host emails.
    Backup of emails
  7. In the picture below, the etc.zip file is the desired backup file and it can be downloaded and archived in the system or uploaded to another host. To download the file, right click on it and select the Download option.
    Transferring emails from one host to another

Up to this point, you have succeeded in creating a backup of your CPanel host emails. As mentioned, you can save this backup version of email host on the system or transfer it to another host such as email host or web hosting host.

Step 2: Transfer emails from the cPanel host to another host

Up to this point, you managed to get a backup copy of all the emails on your host, but this compressed file and the information inside it are only an archive and you cannot check them unless they are transferred to another host! In fact, this information can only be read on the host. To restore the email backup on the cPanel host, just follow the steps below:

The email backup restore process is done on the destination host, that is, the second host.

  1. First, enter the destination cPanel host. (It means the host to which you intend to transfer emails.)
  2. A very important point that you should pay attention to is to check the domains based on which emails were created in the previous host and define exactly the same domains in the form of domain name in the destination host. It is done so that the destination hosting service can display your email in the EMAIL ACCOUNTS section. For example, we plan to transfer the emails of the mizbanfa.net domain, which are info@mizbanfa.net and sell@mizbanfa.net , to the second host with the domain.com domain, so we must have the mizbanfa.net domain in the second host as well. which we define as a domain name. You can also get help from the training on creating domains in cPanel to register your domains.
    Transferring emails from one host to another
  3. After adding the relevant domains that the emails are based on, to upload the email backup file to the cPanel host that you created in the previous step, refer to the FILES section and click on the File Manager option.
    The location of cPanel files
  4. At this stage, upload the backup file you prepared to the home host of your destination.
  5. To restore the email backup of the cPanel host, right-click on the email backup file and select the Extract option. You must say that there are also mail and etc folders in the destination host, which contain the email and settings of the current host. Don’t worry at all, this backup will be placed next to other host data after extraction, and the current information will not be lost