Introduction
This guide covers steps for importing email messages from a cPanel-generated backup into an existing email account.
Procedure
Please note that a backup of the account should be taken prior to performing the following procedure.
Please note that the mail folder needs to be extracted from the backup if the backup is compressed.
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command to import the email.
doveadm import -u user@domain.tld mdbox:/path/to/import/files/ "" ALL
Please note that "user@domain.tld" and "/path/to/import/files/" must be replaced with the email address for the account to be restored and the path to the files to be restored.
Please note that the path to the files to be restored must end with
/
.
Additional resources
How to manually locate and extract a file or directory from a cPanel backup
Comments
0 comments
Article is closed for comments.