Some email missing after restoring from backup

Med Gharib

Registered
Mar 5, 2019
2
0
1
France
cPanel Access Level
Website Owner
Hi,

I accidentally deleted all the emails from an account. My host sent me a full backup that I extracted on my computer. I transferred by FTP the account folder which is under homedir/mail / domain.tld /
When I went to check in the webmail, I found the emails sent but none of the emails received.

Was the backup I received incomplete or i didn't rasturation properly?

Thank you
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363

Med Gharib

Registered
Mar 5, 2019
2
0
1
France
cPanel Access Level
Website Owner
Hello @Med Gharib,

Can you review the contents of the archive you extracted on your local workstation and verify if the emails exist there? You can reference the /home/user/mail section of the document linked below to determine if the emails exist:

How to Manually Migrate Accounts to cPanel from Unsupported Control Panels - cPanel Knowledge Base - cPanel Documentation

Let me know what you find.

Thanks!
Hello,

Under mail folder i find 2 folders:

mydomain.tld
tmp

Under mydomain.tld folder i find:
account (account is the name of the adress mail "[email protected]"

Under account folder i find these folders:
.Apple Mail To Do
.Archive
.Drafts
.Notes
.Sent
.Trash
tmp

then these files:
dovecot.index
dovecot.list.index
dovecot.mailbox
dovecot-acl-list
dovecot-quota
dovecot-uidlist
dovecot-uidvalidity.57de83ce

Thank you
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
Under account folder i find these folders:
.Apple Mail To Do
.Archive
.Drafts
.Notes
.Sent
.Trash
tmp
Hello @Med Gharib,

It looks like the "cur" folder is missing, and that's where the delivered email is stored. I recommend asking your provider to verify if the backup archive was generated after the date/time you accidentally deleted the emails, and if so, to check if an older backup is available.

Thank you.