How To Backup Cpanel User email data?

Gsm-extreme

Registered
Aug 22, 2013
3
0
1
cPanel Access Level
Website Owner
Hi
I am New User I want backup in my forum user email data only
but i don't know how to back
need help step by step

How To Backup Cpanel User email data?
 

cPanelMichael

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

You will need to generate a full website backup via:

"cPanel - Backups"

There are no automated tools to backup the email accounts on their own.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Email data is stored in:

Code:
/home/$username/mail/$domain.com/email-account-username
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
The following document is intended for manual migrations from another control panel, but it also has useful information on where email data is stored:

Manual Migrations

As for the step by step process, it's really just a matter of downloading the data directly to your computer via a FTP client if you do not have root access to the server.

Thank you.
 

Dante78

Well-Known Member
May 1, 2010
59
0
56
The following document is intended for manual migrations from another control panel, but it also has useful information on where email data is stored:

Manual Migrations

As for the step by step process, it's really just a matter of downloading the data directly to your computer via a FTP client if you do not have root access to the server.

Thank you.


Can i compress /home/user/etc and /home/user/mail folders and simply upload on new account and they work fine?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Yes, but keep in mind the domain names must match and correct file ownership is required. For instance, you can't just upload those directories from one account and except them to work on a completely different domain name/username combination.

Thank you.
 

Jaymoon

Registered
Dec 18, 2005
1
1
153
I know this is an ancient thread, but for future reference, there is a way to backup individual emails (or folders).

Launch Roundcube from your cpanel Email Accounts section, and login to your email account you want to backup. Within Roundcube, you can click on each email you want, and choose "More > Download (.eml)".

It may be tedious to do each message, but here is a backup of your mail, preserving the addresses, time, date, and attachments. Save your .eml files, and restore them to another server/address by dragging them into Thunderbird.

Just posting since this thread comes up when searching "backup mail from cpanel".
 
  • Like
Reactions: Xaviersam