TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Back That Gmail Up

106 pointsby sant0sk1almost 13 years ago

16 comments

therealmost 13 years ago
<i>I'm not leery of Google shuttering its Gmail service, but I can imagine a scenario where they cut off my access to Gmail and I have no way to plead my case to the search behemoth.</i><p>I am baffled at how people continue using such a service for something as important as e-mail in 2012, while still being fully aware that their access can be completely cut off at random with no reason or recourse. Does everyone just assume "it won't happen to me"?
评论 #4030990 未加载
评论 #4030340 未加载
评论 #4030323 未加载
评论 #4031073 未加载
评论 #4030382 未加载
评论 #4031065 未加载
评论 #4030388 未加载
评论 #4030366 未加载
评论 #4032461 未加载
masnickalmost 13 years ago
Instead of putting the password in as a plaintext argument, you can store it in the OS X keychain and access it with the command described here: <a href="http://www.maclovin.de/2010/02/access-os-x-keychain-from-terminal/" rel="nofollow">http://www.maclovin.de/2010/02/access-os-x-keychain-from-ter...</a><p>I use this in my .zshrc to create Bitbucket repos on the fly:<p><pre><code> function bitbucket() { curl -X POST -u masnick:`security 2&#62;&#38;1 &#62;/dev/null find-internet-password -gs masnick.bitbucket.org | cut -d '"' -f 2` https://api.bitbucket.org/1.0/repositories/ -d name=$@ -d scm=git -d is_private=True }; </code></pre> (Running "bitbucket newrepo" will create a new repo in my Bitbucket acct called "newrepo".)
Rudismalmost 13 years ago
Another good one is <a href="http://gmvault.org" rel="nofollow">http://gmvault.org</a>. I used this just recently to backup and transfer all of my Google Apps emails to a separate gmail account since I'm transferring my apps domain to a different provider. Going just off of what the article says about BaGoMa, Gmvault seems to be comparable in features.
评论 #4030218 未加载
评论 #4031092 未加载
stevenleegalmost 13 years ago
My main problem with this is that it would require me to store my password, in clear text, in a shell script.<p>I'm no security expert but that raises a red flag for me. I'd rather have some way of entering my password each time I want to back up, but this would also make the cron process impossible.
评论 #4030255 未加载
评论 #4030273 未加载
yurisagalovalmost 13 years ago
<a href="https://www.backupify.com/" rel="nofollow">https://www.backupify.com/</a> is a pretty good alternative as well
Camilloalmost 13 years ago
This may be a naive question, but why is it not enough to set your mail client to save a copy of all messages?
评论 #4032334 未加载
评论 #4030345 未加载
评论 #4030428 未加载
johnbraytonalmost 13 years ago
My Mac app, CloudPull, does something similar. CloudPull backs up Google Mail, Contacts, Calendars, Drive (formery Docs) and Reader to your Mac. <a href="http://www.goldenhillsoftware.com/" rel="nofollow">http://www.goldenhillsoftware.com/</a><p>CloudPull stores your password securely in the Mac OS X keychain.
评论 #4030291 未加载
评论 #4031027 未加载
andybakalmost 13 years ago
So. GMVault looks like the best solution except:<p>1. It saves one big inscrutable .db file rather than individual messages in some compatible format or other.<p>2. It doesn't seem to play nice with laptop suspend. If I'm going to run it as a scheduled task then it needs to not get confused if I shut my laptop lid in the middle of a run.<p>3. It could be clearer about the correct workflow for continual incremental backups. It sounds like you probably want to do one full backup, continual partial backups and then occasionally a full backup in case your labels have changed. I don't like choices.
评论 #4039663 未加载
sneakalmost 13 years ago
On most stock OSes, this will show your password to anyone who views the list of processes on the machine.<p>Try 'imapsync' [1] instead, as it uses a config file for your credentials instead of command-line arguments, keeping the secret(s) out of the process list.<p>Also, the author of this blog post is showing his inexperience:<p>&#62; BaGoMa's output is pretty informative so I send it to log a file in case I ever want to check up on it and make sure the backups are still working.<p>You won't ever do that (no reason to check the logs when it's working), and it will fail (effectively-silently) one day without you noticing, and then you won't have backups when you actually find that you need them. Don't do it that way.<p>Instead, use a cronjob wrapper script (e.g. [2]) that is silent on success and outputs on error, so the "cronjob-output-as-email" feature works to notify you when it breaks.<p>[1] <a href="http://imapsync.lamiral.info/" rel="nofollow">http://imapsync.lamiral.info/</a><p>[2] <a href="https://github.com/sneak/misc/blob/master/cronify/cronify" rel="nofollow">https://github.com/sneak/misc/blob/master/cronify/cronify</a>
评论 #4032086 未加载
评论 #4032321 未加载
评论 #4031331 未加载
danbmil99almost 13 years ago
"X It's hosted on SourceForge, just kidding that was weird and scary"<p>It <i>is</i> hosted on SF, and that IS weird and scary. In this day and age, why would your new cutting-edge FOSS offering be delivered on SF rather than github?
DigitalSeaalmost 13 years ago
<i>People were raving about it on a forum</i> - well I'm sold on the idea. In all serious though, if you assume that your email service will be around forever you probably shouldn't be on the Internet. Cudos to the author, I haven't really seen the point stressed enough that you should backup your email, especially on a service as large as Gmail.
jarofgreenalmost 13 years ago
I like it. Just got it going.<p>Specifically I like that it stores all your emails as plain text, one file per email, so you can easily use/write other tools to search/browse your backups if you need to. Maybe someone already has?<p>(Well, it stores the raw email contents as text. Most emails have a text/plain bit but not all, so you can almost just use grep.)
评论 #4030962 未加载
gourangaalmost 13 years ago
If you're going to go through that level of effort and you're going to have a computer on at 3am, just run your own SMTP/imap setup and back that up.<p>You'll never have to worry about getting kicked off or them going under then.<p>I've been running my own mail server for 15 years and I've probably spent a couple of hours administering it over that time.
评论 #4030775 未加载
geoffhillalmost 13 years ago
&#62; <i>"It's hosted on SourceForge, just kidding that was weird and scary"</i><p>How the world has changed...
muyuualmost 13 years ago
Does this generate some sort of "standard" mbox file? something one can open with Thunderbird or similar?<p>Probably more convenient than periodically running a POP3 client.
codyjamesalmost 13 years ago
Great idea! I need to do this!