Hacker GitHub

← All repos

GAM-team/got-your-back

View on GitHub ↗ ★ 3,142 Python

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.

32 mentions on Hacker News by 24 people: 1 story, 31 comments · first 2016-11-18 · latest 2025-12-31

Mentions per year 32 mentions · busiest year 2020 (7)
20082026
  1. …Gmail account as .eml files. This seems to be the easiest and most straightforward way for me. [0] https://github.com/GAM-team/got-your-back
    comment by Cockbrand · 2025-12-31 · in Incremental Backups of Gmail Takeouts
  2. https://github.com/GAM-team/got-your-back - Open source - Resume (so backups/restores will eventually complete) Honorable mention: https://www.mailstore.com/en/products/mailstore-home/ - Not open source - GUI with index: nice for searching…
    comment by Leftium · 2025-05-10 · in Gmail to SQLite
  3. …restore. - However, it has a simple UI that allows you to search/view your emails. [GYB]: https://github.com/GAM-team/got-your-back/wiki [MailStore]: https://www.mailstore.com/en/products/mailstore-home/
  4. I use https://github.com/GAM-team/got-your-back for gmail
    comment by rectalogic · 2024-12-21 · in Ask HN: Do you backup your Emails?
  5. This is why I export my emails to my laptop on a regular basis with GYB ( https://github.com/GAM-team/got-your-back ) even though I am a paying Google for Business customer. The real controversy here however is the dependency on a US phone…
    comment by kylehotchkiss · 2024-11-07 · in Google banned me from Google Voice
  6. …but if you just care about backing up email within a Google Workspace, check out Got Your Back: https://github.com/GAM-team/got-your-back It is, I believe, written by a Google employee. It's a really great CLI tool that allows you to dump…
    comment by trog · 2024-06-17 · in Why Google Takeout is sooo bad
  7. …switched to GYB (which can resume and successfully restored/transferred nearly all of the emails): https://github.com/GAM-team/got-your-back [1]: https://www.mailstore.com/en/products/mailstore-home/
    comment by Leftium · 2024-03-20 · in Ask HN: How do you handle mbox files?
  8. …[3]: https://jhart99.com/cloudflare-outbound-email/#outbound-emai... [4]: https://github.com/GAM-team/got-your-back
    comment by pixelmonkey · 2022-12-24 · in Ask HN: Do You Host Your Own Email?
  9. …I had to use mbsync with IMAP (gmvault does not work anymore with Python 3, and I didn't try yet https://github.com/GAM-team/got-your-back ).
  10. This is better for Gmail backups. https://github.com/GAM-team/got-your-back
  11. …You can also import into other email services, although that route has more rough edges. [1]: https://github.com/GAM-team/got-your-back
  12. There's also a fantastic tool by Jay Lee that will do it in an automated fashion https://github.com/jay0lee/got-your-back
  13. I suggest using https://github.com/jay0lee/got-your-back for gmail. It works better because it can copy rules, labels, stars, etc.
  14. …and by the time this (or whatever solution you want) is ready for an import, you'll be done. 0. https://github.com/jay0lee/got-your-back
  15. https://github.com/jay0lee/got-your-back Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
  16. This is what I use. https://github.com/jay0lee/got-your-back
  17. …do drive as well... This works for email and says it will let you upload to another account. https://github.com/jay0lee/got-your-back
  18. …run via a cron job and backup files to a local folder. I also use this to backup my gmail account: https://github.com/jay0lee/got-your-back I store these on a local OpenSuse box I use as a NAS. It has a local drive, with a 2nd drive that…
  19. 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.
    comment by 7ewis · 2020-06-04 · in IMAP Email Backup
  20. Sorry, I meant GYB: https://github.com/jay0lee/got-your-back
    comment by Daegalus · 2020-04-12 · in Moving Away from Gmail
  21. They do have another API that is REST. At least one gmail backup tool is already using it ... https://github.com/jay0lee/got-your-back/wiki
    comment by selfishgene · 2020-01-28 · in Thunderbird’s New Home
  22. …their own API project. GYB has such functionality built-in since 1.20, see the release notes: https://github.com/jay0lee/got-your-back/releases/tag/v1.20 For gmvault, you have to create it manually: https://github.com/gaubert/gmvault/issues…
  23. Does anyone know if this will have any impact on Gmail backup tools such as: https://github.com/jay0lee/got-your-back Or the long term sustainability of such projects? I've found gmail's own data export tools to not work at all for any…
  24. Seems to be the same issue for Gmail backup tools, eg: https://github.com/jay0lee/got-your-back/issues/195 Frustrating, given Google's own takeout tool doesn't work on larger inboxes! This is basically going to destroy the tools that were…
  25. …backups of the archive to Backblaze B2 to add yet another storage location and version index. [0] https://github.com/jay0lee/got-your-back/wiki [1] https://restic.net
  26. I’ve had good luck using https://github.com/jay0lee/got-your-back to backup gmail.
    comment by dustinmr · 2018-12-11 · in Ask HN: How to backup emails?
  27. …open source backup tool in Python that can be easily run as a cron job and backs up all your email. https://github.com/jay0lee/got-your-back Also, Google Takeout has a full MBox export of your GMail account that may be worth running…
    comment by pixelmonkey · 2018-08-05 · in G Suite Horror Story
  28. Better the document than the account! Anyone know of a Google Drive equivalent for https://github.com/jay0lee/got-your-back/wiki , which implements backup and restore for GMail? Closest I could find was https://github.com/odeke-em/drive ,…
  29. …source utilities to work with the data, but most are one-offs. Here's one that didn't appear to be: https://github.com/jay0lee/got-your-back/wiki
  30. GYB does that, too: https://github.com/jay0lee/got-your-back/wiki#selective-back...
  31. I have been using both GYB ( https://github.com/jay0lee/got-your-back ) and mbsync ( http://isync.sourceforge.net/mbsync.html ) for this. How is gmvault better/different?