How To Backup Your Email Accounts via cPanel’s File Manager

Backing up your email accounts (and messages) via cPanel File Manager is a wise way of preserving your email accounts if you wish to archive them, restore them, or wish to take extra precautions before migrating your account. 

You can still create a full (or partial) cPanel backup using the Backup tool within cPanel, but often there are situations where you only need back up email-related data. This tutorial will walk you through creating a backup of email data onto your local computer.

  1. In the FILES section of the cPanel home screen, click File Manager:

    cPanel - File Manager icon

  2. In the home directory of your hosting account (which typically is labeled as /home/(your username)/) find the Mail folder.

    Mail directory within File Manager

  3. Within the Mail folder, find a folder labeled after your domain name. This will be the file we will compress and backup.

    domain mail folder

  4. Next, right-click the domain mail folder. Of the several options that appear, click on Compress:

    Compress file option

  5. You will then choose which format you would like your files to be compressed in. The following formats are available to choose from:

    compression file options
    The table below gives a summary of the four compression types and their usage:

    Compression Type Acronym Usage
    Zip Archive .zip This type of compression offers maximum compatibility, standard compression, and is typically used by Windows or macOS users.
    Tar Archive .tar The backup file will not be compressed, and the data is placed into an archive.
    GZiped Tar Archive .tar.gz Files are compressed using the gzip algorithm (which has nice compression ratios,) and this type of compression is typically used by Linux users.
    Bzip2ed Tar Archive .tar.bz2 Files are compressed using the bzip2 algorithm. This type of compression offers better compression than GZiped Tar (.tar.gz) but the algorithm is slower.
  6. Select the compression type that best suits your needs, and click Compress File(s).
  7. Your new compressed file will now be listed as one of the available files in that section of File Manager’s directory. Right-click the compressed file and click Download. This will download the compressed file onto your local machine. It is highly advisable to save this file to both your local computer and/or several machines.

    Download compressed file within File Manager

  8. To save space on your hosting account, it highly advised that you delete the compressed file within File Manager. Simply right-click the compressed file and click Delete to remove it.

  9. You have now created a backup of your email (and messages.)

  10. To save your entire mail directory, follow the same steps as above, but simply click on Mail in File Manager and not the mail for an individual domain.

Article Details

  • Operating System: Linux Hosting
  • Control Panel: cPanel
  • Product: All managed hosting accounts using cPanel
  • Level: Beginner

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

 

 

Loading