Got Your Back

General Info

GYB is not commands for GAM but runs in a similar way. It can be installed in the same Google Cloud Project as GAM. Infact, even if a new project is started, the GYB commands can be run in the GAM project and vice cersa.

Installation

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

Run the following command and follow the onscreen instructions.

bash <(curl -s -S -L https://git.io/gyb-install)

Upgrade

bash <(curl -s -S -L https://git.io/gyb-install) -l

Wiki

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

Google Group

https://groups.google.com/forum/#!forum/got-your-back

Backup

User Authentication

For this to work you will need to run this command and authorize as the user account being backed up. Use the Service Account option if you do not know the users password. See this page for details of this, you will need to have already installed GAM.

gyb --email your.email@domain.com --action backup

Using the Service Account

gyb --email user.account@domain.com --service-account --action backup

Restore

Restore to a User

gyb --email <New User Email Address> --action restore --local-folder "<Path/To/Backup>/GYB-GMail-Backup-<User Email Address>"

Restore to a Group

gyb --email <Group Email Address> --action restore-group --local-folder "GYB-GMail-Backup-<User Email Address>" --use-admin <Admin User Email>

Search

Search for an Email address for a User

Not tried yet.

gyb --email inbox@domain.com --service-account --search "to:alias@domain.com"