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:

/home/$username/mail/$domain/$email-account-name


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. 

Post a Comment

0 Comments