Can I amend the emails from Cpanel backups to the current account?

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,720
26
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
We had a customer delete all there email on accident and we would like to know if we can move the emails from the backups to the current account?

And if we can what is the folder in the backups that holds the emails to move and where to move them in the current account.

Also is there a special way to emend files when being moved to make sure they do not overwrite the current emails?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Yes, you can extract a backup archive and copy over the emails to an account's existing mail directory. If restoring a backup archive, you will find emails located at:

Code:
/home/cpmove-username/homedir/mail/domain.com/email-account/
You can also find emails from the default account within:

Code:
/home/cpmove-username/homedir/mail/
The following thread is intended for manual migrations to cPanel, but it includes details about the maildir structure that will be useful to you:

Manual Migrations to cPanel

You can copy the data over to the matching email directories within the account.

Thank you.