HNHacker News
TopNewBestAskShowJobs

zoobert

458 karma · joined May 6, 2011

I am a pythonista geek. I created Gmvault a tool to backup your Gmail account. https://gmvault.org

You can contact me on twitter @zoobert or via email guillaume(dot)aubert(at)gmail(dot)com

submissionscomments
zoobert··on Ask HN: Time to give up on Qt?
@feronull @jarek-foksa. Ok thanks for the info. I agree with jarek-foksa it is still a bit tricksy and I would prefer to access the file i/o with native code. What does it means ? Do I need to build my own "file i/o" lib in c to interface with it ? Does it exist somewhere ? Would you have an example ? Many thanks
zoobert··on Ask HN: Time to give up on Qt?
@Jarred. Thanks for sharing about the CEF project. I need to build a cross-platform GUI in Python if possible and wanted to use wxWidgets with the python binding. Now CEF seems really great: The possibility to make an HTML5-Javascript App and having also the opportunity to deploy it on a web-server is really exiting. I will have to evaluate it, seems really cool. Can you access files on the file system as a normal native application or do you have to write in a dedicated sandboxed area ?
zoobert··on A Simple SqlAlchemy 0.7 / 0.8 Tutorial
SqlAlchemy is one of the best SQL abstraction library I've ever used. I loved the programmatical SQL language in python. It is very flexible and allows you to create powerful requests (left joins, ....) in python. A must use if you like python and have to use a RDBMS.
zoobert··on Back That Gmail Up
Gmvault can fail for multiple reasons, for example Gmail can cut the connection and throttle you for a while. There are also bugs left or GMail emails that cannot be downloaded (email corruption ?).

For this reason, there is a --restart option for the sync and restore mode (sync being the backup). The restart mode is a resume mode that will restart the backup or restore near from where it failed.

With that mode you should be able to download your 6 GB on disk.

zoobert··on Back That Gmail Up
I am the Gmvault developer.

1. Gmvault doesn't save all your emails in a .db file. It creates a db directory which contains sub directories containing your emails in eml format. So it is using a standard email format and allow users to access individual emails.

2. I have already closed my laptop and reopen it and Gmvault restarted from where it stopped (tried on windows). Still there might be a problem so please report it following the instructions here: http://gmvault.org/report_pb.html.

3. Regarding the workflow, the recommended mode is to do a full backup and then daily do a quick backup. The quick backup is an incremental backup that only check emails for the last two months. It takes only 2 to 3 minutes normally.

zoobert··on Back That Gmail Up
If you don't want to use the oauth token mechanism or if it doesn't work, you could also use your gmail password but it isn't recommended.
zoobert··on Gmvault: gmail backup. Liberate your emails
If the proxy let you connect to the Gmail IMAP server, I don't see why it wouldn't work
zoobert··on Gmvault: gmail backup. Liberate your emails
This is something I have in mind: Cloud save. It will be added in the roadmap. Please contact me and I will keep you in the loop. Regarding the money I am thinking of adding a donate button to support the project.
zoobert··on Gmvault: gmail backup. Liberate your emails
yes it is there for the restore operation but not for sync. It will be available in the next version (to be released in 2 weeks)
zoobert··on Gmvault: gmail backup. Liberate your emails
Thank you all for the feedback and support. It's been great and proved that a simple tool up for that task is needed by plenty of people.

If you would like to participate and help me developing Gmvault contact me on twitter at @zoobert or via email: guillaume((dot))aubert((at))gmail((dot))com

I will now work hard to finalize Gmvault and produce the first final release (available within a month).

If you would like to report some issues or would like extra features: submit them to https://github.com/gaubert/gmvault/issues

