Úãá backup/Restore áÌãíÚ ÍÓÇÈÇÊ ÇáÇíãíáÇÊ e-mail Accounts Úáì Cpanel
Úãá ÈÇß ÇÈ áÌãíÚ ÍÓÇÈÇÊ ÇáÇíãíáÇÊ ßÇãáÉ ÔÇãáÉ ÇÓã ÇáÇíãíá æ ßáãÉ ÇáÓÑ æ ÇáßæÊÇ
Úãá ÈÇß ÇÈ æ ÇÓÊÚÇÏÇÉ ÌãíÚ ÍÓÇÈÇÊ ÇáÇíãíáÇÊ ãä ÎáÇá etc æ mail

Introduction

Backing up your e-mail accounts and messages is useful if you wish to archive your old e-mail messages, or transfer e-mail content to a different server entirely. While this is usually done by generating a full cPanel backup, some users do not want to backup or move their entire hosting account, as it may be quite large. This tutorial will enlighten on how to backup e-mail related data for download.

ÇáÎØæÇÊ :



  • Access to the cPanel of your hosting account.


  • Step 1 — Logging into your File Manager
  • Step 2 — Understanding e-mail directories
  • Step 3 — Compressing your e-mail directories
  • Step 5 — Downloading the compressed archives
  • Step 6 — Removing leftover archives from your hosting account


1- ãÑÍáÉ ÇáÏÎæá Úáì ÇáÓì ÈÇäá Ëã File Manager

Login to the cPanel of your hosting account. Find and open the File Manager tool.



2- ãÑÍáÉ ÇáÈÍË Úä ãÌáÏ etc æ ãÌáÏ mail

Once inside the File Manager, ensure that you are in the home directory of your hosting account (it is usually in /home/username/ format). You will see two directories, etc and mail.



  • The etc directory contains information about your e-mail account names, passwords, quota, and other metadata.
  • The mail directory contains your actual e-mail messages and content.


3- ÖÛØ ßáÇ ÇáãÌáÏ etc æ ÇáãÌáÏ mail

Right click the etc directory and select Compress.



In the next window, you will see four archive types that you can use:

  • .zip archives offer standard compression and are usually used by Windows users.
  • .tar archives offer no compression and simply put all of your files into an archive.
  • .tar.gz archives are compressed with the gzip algorithm. These archives are usually used by Linux users and offer decent compression ratios.
  • .tar.bz2 archives use the Bzip2 algorithm, which offers better compression than .tar.gz, however, the algorithm is slower.

Select Zip Archive as the compression type for maximum compatibility. Leave the name unchanged for easy restoration in the future. Click Compress File(s) to compress the archive.



ØÈÞ äÝÓ ÇáÎØæÇÊ ÇáÓÇÈÞÉ Úáì ÝæáÏÑ mail




4- ãÑÍáÉ ÊäÒíá ßáÇ ÇáãÌáÏ etc æ ÇáãÌáÏ mail


In order for your backup to be safe, you must download it to your local machine. A backup archive stored on the hosting account itself is not secure or reliable.
Right click the etc.zip archive and select Download. Do the same thing for the mail.zip archive. Your archives will then be downloaded to your machine.


Your e-mail accounts and messages are now downloaded and safely backed up on your local computer inside these archives.

5- ãÑÍáÉ ÍÐÝ ÇáãÖÛæØ áßáÇ ÇáãÌáÏ etc æ ÇáãÌáÏ mail

It is wise to delete your backup archives from your hosting account once they are downloaded to your machine. This way, you save server space and also keep a tidy hosting environment.
Right click the etc.zip archive and select Delete to remove it. Do the same step for the mail.zip archive.



Your backup archives have now been removed from the hosting account.

ÇáÎØæÇÊ ÇáÓÇÈÞÉ ßÇäÊ áÚãá ÈÇß ÇÈ ááÇíãíáÇÊ æÈäÝÓ ÇáÎØæÇÊ ÈÚÏ ÚßÓåÇ íÊã ÇÓÊÑÌÇÚåÇ Restore

We have learned how to backup e-mail accounts and messages using cPanel’s File Manager. The archives that were downloaded to your machine can be used to restore e-mail on another account or hosting provider