Skip to content

Instantly share code, notes, and snippets.

@tkafka
Created January 21, 2022 12:31
Show Gist options
  • Save tkafka/165d0dd3b3a7b1016aeb824a56c179fe to your computer and use it in GitHub Desktop.
Save tkafka/165d0dd3b3a7b1016aeb824a56c179fe to your computer and use it in GitHub Desktop.
Migrate emails from Google Workspace/G suite legacy to free gmail account with https://github.com/jay0lee/got-your-back
# backup from g suite
~/bin/gyb/gyb --action create-project --email youremail@yourdomain.com
~/bin/gyb/gyb --email youremail@yourdomain.com --action backup
# now delete (or preferrably backup) two secrets file in ~/bin/gyb because they contain login for G suite, and GYB is primarily meant for migration between two accounts in a same workspace - see https://github.com/GAM-team/got-your-back/issues/274
# and restore to freemail account
~/bin/gyb/gyb --action create-project --email yourfreeemail@gmail.com
~/bin/gyb/gyb --email yourfreeemail@gmail.com --action restore --local-folder ~/GYB-GMail-Backup-youremail@yourdomain.com --label-restored "Migration"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment