Thunderbird backup

Joined
Feb 29, 2012
Messages
7
Reaction score
0
Points
1
Hi all,

My Thunderbird mysteriously lost the last 2 months of emails. I felt relieved because I had backed up on Time Machine just yesterday but... I can't find the files ANYWHERE to restore them! PLEASE HELP. I have lost a bundle of important emails

I also tried to repair the folder from Thunderbird, but it does not help. Clearly I chose the wrong program to use for email :(
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
I'm not sure if TBird stores the emails in the profile but if they do, follow the instructions here to find the profile.
 
OP
F
Joined
Feb 29, 2012
Messages
7
Reaction score
0
Points
1
Its there on my normal HD, but for some reason I can't find the Thunderbird folder in the Library on the backup. And I have NO exclusions set on Time Machine... can't find it through a spotlight search either....
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
You're probably looking in the wrong place. Mozilla "hides" stuff in most unusual places. Here is the path to your mail:

MacIntosh HD/Users/your user name/Library/Caches/Metadata/Thunderbird/Mail/

Take note: If you're using Lion, the library folder is hidden by default.
 
OP
F
Joined
Feb 29, 2012
Messages
7
Reaction score
0
Points
1
Thank you for jumping in chsag. My problem appears to be that Time Machine did NOT back up the hidden Library folder... grrrrrrr! I know I can find it by pressing OPTION when I click GO, but is there a way to permanently unhide it? Do you have any idea how Time Machine deals with it?
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
Yeah, it's a real pain but I guess Apple has their reasons....

To unhide the user library folder, open Terminal and type in the following and then press enter:

chflags nohidden ~/Library/

However, every time Apple issues an update to Lion, you'll have to do the same thing. Let us know how it went.
 
OP
F
Joined
Feb 29, 2012
Messages
7
Reaction score
0
Points
1
Okay I found the terminal command to unhide it [ chflags nohidden ~/Library/ ] , but is there a chance is it hidden in my time machine backup? and a way to reveal it? or does time machine not back up hidden files?
 
OP
F
Joined
Feb 29, 2012
Messages
7
Reaction score
0
Points
1
really really really appreciate your help. its CRAZY frustrating doing responsible back ups, and then not finding the files i am looking for. if you can help with figuring out if it backed up the hidden library folder, and how to reveal that, i would be forever grateful :D
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
No, Time Machine should backup everything that's not specifically excluded and that includes hidden files, folders, etc. I don't have my TM drive attached right now so I can't verify if the hidden folder can be unhidden but I suspect it can.
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
Well, I guess I was wrong! I just attached my Time Machine drive and looked for the Thunderbird Mail file. Guess what? Time Machine does not backup the "cache" folder. And that's where Thunderbird stores the Mail and News items and folders.

I can view both my Thunderbird News and Mail folder from Finder, but it's nowhere to be found in any of my Time Machine backups. Why in the world Thunderbird buries the mail and news folders in the Cache Metadata folder is beyond me.

I guess we have to figure out how to backup that folder. I have a backup of it anyway since I also use Carbon Copy Cloner in conjunction with Time Machine to do my backups.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
According to this page, Thunderbird stores messages in the user profile (which makes sense). I could be wrong since I don't have TBird to check this but it might be worth looking in the TBird profile folder.
 
OP
F
Joined
Feb 29, 2012
Messages
7
Reaction score
0
Points
1
I couldn't figure out a way to reveal the Hidden Library director on my external drive, but I did notice Time Machine does duplicate backups to a partitiion called Mobile Backups (yay). I finally FOUND the file but... when I try restore or manually copy the backup, I get

The Finder can’t complete the operation because some data in “” can’t be read or written.
(Error code -36)

Any ideas? (Wow this is a pain. I need to switch from Thunderbird)
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
Van is correct. I overlooked the profile path by mistakenly going to the cache folder. Here it is....

/Users/your user name/Library/Thunderbird/Profiles/w52afva1.default/Mail/

This does show up in the Time Machine backup and can be restored direct.

Now that I think about it, Thunderbird uses the same folder path in Windows to store the profile and mail - news folders.

Thanks Van.
 
OP
F
Joined
Feb 29, 2012
Messages
7
Reaction score
0
Points
1
So it appears the trick is to unhide ALL hidden folders (not just the library), and then I too can find the files in the Time Machine. Thank you so much for all your help. I've restored everything, and the inbox now turns up empty. *sigh* Wow I hate this program. I backed up before restoring, and noticed a 2 gig file called inbox alongside the inbox.msf . This is the file that I have been trying to manually copy across, and keep getting the

The Finder can’t complete the operation because some data in “” can’t be read or written.
(Error code -36)

error with. I am wondering if this is why Time Machine didn't back this file up. When I manually throw this file back in, my inbox returns (but still with the last 3 months missing)

So I am back to where I started. Any idea why I can't move this file? I did run a disk repair, and everything was fine...
 
Joined
Nov 8, 2017
Messages
6
Reaction score
0
Points
1
You are not the only user who has suffered from Time Machine. For a person like me who is consistently on tours and the mails are in the POP account on my home desktop, I badly rely on my Mail backup. TM was terrible at backup, more terrible at restoring.
I got Mail Backup X later, which is paid software, but it was worth the price.
 

IWT


Joined
Jan 23, 2009
Messages
10,284
Reaction score
2,226
Points
113
Location
Born Scotland. Worked all over UK. Live in Wales
Your Mac's Specs
M2 Max Studio Extra, 32GB memory, 4TB, Sonoma 14.4.1 Apple 5K Retina Studio Monitor
Good afternoon, TheTechie.

Welcome to our Forums and thanks for your post.

I don't know whether you noticed, but this thread was last posted to 6 years ago.:)

Ian
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top