Update your Bookmarks to https://sites.google.com/view/gam--commands/home
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.
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)
bash <(curl -s -S -L https://git.io/gyb-install) -l
https://github.com/jay0lee/got-your-back/wiki
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
gyb --email user.account@domain.com --service-account --action backup
gyb --email <New User Email Address> --action restore --local-folder "<Path/To/Backup>/GYB-GMail-Backup-<User Email Address>"
gyb --email <Group Email Address> --action restore-group --local-folder "GYB-GMail-Backup-<User Email Address>" --use-admin <Admin User Email>
Not tried yet.
gyb --email inbox@domain.com --service-account --search "to:alias@domain.com"