Restore MDBox Emails using R1Soft



MDBox is a way of storing emails where the format is to have multiple emails within a single file.

Having emails stored in this format saves disk space and inodes for your cPanel account.

When restoring MDBox emails, you will need to restore the emails into a temporary email account and then forward emails into your primary email account. Otherwise, if you restore the email files on top of the original email account, it would get rid of any new emails that you might have received between the restore point and now.

Identifying an MDBox Email Account


Step 1 - Login to cPanel and go to File Manager.
f215cbf4484941b0e2acd55825ad7829f528ee3d?t=f9d7509c321622d6342b21be8e6fe3a8


Step 2
- Navigate to mail//
In this example, we will be using admin@yourdomain.net.au, therefore we will go to the directory mail/yourdomain.net.au/admin.
0736721bcc033e7c699850accf9e9a46db98c5d5?t=c0e2f8eeb058783608f4eb5aa0299733

Once you are there, if you see mailboxes and storage, then the email format is MDBox, please follow the section below to restore MDBox emails.




Restoring Emails to a Temporary Email Account

For this example, we will be restoring emails from admin@yourdomain.net.au.

Step 1 - Login to cPanel and create a temporary email account to restore the emails into - for this example, we will be creating admin-restore@yourdomain.net.au.

d7f79ae3af7c0d5d2578bccce02b9a67e4638700?t=4b494fe562953bcb58d81ccaa31ad3d1

57d7a2e5905324d65a78138fb3b4dbca2b544096?t=88afa8ffbc4d2a53c29767decdd87d64

c45bcab6a0d5209842a0079ec96c8db0dc69e7c7?t=791457b186fea7490181876bda7a1bcb


Step 2 - Open File Manager and delete everything inside the temporary email folder - in this example, we will be going to the directory mail/yourdomain.net.au/admin-restore.
f215cbf4484941b0e2acd55825ad7829f528ee3d?t=f9d7509c321622d6342b21be8e6fe3a8

9aaffbc75001aca0e2d292d53100ae33eb208c25?t=b8cb420e79e3961d80077afb6e34de82

Step 3 - Click on R1Soft from cPanel home page (if you come to a login page, use your cPanel username and password to login).
d4b1cb1295a089af3fa5d4d48dd319e98725969b?t=8f47cbeebe2bdd9a2d2b0b8354388351

Click on the Browse icon on the date that you wish to restore from - in this example, we will be restoring from February 27 9pm.
d35a3ae2a88d95bf78e9545a24fbacd6c23ba615?t=30655b92cf2df4dc9dd256ed5be30948

Navigate to the mail folder of the domain you wish to restore from (home/mail//) - in this example, we will be navigating to home/mail/yourdomain.net.au.
(To navigate, double click on the folder)
e67771f986eef17253c07c5b6ad9adcc5231720f?t=a079a72acd7cd154a9b75272517f8e6b

Select the Email Account on the right hand side and click on Send Selected to Agent.
37c9cc13b05efaf787f4017e9f6ce4440c3aa4a7?t=f34f8217076301c6a08fece0a085c297


Specify a Filename and then click on Send to Agent - in this example, we will be using admin-restore.
68de27bd17308be390b644514e4983bea3303b84?t=52be85ef8571b373508228a618acdca0


If you receive an error, it is okay to ignore it.
76d8176c31de7df1ca4a777f343b7c1a90f9c7c6?t=0129ac0e1518e75c1878fa6f57dc762a


Step 4 - Open up File Manager in cPanel and extract the restored tar.gz file to tmp.

3f7233671b3c69ddd08f80d0ceee3d26dc491977?t=c702b23eaa3e5f8b02c7917eedd2b213

8cc3eb4b3f7622c589cf98a5d1482d33defe6843?t=ef0660a21627c358e925f8352ddfc73c


Step 5 - Navigate into the extracted files - in this example, we will be going to /home/yourdoma/tmp/home/yourdoma/mail/yourdomain.net.au/admin.

Next, Select All in the folder and then click Move.
c0dc2187cd1e34d2ece14e8b8c600bf86157915a?t=1f9601084578ca2e829744a109c9b011

Specify the file path of your temporary email account folder - in this example, we will be using /home/yourdoma/mail/yourdomain.net.au/admin-restore.
69dd42cde49af65c60bac533ee765ed348427b3f?t=2b35255c7820a72bd1e4d73a53196bc2


Step 6 - Go back to cPanel home page and select Email Accounts.

a2440401eb5a95348fc06bff8986a74dbd3b8ed1?t=ce59e4ea71b7eb524d6b8979c4a4b49e


Then click on Access Webmail for the temporary email account.

26af4da67e46b96354d2d8586ec46d6b15b6b483?t=3e5604fa729214ef6c0bc9e45ae6b33a

Once you are inside webmail, you can use this as a normal email account, we recommend forwarding any important emails to your primary email address.


Step 7 (OPTIONAL) - Delete the temporary email account once you are done with using it to recover any emails.

7a5fa5dbe629c063db9033f3f49d7915617bc11d?t=2fbc13faa218b3c077e339e76f1ae329






Did you find this article useful?