3 ms·
Ask HN: How to backup emails?
Hello.
I have a university email that works with an old webmail interface and I would like to back it up. Basically all the mails and attachments.
Also, what about gmail? Is it possible to back that up?
Most importantly, how do I back these up? What do I store them as? In a db? In text files? How do I export everything from the original place to the storage format?
Thank you.
- stevekemp 8y agoThere are tools such as imapsync, mailsync, etc, which are very useful if you're backing up a remote host which runs IMAP. I've certainly exported/synced from gmail, gmx, and similar commercial providers to local Maildir archives.
- jolmg 8y agoI use mbsync (aka isync).
- pvinis 8y agoThank you both! I will look into them.
- shaunpud 8y agoI've been using Gmvault http://gmvault.org http://gmvault.org for years to back up my Gmail, works great!
- dustinmr 8y agoI’ve had good luck using https://github.com/jay0lee/got-your-back https://github.com/jay0lee/got-your-back to backup gmail.
- howlett 8y agoI use getmail (http://pyropus.ca/software/getmail/ http://pyropus.ca/software/getmail/) which isn't bound to a specific provider. Currently I backup my gmail and fastmail accounts using this. Here is my daily process: - mount truecrypt container - run getmail for each account I want to backup (separate .conf files) - unmount container - sync offsite to rsync.net All of this runs on my raspberry pi 2 and it's really easy to setup (it's practically a bash file with 4 commands). The output is an mbox file which you can import into Thunderbird or any other client that supports them.