Live data from Hacker News

IMAP Email Backup

smalldata.tech

61–70 of 82 posts

Re: IMAP Email Backup

#61

I never was able to backup emails from gmail successfully ~ 10GB of mails right now. Everytime it fails somewhere in between because of reasons mentioned by various people elsewhere in this thread. Every year I try and fail. This year with the comments herein I again tried and get invalid credentials error with my Gmail. 1) Used mutt/getmail/python script ( password is correct verified it ) 2) Even changed password a…

I've found GYB works quite well:

https://github.com/jay0lee/got-your-back

It's created by the developer of GAM - a popular tool you may have heard of, for managing G Suite.

Re: IMAP Email Backup

#62
post #57

Earlier quoted context omitted.

> Luckily I didn't wait for the last day to start downloading my emails. And also luckily, your company didn't sue you or try to have you arrested for extracting 18+ GB of company property.

That is also 18+ gb of my life.

wait, you use work email for personal stuff??

Re: IMAP Email Backup

#63
post #3

Recommend IMAPSync: https://imapsync.lamiral.info/ Have used it at pretty massive scale and it handles a hell of a lot of different options.

Another happy user of imapsync. The best thing IMO is that you can stop/get disconnected for some reason and it will effectively SYNC, without having to praise just to complete without errors

Re: IMAP Email Backup

#64

I never was able to backup emails from gmail successfully ~ 10GB of mails right now. Everytime it fails somewhere in between because of reasons mentioned by various people elsewhere in this thread. Every year I try and fail. This year with the comments herein I again tried and get invalid credentials error with my Gmail. 1) Used mutt/getmail/python script ( password is correct verified it ) 2) Even changed password a…

Look for imapsync on other comments

Re: IMAP Email Backup

#65

I was in a similar situation a few years ago and decided to build an app for that: https://thehorcrux.com My goal is to make it simple enough for my grandpa to use it. However, I'm still not there yet. Let me know what you guys think.

just a bit of website critique. your menu wraps on my 1920x1080 screen.

Contact wraps to the next line

Re: IMAP Email Backup

#66
For me there's really no need to specifically backup my email. Instead, my IMAP client is configured to download all messages and attachments to local disk, and regular disk backups should take care of that.

Re: IMAP Email Backup

#67
post #20

Reminder: You likely don't need your email provider to store years and years of old emails. Download them locally, then remove them from the service provider. https://en.wikipedia.org/wiki/Third-party_doctrine Thanks to the third-party doctrine, messages stored on the provider can be disclosed to the government without a warrant. Your emails have contact history, location histories, attachments, plans, all sorts of s…

Honestly, I'm a real proponent of keeping a clean digital life. I practice 0 inbox, aggressively delete old documents, photos on a regular basis. If I haven't touched anything in a few years, the chances that I'm going to need it later on down the line are slim and so off they go. Important documents like tax info etc, are obviously kept for the minimum legal period but then again they don't take up all that much spa…

Depends what means old document. My 8 years old induction stove glass surface broke by accident and I got full price money back from my home insurance. They were ok with photos of the device and pdf purchase receipt from my email archive.

Re: IMAP Email Backup

#69
post #56

Hello there, I've maintained https://github.com/rcarmo/imapbackup since 2013 (and used early versions of it for years before that), so feel free to try it out and see if it fits your use case (mine was snapshotting existing IMAP mailboxes into mbox format, which was what we could use for migrating mailboxes across systems then, and also fit my personal use case for backups).

Thanks so much for crafting and maintaining imapbackup, Rui! It worked a treat in backing up tens of thousands of messages that Mail.app refused to archive properly.

The feature set is likely to appeal to many HN users:

* ZERO dependencies. (other than Python 2.5 or higher)

* Copies every single message from every single folder (or a subset of folders) in your IMAP server to your disk.

* Does incremental copying (i.e., tries very hard to not copy messages twice).

* Tries to do everything as safely as possible (only performs read operations on IMAP).

* Generates mbox formatted files that can be imported into Mail.app (just choose "Other" on the import dialog).

* Optionally compresses the result files on the fly (and can append to them).

* Is completely and utterly free (distributed under the MIT license).

Re: IMAP Email Backup

#70

I never was able to backup emails from gmail successfully ~ 10GB of mails right now. Everytime it fails somewhere in between because of reasons mentioned by various people elsewhere in this thread. Every year I try and fail. This year with the comments herein I again tried and get invalid credentials error with my Gmail. 1) Used mutt/getmail/python script ( password is correct verified it ) 2) Even changed password a…

> I also tried to enable less secure apps to access email option in google settings. But keep getting the Authentication error.

Turning on 2FA and using Google's "app-specific password" eliminated errors of this sort for me recently.

Post reply on HN