Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

btownguy

macrumors 6502a
Original poster
Jun 18, 2009
545
19
I use MacOS Mail.app as my client and my mail backend is FastMail and I'm using IMAP. I am more than happy with the way these two work together. Just covering my bases, I'm wondering what my backup strategy is with this IMAP-based mailbox. If something happened at FastMail and my mailbox got nuked (not likely I know), what would my restoration plan be?

I use Time Machine and I assume it's backing up my Mail.app data. In a disaster scenario, could I just restore my Time Machine data and have my mail in Mail.app such that I could export my various mailboxes and import them into another email system/provider/client?
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,342
15,979
California
Yeah... Time Machine backs all that up. It is all in the folders under the user folder ~/Library/Mail.

Screen Shot 2018-02-11 at 8.53.14 AM.png
 

BrianBaughn

macrumors G3
Feb 13, 2011
9,720
2,462
Baltimore, Maryland
Some thought would have to be put into the restoration. If you restore your Mac from Time Machine, include Mail accounts and all those folders with the emails, then sync back to an empty Fastmail account, the IMAP folders at Fastmail would take over and delete the email and mail folders on your Mac.
 
  • Like
Reactions: Weaselboy

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,342
15,979
California
Some thought would have to be put into the restoration. If you restore your Mac from Time Machine, include Mail accounts and all those folders with the emails, then sync back to an empty Fastmail account, the IMAP folders at Fastmail would take over and delete the email and mail folders on your Mac.
Yeah... I think you would need to not be on the Internet at all and do the restore, then move those emails over to a local Mail folder... then connect to Fastmail and move them back. That should work don't you think?
 

NoBoMac

Moderator
Staff member
Jul 1, 2014
6,101
4,737
Disclaimer: I have not dug deeply into iMAP backup and restore, so, take with a grain of salt.

I have restored mailboxes from Time Machine, but have had times where is seems like not everything was in backup. Most notably attachments: some are there others are not. What needs to be done to restore a TM backup is to basically navigate in the TM interface to the mbox file as shown in Weasleboy's screenshot, restore it as a copy, then import the mbox file where it will now be a separate mailbox in Mail.app. You can now navigate this new mailbox and do what is needed.

Seen somewhere that some people will export the mailbox and then backup that file.
 

robgendreau

macrumors 68040
Jul 13, 2008
3,468
330
Having faced this I found it was much easier to restore from the server. IMAP is generally setup by default to keep copies there, and presumably your provider is paying for much more robust backup than your local Mac. So you just log in and download it all again.

I had to keep local backups for archiving purposes (we needed say a timestamp on the email itself, and the problem with redownloading was that they were sorta "new" copies, and also it was harder to verify that it was a "new" email rather than a sent file. So we kept PDFs of all the received emails instead of relying on local copies. For that we used Email Archiver Pro, which essentially goes through and prints to PDF all the emails in a given mailbox. Then those PDFs are backed up locally via TM.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.