How to back up your hosting email: cPanel, Plesk or IMAP
Back up the email on your own domain from cPanel, Plesk or any web host: what the control panel's backups cover, what they don't, and how to keep your own copy.
- Published
- 4 min read
The simplest way to get a backup of your hosting email that you actually control is to connect to the mailbox over IMAP from your computer and copy the messages to a drive of your own on a schedule. Control panel backups from cPanel or Plesk are fine for restoring a whole server, but they live with the same provider and aren’t easy to dig a single message out of.
If your email is on your own domain, like you@yourcompany.com, it’s probably hosted alongside your website. And hosting tends to be the weak link: a plan that lapses, a card that expires, a half-finished move to a new host, or a mailbox quota that forces you to delete things.
What your control panel already gives you
cPanel
cPanel’s Backup Wizard offers two kinds of backup, according to its official documentation:
- Full backup. A .tar.gz of the whole account, which you can keep on the server or send to a remote FTP server or over SCP. One catch: cPanel says you can’t automatically restore a full backup from cPanel itself. That takes WHM, which in practice means your host.
- Partial backups. Your home directory, your MySQL databases, and your email forwarders and filters. The home directory backup includes the email for the domains on your account.
So cPanel does keep your messages, inside the home directory .tar.gz. What it doesn’t give you is an easy way to search for one email in there or put it back where it was.
Plesk
Plesk has a Backup Manager that, according to the Obsidian guide, can include both configuration and content, mail accounts included, and can store backups on the server or on remote FTP storage. You can also download backup files from the panel. They’re designed to be restored into Plesk, not opened in a mail program.
The underlying problem
Both share the same limits:
- They depend on the panel still being there. If the hosting account is closed, you lose access to the backups stored on that server.
- Someone has to remember. Some hosts run backups for you, but how many they keep and for how long is their call, not yours.
- They’re not built for recovering one message. To rescue an email you deleted three months ago, you end up restoring half the account or picking through a tarball.
If your host makes backups, great. But those are their backups, not yours. Cloud email is not a backup explains why it’s worth having your own.
Your own backup over IMAP, step by step
Nearly every web host serves mail over IMAP (on cPanel it’s usually Dovecot). That means you can back it up from outside with a backup tool, without touching the panel.
- Find the connection details. In cPanel, open Email Accounts, find the mailbox and click Connect Devices: you’ll see the incoming server name and ports. In Plesk, look under Websites & Domains, your domain, Mail Accounts, in the manual setup section. If you can’t find them, your host’s help pages will have them.
- Use the secure connection. The usual setting is IMAP over SSL/TLS on port 993. Use the server name the panel gives you, because the certificate has to match it; sometimes
mail.yourdomain.comisn’t covered and the server’s own hostname is the one that works. - Have the username and password ready. The username is usually the full email address. If you’ve forgotten the password, you can reset it from the panel.
- Set up the backup tool. Enter the server, port, username and password, pick the folders (Inbox, Sent, archives, Trash if you like) and choose the destination drive.
- Let the first full backup run. Depending on mailbox size and server speed it can take a while. After that, only new mail is fetched.
- Check that it worked. Search the backup for an old message and open it. If it shows up, you’re set.
If you use POP3
If your mail app downloads messages over POP3 and deletes them from the server, the only copy is already on your computer. The hosting mailbox will be nearly empty and backing it up over IMAP won’t help much. Your first job is protecting what’s on that computer.
When you switch hosts
Moving to a new host is a risky moment for email. The usual story: the domain already points to the new server, the old one still holds the mailbox with years of history, and someone cancels the old plan before the messages are moved over.
Before you cancel anything, take a full IMAP backup of the old mailbox. If the migration goes fine, the backup cost you nothing. If it doesn’t, you have it.
How Arca handles it
Arca Mail Backup connects to any IMAP account with a server, username and password: cPanel, Plesk, Dovecot or your ISP’s mail server. It backs up in the background to standard mbox files, one per folder and month, with a manifest.json and a README for opening them without the app. Mail deleted from the server, whether to free up quota or by mistake, stays in your backup marked as deleted, and you can restore it into the same account, in a new folder, without changing anything already there.
The free plan backs up one account to an internal or external drive, once a day. If you look after several mailboxes on the domain (yours, billing, info@), Pro covers 1 to 100 accounts, backs up every few hours and adds NAS and S3-compatible destinations, starting at $8.99 a year for one account. Direct migration from one account to another, say from your host to Gmail, is coming soon to Pro. See pricing for every level.
Arca and Arca Pro are in the Microsoft Store for Windows and the Mac App Store for Mac.