The Dopefly Tech Blog

« The Dopefly Tech Blog Main page

No, Thunderbird did not just delete all your email.

posted under category: General on June 15, 2007 by Nathan

I just had a minor freak-out because it looked like Mozilla Thunderbird (my email client of choice) just deleted a ton of email. Years worth. I was moving it to an archive folder, and when I went to check the folder, it was all gone. Just a handful of emails were left. They weren't in my inbox! They weren't in my archive folder!

I left and checked the file system. The new archive folder files were 50 MB, the old inbox was still 150 MB. Something wasn't right.

My next thought was that I didn't have a backup. This is the one place I've found Windows Vista (hey, I got it for free) to shine - Shadow Copy. It's like a constantly running backup on the same disk that reminds me a lot of Eclipse's local file version archiving. I restored my mail folder back a couple days and expected everything to be peachy. Guess what? Nothing changed.

My inbox was noticeably a couple days older, but my older mail was still gone. Ok, this is getting weird. I re-restored to my current-date inbox.

After poking around a minute in the Thunderbird interface, I found the Rebuild Index button, conveniently located on the folder's properties window (right-click on a folder, properties, Rebuild Index button). It took a few seconds and suddenly everything was back.

No, Thunderbird did not just eat all my email. It was still there, safe and sound, but boy did that give me a scare.

Nathan is a software developer at The Boeing Company in Charleston, SC. He is essentially a big programming nerd. Really, you could say that makes him a nerd among nerds. Aside from making software for the web, he plays with tech toys and likes to think about programming's big picture while speaking at conferences and generally impressing people with massive nerdiness and straight-faced sarcastic humor. Nathan got his programming start writing batch files in DOS. It should go without saying, but these thought and opinions have nothing to do with Boeing in any way.
This blog is also available as an RSS 2.0 feed. Click your heels together and click here to contact Nathan.