CLIENT AREACall Us 1-800-383-5193


Call Us 1-800-383-5193


Call Us 1-800-383-5193

Need help?

Our experts have had an average response time of 13.52 minutes in October 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Import MDBOX emails from backup | Resolved

by | Nov 12, 2021

Import MDBOX emails from backup without any further trouble with a little assistance from Bobcares. 

At Bobcares, our Support Team is here with solutions for every query that comes our way as a part of our efficient Server Management Service.

Let’s take a look at how our skilled Support engineers recommend importing MDBOX emails from a cPanel generated backup.

How to import MDBOX emails from backup

Our Support Engineers are here with a guide to help you import email messages into an existing email account from a cPanel generated backup. Moreover, this comes in handy if the current email account has newer messages that need to be retained.

First, we will copy the email account back up to the local server.
For incremental or uncompressed backups, we will copy the username/homedir/mail/ directory to ~username/mail.bak/ on the local server.

However, if we are using compressed backups, we will extract the tarball. Then, we will copy username/homedir/mail/ to ~username/mail.bak/ on the local server.

After that, we will import the email from the backup directory for each email account as seen below:

doveadm import -u [email protected] mdbox:/home/username/mail.bak/domain.tld/user/ INBOX ALL

Additionally, our Support Engineers recommend ensuring that the path and the email account are up to date. Furthermore, they should match the account being restored currently.

We will repeat this process for all the accounts that need their mail imported.

[Need further assistance? We are available 24/7.]


In brief, we learned how to import email messages from a backup under the guidance of the helpful Support Team at Bobcares.


Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.



Submit a Comment

Your email address will not be published. Required fields are marked *