What an email backup has to contain
An email backup is a copy of every mailbox that lives somewhere other than the server you are protecting. It has to include the inbox, the sent folder, any folders you file into, and the attachments. Contacts and calendars are separate stores, so a mail-only archive will not bring them back.
Your hosting provider's backup is not your backup. A server backup exists so the provider can rebuild a failed machine, it runs on their retention window, and restoring it usually replaces the whole account rather than one mailbox. That is a fine safety net and a poor archive.
- Scope: all mailboxes on the domain, not only the one you read.
- Format: MBOX, PST or EML, all of which a desktop client can reopen.
- Location: a disk you control, ideally two, not the same server and not only the same cloud account.
- Proof: one message restored from the archive into a working mailbox.
The rest of this page follows that order for cPanel hosting, Gmail, Outlook and any IMAP mailbox, and ends with the restore test that most guides skip.
Back up mailboxes on cPanel hosting
cPanel gives you two useful paths: a full account backup that includes the mail directory, and direct access to the mail folders in File Manager. The first is a complete snapshot; the second lets you pull one domain's mail without the websites.
- Log in to cPanel, open Files, then Backup, and choose Download a Full Account Backup. The archive includes home directories, databases and the mail store.
- For one domain only, open File Manager, enable Show Hidden Files, and go to mail, then the domain folder. Each mailbox is a directory with cur, new and tmp subfolders holding raw message files.
- Compress the mailbox directory and download the archive, so thousands of small files move as one.
- Record the date, the domain and the mailbox count in a text file beside the archive. Six months later you will not remember which copy is which.
A full account backup restores by replacing the account, so keep it for disaster recovery. For a single mailbox, the File Manager route or the IMAP sync below is safer. The step-by-step for the archive itself is in the cPanel full backup guide.
Back up Gmail and Google Workspace mail
Google Takeout is the supported export: it produces an MBOX file per mailbox that Thunderbird, Apple Mail and most archiving tools can open. It can also run on a schedule, which turns a one-off download into a monthly copy.
- Open Google Takeout while signed in to the account you want to export.
- Click Deselect all, then tick Mail only, so the archive does not include Drive and Photos.
- Choose the export format and a destination, then set the frequency to every two months if you want an automatic repeat.
- Create the export and wait for the email with the download link. Large mailboxes take hours, not minutes.
- Download the zip, keep it off the Google account, and note the export date.
Takeout downloads mail, but it does not restore into Gmail on its own. To put messages back you import the MBOX through a desktop client, or use a paid migration tool. Plan that before you need it, not after an account is locked.
Back up Outlook and Microsoft 365 mailboxes
Classic Outlook on Windows exports to a PST file, which contains mail, calendar and contacts for the folders you select. The new Outlook for Windows and Outlook on the web have no local export, so use Takeout-style tooling or a desktop client for those accounts.
- In Outlook for Microsoft 365, 2024, 2021, 2019 or 2016, open File, then Open and Export, then Import/Export.
- Choose Export to a file, then Outlook Data File (.pst).
- Select the account and tick Include subfolders, so filed mail comes with the inbox.
- Pick a destination outside the profile folder, and set a password on the file.
- Repeat for each mailbox. One PST per mailbox keeps restores simple.
Microsoft 365 keeps deleted mail for a limited retention window and keeps the mailbox itself on their servers. That protects you from a mistaken delete, not from a cancelled licence, a departing employee or a ransomware event in the tenant. The PST is the copy you own.
The universal method: sync any IMAP mailbox to Thunderbird
If you would rather not depend on a provider's export tool, sync the mailbox to a desktop client. IMAP copies every folder to your disk, works on cPanel, Gmail, Outlook and Zoho alike, and gives you a copy you can read without any service.
- In Thunderbird, add the account as IMAP: your mail host, port 993 with SSL/TLS, and the full email address as the username.
- Right-click each remote folder and choose Subscribe if it is not already visible.
- Let Thunderbird download the folders, then select them, right-click and choose Offline, then Download Now for the folders that were not cached.
- Copy the profile folder, or export each folder with an MBOX-aware tool, to your backup disk.
- Open one message from the copy with the network disconnected. If it renders with its attachment, the copy is real.
This is also the safest way to prepare a host migration: the local copy exists before the DNS changes, so a missing mailbox on the new server is an inconvenience rather than a loss.
Which email backup format to keep
Keep MBOX for archives you may need to search, PST if your team lives in Outlook, and EML for individual messages you must hand to someone else. The format matters less than being able to open it in five years.
| Format | Holds | Opens in |
|---|---|---|
| MBOX | A whole folder, messages concatenated into one file | Thunderbird, Apple Mail, most archiving tools |
| PST | Mail, calendar and contacts from Outlook folders | Outlook on Windows; read-only tools elsewhere |
| EML | One message with its headers and attachments | Almost any mail client, on any operating system |
| cPanel account archive | Mail plus websites, databases and settings | The same cPanel account, on restore |
Avoid PDF as a mail backup. It drops attachments, loses the sender headers a dispute may need, and cannot be imported anywhere.
Test the restore before you trust the backup
A backup you have never restored is a hope. The test takes ten minutes and is the only thing that separates an archive from a file you cannot use.
- Create a test mailbox on the same domain, or use a spare address you control.
- Import one folder from the archive into it, using the client's Import or drag-and-drop.
- Open a message with an attachment and confirm the file opens.
- Reply to it and check the sent folder records the reply, which proves the mailbox is not read-only.
- Write the result and the date in the same note as the archive, then delete the test mailbox.
If the import fails, the usual causes are a truncated download, a password-protected PST with a forgotten password, or an archive taken while the mailbox was mid-sync. Re-take it rather than repairing it.
A backup schedule that survives a bad week
Monthly is enough for most small businesses; weekly for accounts that carry orders, invoices or legal correspondence. Whatever the interval, keep two copies on different media and one of them off site.
- Run the export on a fixed date and name the file with that date, so the newest copy is obvious.
- Keep twelve months of monthly archives, then delete the oldest after a successful restore test.
- Store one copy away from the server and the office: an external disk at home, or object storage in a different account.
- Record who runs it. A schedule with no owner stops the first month that person is on leave.
- Before any migration or DNS change, take an extra copy and label it with the change.
The same discipline applies to the website files and databases, which is the point of the 3-2-1 rule. If mail is business-critical and nobody in the company will run a monthly export, a managed backup service is cheaper than the month you lose the invoices.
Frequently Asked Questions
How do I take a backup of all my email?
Export each mailbox as a file you can reopen. On cPanel, download a full account backup or compress the mail directory in File Manager. On Gmail, use Takeout to get an MBOX. On Outlook, export a PST per mailbox. Then sync one mailbox to Thunderbird to confirm the copy reads offline.
Does my hosting provider back up my email?
Usually yes, but on their schedule and for their purposes. A server backup restores the whole account and expires on a retention window, so it cannot recover one mailbox from four months ago. Keep your own export as well.
Where are emails stored in cPanel?
In the mail directory of the account, one folder per domain and one directory per mailbox, each with cur, new and tmp subfolders holding raw message files. Enable Show Hidden Files in File Manager to see it.
Can I restore a Gmail backup back into Gmail?
Not with Takeout alone. The MBOX it produces imports through a desktop client or a migration tool, which uploads the messages back over IMAP. Test that path once on a spare account before you depend on it.
How often should I back up business email?
Monthly for most small businesses, weekly if the mailbox carries orders, invoices or legal correspondence. Keep twelve monthly copies, two copies on different media, and one off site.
Is a PST file a complete backup?
For the folders you selected, yes: mail, calendar and contacts. It is not complete if you exclude subfolders, if the mailbox has shared or archive mailboxes you did not add, or if you never test that the password on the file is one you still know.

