Automic VaultAutomic Vault

brew

Install gyb with Homebrew, Nix, winget

CLI for backing up and restoring Gmail messages. Version 1.95 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gyb

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#gyb

nixpkgs package indexes · pkgs/by-name/gy/gyb/package.nix · source: api.github.com

Windows

Windows Package Managerverified · 92%
winget install --id GAM-Team.GotYourBack -e

Windows Package Manager source index · GAM-Team.GotYourBack · source: cdn.winget.microsoft.com

overview

Package summary

CLI for backing up and restoring Gmail messages

Commands and aliases

  • gyb

history

Project history and usage

Got Your Back, usually called GYB, is a command-line backup and restore tool for Gmail and Google Workspace mailboxes. Its historical niche is the gap between consumer Gmail export tools, Google Workspace administration, and scriptable local mail preservation.

Project history

The GYB repository identifies the tool as maintained by Jay Lee and describes it as a command-line program for backing up Gmail messages to a local computer using Gmail's API over HTTPS. GitHub repository metadata records the public GAM-team repository as created in June 2014, and the README preserves the earlier jay0lee project links in its release and wiki references.

The project documentation grew around practical setup and recovery tasks rather than a large library API. The wiki walks users through creating a Google Cloud project, granting Gmail access, running estimates, backing up, restoring, using Gmail searches for selective backups, and supporting Google Workspace administrator scenarios.

Adoption history

GYB adoption tracks administrators and power users who need command-line control over Gmail exports and restores. The project offers Windows installers and Mac/Linux shell installation instructions, while the supplied package facts show Homebrew, Nix, and winget packages, giving it reach across the operating systems commonly used by Google Workspace administrators.

The wiki's emphasis on Gmail.com, Google Workspace, service accounts, Vault, mbox restore, selective search, and daily incremental backup patterns shows why the tool became useful beyond one-off personal backup: it could be scripted into migration, retention, and audit-adjacent workflows.

How it is used

The core usage is `gyb --email user@example.com --action backup` to download messages to a local folder, followed by restore commands that can restore to the same mailbox or a different mailbox when a backup folder is supplied. The wiki also documents estimates, label operations, mbox and EML restore, quota checks, service-account modes, and Gmail search filters for scoped backups.

GYB's command-line design is important because Gmail's web UI and Takeout workflows are not shaped for repeatable administrator automation. GYB gives package-managed environments a small executable that can sit in scripts, scheduled jobs, migration runbooks, and support procedures.

Why package nerds care

GYB is a package-nerd kind of productivity tool: thin, scriptable, API-backed, and valuable precisely because it turns a cloud service workflow into a reproducible local command. It also brings the usual packaging concerns for OAuth-era CLIs, including installers, Python/runtime expectations, local backup folders, and user-provided Google credentials.

Its relationship to the GAM ecosystem matters because GAM is a well-known Google Workspace administration CLI. GYB is not just another mail downloader; it is part of a cluster of tools used by admins who prefer shellable workflows for Google services.

Timeline

  • 2014: The public GAM-team GitHub repository was created.
  • 2010s: GYB documentation centered on Gmail API over HTTPS backups, local restore, and Google Groups support.
  • 2020s: The wiki documented Google Workspace naming, Google Cloud project setup, service-account options, Vault, mbox and EML restore, and selective Gmail-search backups.
  • 2020s: Package-manager coverage included Homebrew, Nix, and winget according to the supplied package facts.

Related projects

  • GYB is related to GAM and the broader GAM-team Google Workspace administration ecosystem. It also overlaps with Google Takeout, Google Vault exports, Gmail API tooling, mbox/EML mail utilities, and administrator migration scripts.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gybcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.95
manager updated
local dataok
upstreamcurrent
latest detectedv1.95

https://github.com/GAM-team/got-your-back

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:gyb
Version1.95
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gyb
Homepagehttps://github.com/GAM-team/got-your-back/
Repositoryhttps://github.com/GAM-team/got-your-back
Upstream docshttps://github.com/GAM-team/got-your-back#readme
LicenseApache-2.0
Source archivehttps://github.com/GAM-team/got-your-back/archive/refs/tags/v1.95.tar.gz
Dependenciescertifi, python@3.14
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsDefault config_folder: $HOMEBREW_PREFIX/etc/gyb

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegyb
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

gyb

nix profile install nixpkgs#gyb
  • normalized package name match
  • Matched by: Gyb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gy/gyb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget95%

GAM-Team.GotYourBack

winget install --id GAM-Team.GotYourBack -e
  • normalized package name match
  • Matched by: Gyb
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: GAM-Team.GotYourBack from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment