How to back up local email and check that it restores
Find which messages exist only on your PC, choose a backup format for your mail, and test a restore before you need it.
Start with two questions. Where is the only copy of each message you need to keep, and what will open it if your current PC stops working? Back up messages from the place that has the complete record. For some folders, that means exporting from your mail provider. For a local archive or an old POP inbox, it may mean exporting from the mail app on the PC. Keep the result on separate storage, then open a copy and check real messages before you depend on it.
Decide what you need to recover
Think of one event you want to recover from. You might accidentally delete a folder, lose a laptop, or lose access to an account after changing jobs or switching hosts. Each event puts a different copy at risk. If the provider still has your messages after a laptop failure, you can usually download them again when you reconnect. If you delete a folder and that deletion syncs to every device, reconnecting another mail app may show the same deletion. A dated export made before the deletion can give you a separate copy.
Make a short list of folders and records that are hard to replace. A small business might need purchase confirmations in Inbox, quotes in Sent, agreements in Archive, and an old correspondence folder in a desktop app. A personal account might hold travel records, receipts, account recovery correspondence and photos sent as attachments. Give each entry a date range and name one message you can look up later. A sample such as “March 2022 renewal, includes a PDF, stored in old laptop Archive” is more useful for testing than a plan that just says “save all mail”.
Decide what you want to get back. For a few records, you may need to open the original sender, date, message and attachment on another computer. For a full mailbox, you may also need folder structure, recipients and a searchable history. Work out separately whether you need contacts, calendar events, rules, aliases or signatures. They affect the way you use email but travel through different exports or settings depending on your provider. With a work mailbox, confirm which data your organisation allows you to retain and where it can be stored before you create a second copy.
Find the original and local copies
On the computer where you normally read mail, open the desktop app and your provider’s webmail side by side. Use the original address for each mailbox. Search for one new message, one from your oldest important year, one sent message and an example from each custom folder. Open the results, including attachments you expect to keep. A subject in the list tells you the app knows about a message. Opening the body and its files establishes that the contents are available from that source.
| Where you find the item | Where to start the backup |
|---|---|
| It opens in webmail with the expected contents | Use the provider’s export or an export from a client that has downloaded the complete message. |
| It opens in a desktop folder called Local Folders, On This Computer or a personal archive | Use that app’s supported export or local archive procedure. Include the folder explicitly. |
| It appears in an old POP account and is absent from webmail | Preserve the old app’s data. POP clients can download messages and remove server copies, depending on their settings. |
| The draft is visible only on one device | Save it through the app’s supported method or preserve the text and files separately. |
| You can find a past reply only in a recipient’s mailbox | Ask for a copy if appropriate. The copy you receive may preserve different details depending on how it is shared. |
If you find messages in both places, treat the copies as equivalent only after checking the details you care about. A phone app may show a shorter date range. A desktop app may keep headers for parts of its history and load the body when asked. An archive folder with the same name in both places can contain different messages. Search by a combination of sender, month and uncommon subject words, especially when the subject repeats every year. Before changing mail settings, take an inventory of any local data you have already found.
Give drafts and outbox entries their own check
An unfinished message can hold decisions that never reached a correspondent. Open Drafts in webmail and compare with each device where you compose. For local-only drafts you need to keep, preserve the sending account, recipients, subject and body in a protected location. Copy the original attachment files separately and record which draft needs them. If the only copy of a file is inaccessible, record the filename and where you might retrieve it. A draft you choose to recreate in webmail becomes a provider-stored copy, subject to the provider’s storage and your organisation’s rules.
Review the Outbox independently. A message there could be queued or waiting after a send failure. Keep the text if it matters and record the current state. If a later recovery involves a message you might already have sent, look up Sent in the provider and confirm delivery when the consequence of a duplicate matters. A backup test should leave messages unsent. Use a viewing tool or isolated restore location without an active send queue.
Pick a format that matches the restore
For a handful of important messages, individual message files give you a practical way to retrieve a specific record. An .eml file can preserve the message header, body and attached contents as encoded in the source message. Open one from your backup before repeating the export. Saving a message to PDF can be useful when you only need a readable view, but keep the original message too if you need the raw headers, the original attachment, or the ability to import it into a mailbox. An attachment link that points to a shared drive or website can stop working separately from the email. Save the linked file with appropriate permissions where your backup policy allows it.
For many messages, a mailbox format usually takes less work. An MBOX file can hold many messages in one archive. A PST file can store messages and other Outlook items and can be opened or imported by supported versions of Outlook. Some apps export a full application profile. That can include settings or address books along with mail, and may require the same app to read it again. Check the restore documentation first. An export format is a poor fit if you need an unavailable licence, a discontinued program, or someone else’s administrator credentials to read it.
Keep different recovery jobs in mind. Opening an archive to locate a receipt leaves the live account untouched. Importing copies into a mailbox uses server space and can create duplicates. Restoring a profile may also bring back settings or account connections. Write down which method you expect to use. If an archive meets your needs as a read-only reference, you can keep it separate from your active mail and import only selected messages later.
Export mail from the source that has it
If you split a large job by year or folder, verify the boundaries. For example, if you keep one export for 2024 and the next for 2025, find a message from the last days of December and another from the first days of January and check which file contains each. Dates may sort or display differently depending on whether an app uses the message’s original date or the time it arrived. Record how you selected the ranges and any deliberate overlap. Overlap is manageable when the archive is for reading. Before importing an overlapping set to a live mailbox, decide how to handle duplicates and try it with a few messages.
Check at least one message sent directly to you and one sent using an alias or distribution address that you need to preserve. If you have to establish exactly who sent a contract or where a notice went, retain the original message with its headers. A copied excerpt of the body can serve as a note, but some recovery jobs require the addressing, date and attachment together. If the messages are encrypted or digitally signed, test whether your intended viewer can interpret them and whether you can still reach the separate key material or certificate chain your setup requires.
Gmail and Google Takeout
For mail that appears in Gmail, request a Mail export in Google Takeout from the correct Google account. Review the included labels and confirm coverage for the folders in your inventory. Complete the request, wait for the archive to become available, then download every part to protected storage. If you manage a Google Workspace mailbox and the export option is missing, ask the administrator which export routes are allowed. Takeout covers data available to Google and included in the export. An unfinished draft that has only ever lived in a desktop client belongs in that client’s part of your backup.
Google lists message contents, headers, attachments and label information among the data Gmail can export. Labels can appear in X-Gmail-Labels headers in the archive. How they are displayed or re-created depends on the program reading or importing it. Check that a message with several labels is findable and that you can open a known attachment. If identifying a label is critical to your recovery, keep a simple list of the label names and the records they identify. Keep the date you downloaded the export and check important new activity separately if it occurred while Google was preparing it.
Microsoft Outlook
Use Microsoft’s PST export procedure for the edition installed on your old PC. In classic Outlook, select the correct account or local folder in the export wizard and include subfolders where needed. If the account uses Cached Exchange Mode, check the cache’s date range before exporting. An Outlook export can reflect the current cache, so verify that older messages required for recovery are available and follow Microsoft’s instructions for obtaining a complete set. Review any standalone PST archives in the folder pane as distinct sources. Selecting the active Inbox alone can leave years of historical mail behind.
Use a local working folder for the export where Outlook can finish creating the file. After the export has completed and the file is closed, transfer a copy to your designated backup storage. Test access with a supported Outlook installation. Look for a nested subfolder, an old message and a known attachment. If you need contacts, calendar items or other Outlook data, check those specifically and confirm which features your installed edition supports. Keep a separate note of any mailbox rules or arrangements whose settings you need to recreate.
Thunderbird
Use Thunderbird’s profile export if your recovery plan is to open the data in Thunderbird again. Its Export tool creates a ZIP containing the profile, including messages, accounts, address books and settings. Mozilla documents a 2 GB limit for that ZIP workflow and a separate folder copying procedure for larger profiles. Follow Mozilla’s procedure for the size of your profile, and close Thunderbird before manually copying a live profile. If you use more than one profile, check which profile contains each local folder. The folders you need may be in a different profile from the one the app opens by default.
Verify your backup using Thunderbird’s import guidance in a dedicated test profile. Take extra care around the imported account settings. Restore in a way that lets you inspect mail without starting normal send and receive activity on a separate setup. A profile export preserves what is in that profile at the time of backup. If your IMAP settings had only downloaded a portion of the provider’s mailbox, use a provider export for any remaining history you need to preserve.
Hosted IMAP and Roundcube
If your host uses Roundcube, cPanel documents how to export one message at a time as an .eml file. That works for a few receipts, confirmations or agreements. For a whole hosted mailbox, ask the hosting provider what its backup includes and which restore paths it supports. Ask whether it can restore one mailbox or folder, whether it can restore alongside the active mailbox, and how much notice it needs. If the answer is a control-panel backup, also establish who can restore that backup and confirm that the exported archive actually contains the messages and account you expect.
cPanel documents that automatic restoration of a full backup is performed in WHM and may need the hosting provider. It also distinguishes home-directory data from partial backup categories such as mail forwarders and filters. A file of forwarder settings does not contain the inbox. If you want an archive you can independently read after ending your hosting contract, get one while the account is active and test it locally. An IMAP-capable desktop client with a supported export is one possible route when it can download all the required folders and bodies.
Protect the exports on their own terms
A backup file can hold much more private material than any single message. Store it in a protected location with access limited to the people who will need to restore it. Use storage encryption appropriate for the device or service and apply the same protection to extracted files and working copies. If you can, keep a separate backup copy that is disconnected from the PC between updates. A removable drive left permanently attached is exposed to some of the same accidental changes or malware as the computer. Keep any password or recovery key where you can reach it if the mail account or PC is unavailable.
Put a date and a clear identifier on each backup so you can tell which copy predates a problem. An inventory can be a small text file kept alongside the protected archive. Include the source account identifier, date, selected folders, approximate covered dates, file format, number of archive parts and the tool used for your restore test. Record when to take the next copy. If space is limited, choose which older versions to retain based on how quickly you would notice a loss. An export you overwrite every Friday may already reflect a deletion you only discover the following month.
For a large archive, allow room for both the compressed copy and the extracted files. Check that each part opens or can be extracted. If you use a checksum to confirm that the copy on a separate drive matches the finished export, also test its contents. A matching checksum verifies the file transfer. It cannot show that the export settings included your old Sent folder, that attachments were available when the source was exported, or that you still have the software to read the archive.
Practise retrieving the mail you care about
- Copy the backup you intend to rely on to a protected test location. Leave the stored original intact. If your plan covers the loss of your normal PC, use a separate setup that represents how you would actually recover.
- Unlock the archive through your intended recovery process. Confirm that the key and any necessary software are accessible without relying on the computer that created the backup.
- Open the archive or import a test copy into a dedicated local profile or isolated destination. Keep the test itself away from your active mailbox and other people’s data.
- Find entries from your inventory. Confirm exact dates, meaningful excerpts of the body, sender and recipients, and representative attachment contents. Include a sent message, an older item and an item from a custom folder.
- Check what the test missed. Record the expected items you could find and the ones that need a different export. Remove unneeded temporary copies when the test is complete and record the date of the successful check.
For example, suppose your webmail archive opens with recent statements and several invoices, but the 2020 supplier agreement is absent. You discover it in a local Outlook archive. Export that archive separately and open the agreement from the new copy. Then suppose the agreement has a button to view the signed document on an external service. Open the supporting document while you still have access and retain it in the approved storage location. Your recovery list should now show which archive contains the conversation and which file contains the signed agreement. A single “export successful” message would have missed both details.
If you later need to restore a folder into a live account, check destination space and duplicate handling before uploading a material volume. Import a small selection first or use a separate destination folder where supported. Confirm that you can find the restored messages in webmail and see what dates and folder placement the destination preserved. When the provider will run a restore for you, specify the exact mailbox, folder, approximate restore date and whether overwriting current data is acceptable. Keep the pre-restore export available until you have finished comparing the restored result.
Back up mail you read in Swftink
The Swftink Public Account edition keeps synced mail and local drafts on your Windows PC in a profile protected by Windows Encrypting File System (EFS). The Swftink account service keeps sign-in and session records. Your mail provider has its own copies of server-stored messages and its own export and retention tools. For those messages, start with the provider export or another supported export route. Use provider webmail for attachment files you need to preserve from a message in the current edition.
For a Swftink draft that exists only on the PC, preserve its text and details using the draft check above. Treat the app profile as active storage. Its protected files and separately stored credentials have different recovery requirements, and a folder copy alone does not establish a recoverable Swftink profile. Windows provides a way to back up EFS certificates and private keys for files you own. If you need to recover encrypted files, establish which key protects them and follow your Windows administrator’s process. Access to a file and support for restoring the whole app are separate checks. Read the Swftink privacy policy for the distinction between local data, sign-in records and copies held by the provider.
Before using a setting that deletes local mailbox data, verify any only-on-this-PC records you intend to keep. Do the same before formatting a drive or reinstalling Windows. When the immediate goal is to keep working on another device, plan the cutover and confirm what arrives there while the old computer still works. See how to move local email to a new PC.
Sources
- Google Gmail Help on exporting your Gmail data
- Google Account Help on downloading data with Takeout
- Microsoft Support on exporting Outlook data to a PST file
- Microsoft Support on opening an Outlook data file
- Mozilla Support on exporting a Thunderbird profile
- Mozilla Support on importing Thunderbird data
- cPanel documentation on exporting and importing Roundcube mail
- cPanel documentation on the Backup Wizard and restore limits
- Microsoft Learn on Windows EFS certificate and key backup
- CISA and MS-ISAC guidance on maintaining and testing offline backups