zoobert··on Gmvault: gmail backup. Liberate your emails
It is only one way: Gmail to disk. When you restore the emails to a Gmail account you will loose part of the info (labels, ....).
zoobert··on Gmvault: gmail backup. Liberate your emails
It is available on the gh-pages branch of the Gmvault github repository (https://github.com/gaubert/gmvault/tree/gh-pages). Pull it and submit your suggestions. Many thanks.
zoobert··on Gmvault: gmail backup. Liberate your emails
Awesome. Let me know if you need some support.
zoobert··on Gmvault: gmail backup. Liberate your emails
Uuuuh I think there is scale issue. This is an open source tool that I am willing to support. I do not intend to create a start-up here. Still you are right and I will reference bootstrap.
zoobert··on Gmvault: gmail backup. Liberate your emails
Thanks for the support. I am not a designer, I am not working full time on this product and my free time is quite limited. Still I spent lots of time designing the logo. I kind of like it as it is very simple and tells you what the product is. Regarding the website, yes I used bootstrap because it is convenient and give you a good modern look quickly. I am not a web designer and didn't want to spend 60% of my project time on that part. For the moment I prefer to spend more time on the tool itself.

If somebody wants to help to improve the website and the documentation please contact me.

zoobert··on Gmvault: gmail backup. Liberate your emails
mbsync is a IMAP sync tool. Gmvault is a dedicated Gmail tool so it preserves all Gmail specific attributes like the labels, ... and allow you to restore all your emails in a Gmail account. With mbsync you might be able to upload your emails on a gmail account but you would then loose lots of information and your restored gmail account would be end up being very different.
zoobert··on Gmvault: gmail backup. Liberate your emails
I will take that as a compliment. Yes files are all stored individually as .eml file. All the extra Gmail info (labels, ...) goes in .meta
zoobert··on Gmvault: gmail backup. Liberate your emails
Nop of course not. You can check the sources to be sure that Gmvault is only talking to Gmail. You can also use XOAuth (token security mechanism) to allow Gmvault accessing your account. This is by the way the recommended authentication way.
zoobert··on Gmvault: gmail backup. Liberate your emails
please gglanzani and weiran. Send me your errors or create an issue in https://github.com/gaubert/gmvault/issues I would appreciate to have the logs with the debug activated: ./gmvault sync foo.bar@gmail.com --debug
zoobert··on Gmvault: gmail backup. Liberate your emails
You use the --encrypt flag. See ./gmvault sync -h for more info
zoobert··on Gmvault: gmail backup. Liberate your emails
Well so far I've been doing many download and upload of my entire mailbox (5 GB) and the Gmail team did not contact me to tell me to slow down a bit. Sometimes (especially during the week-end ?) the connection was cut and I could had to wait to finish to restore my gmail account.
zoobert··on Gmvault: gmail backup. Liberate your emails
;-) I like that. Thanks for helping me keeping the theme right
zoobert··on Gmvault: gmail backup. Liberate your emails
Nop they are stored encrypted with a key randomly generated
zoobert··on Gmvault: gmail backup. Liberate your emails
Yes your are right. I will fix the script to look for the default python.
zoobert··on Gmvault: gmail backup. Liberate your emails
Thanks I fixed it. Sorry for the premature launch I think it was somehow a mistake (too early) but I needed a boost to be sure that I was doing something useful.
zoobert··on Gmvault: gmail backup. Liberate your emails
it is only to backup specific target labels (or imap directories). If you ever restore your Gmail account with OfflineIMAP then I think that you will loose partly this information. I would say the purpose of these tools is different.
zoobert··on Gmvault: gmail backup. Liberate your emails
Thanks for the feedback. There is a restart functionality use the --restart option (see gmvault sync -h for more info). Also note that when you restart from scratch, if the email has already been downloaded and is identical then the download is not performed. So only scanning the mailbox is faster than having downloads.

Regarding the timeout, please send me the error message you had and if it is a bug I will fix it but note that sometimes Gmail cut the connection without any reasons. There is also a retry reconnect process (up to 4 times) if it is not a fatal error (cannot recover from them).

zoobert··on Gmvault: gmail backup. Liberate your emails
At the beginning of the bash script gmvault there is a variable called GMVAULT_HOME. If instead of .. you had the full path to the gmvault-v1.0-beta dir that should work. If there are more problem could you please run it like this: $>sh -x ./gmvault sync .... and send me the console print.

I will fix that in the next version. Thanks for the feedback

zoobert··on Gmvault: gmail backup. Liberate your emails
Thanks for the feedback. I will think on how to present operation progresses (progress bar and so on with curses and so on)
zoobert··on Gmvault: gmail backup. Liberate your emails
I responded to the wrong comment. Normally it should preserve unread messages
← PreviousPage 2 of 3Next →