How to back up your email
Keep a copy of your mailboxes with an IMAP email app, export to a local archive, and include email in DirectAdmin backups.
On this page
Option 1: an email app with local folders (recommended)
- Add the mailbox to a desktop app using IMAP. How to set up your email in Thunderbird How to set up your email in Outlook
- Let it fully download every folder. In some apps you may need to set folders to download for offline use.
- Copy or move messages into local folders: - Thunderbird: Local Folders - Apple Mail: On My Mac - Outlook: a local
.pstdata file (File → Open & Export → Import/Export on classic Outlook)
Copied messages stay on your computer even if the server copy is deleted.
Option 2: full account backup
DirectAdmin backups can include email accounts and their messages. How to create and download a full account backup This restores mailboxes to a DirectAdmin account, but isn’t convenient for reading individual messages on your computer.
Option 3: export per message or folder
Many apps export folders as .mbox files or individual .eml files, which other apps can import later.
Before cancelling or closing a mailbox
Complete option 1 and check the local folders open and contain everything, including Sent.
Remember
IMAP syncing isn’t a backup on its own: delete a message on your phone and it disappears everywhere. Local copies are.
If it doesn’t work
These guides cover the most common problems, starting with what you can see. Or browse every fix for a common problem.
- Database connection failedFix ‘Access denied for user’, ‘Unknown database’ and connection errors in PHP apps by checking prefixes, passwords, privileges and host.
- “Permission denied” and files that won’t save or uploadFix uploads and saves failing with permission errors in WordPress, apps and FTP, without resorting to unsafe 777 permissions.
- 500 Internal Server Error: how to fix itFind the real cause of a 500 error: read the error log, then check .htaccess, PHP errors, permissions and PHP version in order.
Common questions
How do I back up my email?
Adding the mailbox to a desktop mail client over IMAP gives you a local copy of everything, which is the simplest route. A full DirectAdmin account backup includes mail as well.
Spotted something out of date or unclear? Tell us and we’ll fix it.