5 ms·
How do you backup your email to your home server? Is it just an mbox dump via takeout on a cron schedule? How would you restore it in the case of leaving Google
by tesmar2 10y ago
How do you backup your email to your home server? Is it just an mbox dump via takeout on a cron schedule? How would you restore it in the case of leaving Google?
- dhruvkar 10y agohttp://gmvault.org http://gmvault.org Just used this to backup my inbox the other day. Compresses emails into .eml.gz files. Also has an export option for other mail clients. Love that its a Python package, Installable through pip.
- tedmiston 10y agoIs Gmvault as complete as doing a Gmail dump from Google Takeout?
- dhruvkar 10y agoOnly brief experiences with both gmvault.org and Takeout, so take this with a grain of salt. Gmvault gets chats as well (I'm assuming hangout chats also). A pro I see, is with gmvault you can restore the backup to another Gmail account, right from the terminal. Takeout stores chats separately, not in the mbox file. To restore from Takeout, you need to add the mailbox to Thunderbird (or some 3rd party email client), add the account you want to restore to, and then drag and drop emails between them. Not ideal.
- tesmar2 10y agoExcellent! So you just put this into a cron job and it does incremental backups?
- dhruvkar 10y agoI've only used it once. According to the docs, you should be able to do a "quick sync" which only gets the last 7 days. Set up a cron job for that (after a full initial sync), and should be good to go.
- devinegan 10y agoAn option for this is offlineimap.
- tesmar2 10y agoHave you used that for backing up a Google Apps/ Gmail account? If so, did you just throw it in a cronjob?