How to Restore single CPanel account email after deletion from CPMOVE tar.gz file

You can find the backup archive from the backup generation date of your choosing, and then manually extract the email contents from the archive (e.g. using the "tar --extract" functionality). The email data is stored in:


Copying over the extracted data to it's associated directory will not overwrite the new emails that have since generated in the directory, as each email has a unique name.

You have root access of your server so you can restore your mail account sub folder through command line.

tar -zxvf $username.tar.gz /$username/mail/$domain/$email-account-name

If you have backup in .tar.gz format, then first of all you will have to extract that backup file and rsync your directory which you want to restore from backup to user mail directory. 

Popular posts from this blog

How to Delete WHM Mail Queue through SSH sent from a particular sender

how to change witribe wlan password? how to secure your witribe router

SOLVED: WHM/CPANEL Your server does not support the connection encryption type you have specified. Try changing the encryption method