Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Thunderbird to back up Gmail

  1. #1
    Join Date
    Dec 2008
    Beans
    121

    Thunderbird to back up Gmail

    I want to use Thunderbird to download my Gmail messages as an offline backup. I generally followed the directions at http://www.webupd8.org/2011/03/how-t...underbird.html, although some of the steps were slightly different due to the age of the post.

    But everything seemed to work. I started Thunderbird on my laptop and logged on to the email account I'd created. Thunderbird proceeded to download about 500 messages. Every time I quit and restarted Thunderbird, it would download about 500 additional messages. They were still in my Gmail. So far so good.

    When I got home, I set up Thunderbird on my desktop (so I'd have 2 backups). I assumed that it would start downloading messages from the very beginning since Thunderbird on my desktop had no idea what my laptop had been doing. However, it didn't work that way.

    It seems that my desktop started downloading messages where my laptop had left off. Apparently, the Gmail server is keeping track of my Thunderbird activity. This is a problem because I seek a single backup of all the messages in one place.

    After some study, I discovered that the messages are stored in ~/.thunderbird/hreipadj.default/Mail/pop.googlemail.com/Inbox. Inbox is an actual file (not a folder) with the messages!

    Other files in the pop.googlemail.com folder are Inbox.msf, Trash, Trash.msf, msgFilterRules.dat, and popstate.dat.

    Is there a way for me to reset Thunderbird and/or the Gmail server and start over? Now that I know how it behaves, I can just download on one computer until it finishes. Alternatively, is there an easy way (or even a hard way) to merge the two Thunderbird inbox files, so that I will have a backup with all my Gmail messages together?

  2. #2
    Join Date
    Apr 2006
    Location
    Ubuntuland
    Beans
    2,124
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Thunderbird to back up Gmail

    It sounds like you're using POP. You should switch to IMAP.
    24 beers in a case, 24 hours in a day. Coincidence? I think not!

    Trusty Tahr 64 bit, AMD Phenom II 955 Quad Core 3.2GHz, GeForce 9600 GT
    16G PC2-6400 RAM, 128 GB SSD, Twin 1TB SATA 7200 RPM RAID0

  3. #3
    Join Date
    Dec 2008
    Beans
    121

    Re: Thunderbird to back up Gmail

    Thanks for the quick reply but I need more detail than that. It's uber-critical that the messages remain on the Gmail server. I'm not just going to start changing things around willy nilly following suggestions offered without any explanation.

  4. #4
    Join Date
    Apr 2006
    Location
    Ubuntuland
    Beans
    2,124
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Thunderbird to back up Gmail

    Calm down....

    IMAP is not going to run away with your computer. IMAP simply allows you to view and manage email that is on the server. It is much more capable than POP. POP is rather ignorant of messages on the server and that is why it much use "message ID #'s" to remember where it left off.

    The Thunderbird client has settings that allow you do decide when messages get deleted from the server and when the body of the message get downloaded. YOU decide how that works.

    You just have to enable IMAP from the Gmail settings (in the same screen that you used to enable POP).

    Enjoy...

    P.S. I just switched my linux desktop from POP to IMAP for Gmail just yesterday.
    Last edited by Slim Odds; March 20th, 2013 at 12:33 AM. Reason: more info
    24 beers in a case, 24 hours in a day. Coincidence? I think not!

    Trusty Tahr 64 bit, AMD Phenom II 955 Quad Core 3.2GHz, GeForce 9600 GT
    16G PC2-6400 RAM, 128 GB SSD, Twin 1TB SATA 7200 RPM RAID0

  5. #5
    Join Date
    Dec 2008
    Beans
    121

    Re: Thunderbird to back up Gmail

    OK, OK. I'm calm. But I researched this issue of using Thunderbird to back up Gmail, and I came across multiple instances of people who accidentally lost all their Gmail messages and couldn't get them back. I really can't afford for that to happen to me. I will study IMAP vs POP some more. Right now, they're little more than two acronyms (that I don't even know what they stand for).

    Thank you for your suggestion.
    Last edited by parminides; March 20th, 2013 at 12:38 AM. Reason: grammatical error

  6. #6
    Join Date
    Apr 2007
    Location
    Out in Left Field
    Beans
    1,167
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Thunderbird to back up Gmail

    I am not sure if this will help, but I set Gmail so any messages received are also forwarded to my Thunderbird account. It is in Gmail Settings/(Forwarding and POP/IMAP). This will not back up your Gmail archive but will work for future mail coming to Gmail. You could probably set up a folder in Thunderbird that receives all Gmail emails and only Gmail emals
    MB: Asrock Extreme4-M CPU: Intel(R) Core(TM) i7-3770K CPU @3.50GHz Memory: Corsair Low Profile Vengeance 16.00 GB. GC On CPU HD4000 Platform: x86_64 Distribution:

  7. #7
    Join Date
    Jul 2008
    Location
    Vermont, USA
    Beans
    61
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Thunderbird to back up Gmail

    For "Archive" sync, check under Account settings > Copies & folders > Message archives >

    make sure that Keep message archives in... is checked. This works for my Gmail/Thunderbird on 12.10.

  8. #8
    Join Date
    May 2009
    Location
    Oregon, USA
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Thunderbird to back up Gmail

    I think that what is causing the confusion is that the link described calls for creating a forwarding account for gmail. That would be the POP. It would allow for any gmail(which is IMAP) to also be forwarded to the created Thunderbird POP account.

    If you allow Thundrbird to download gmail as an IMAP account, you would have mail physically on your computer. All that is required is to set up the gmail account as an IMAP in Thunderbird and set it to keep all mail. In Thunderbird settings for account settings, under synchronization and storage, be sure "don't delete any messages" is checked. So it would not matter from which computer you used, both the desktop and laptop would download the same messages.

  9. #9
    Join Date
    Feb 2013
    Beans
    801
    Distro
    Ubuntu

    Post Re: Thunderbird to back up Gmail

    I strongly suggest that you consider Gmail's IMAP. I use Gmail to consolidate 3 email accounts (yahoo, my isp, and gmail).
    Additionally I use Google Calendar so all my email and calendar info is available via web access from any PC I choose to use since the email is stored on the server.
    Once you come to grips with IMAP you may designate certain folders to be available off line and available in Thunderbird.
    Calendar is an option in Thunderbird, however it is not available off line.

    One additional advantage is that my iPhone can access all the email and is synched with my Google Calendar and contacts. If this sound interesting check out this link

  10. #10
    Join Date
    Nov 2011
    Beans
    9

    Re: Thunderbird to back up Gmail

    I also use thunderbird and POP3 to backup my email. Gmail remembers which emails have been downloaded via pop3 so that they will not be downloaded again. Here is how to reset this and start over, making all the email downloadable again.

    Go to your GMail settings
    Choose "Forwarding and POP/IMAP".
    In the "POP Download" section, under "1. Status", select the radio button labelled "Enable POP for all mail (even mail that's already been downloaded)"

    If you don't want your email deleted from GMail after download, make sure that the "2. When messages are accessed with POP" is set to "Keep Mail's copy in the inbox"

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •