GAM-team / 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.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.56k stars 203 forks source link

restore-group restoring to user instead of group #395

Open benjaminpwarren opened 1 year ago

benjaminpwarren commented 1 year ago

Please confirm the following:

Full steps to reproduce the issue:

  1. gyb --email info@example.com.au --action restore-group --local-folder ./info_old_export/testing/ --service-account --use-admin ben@example.com.au

Expected outcome (what are you trying to do?):

Trying to restore from .mbox(s) to a Google Group.

Actual outcome (what errors or bad behavior do you see instead?):

The command executes successfully, but the messages appear in ben@example.com.au instead of info@example.com.au - nothing appears in info@example.com.au.

One thing I'm not sure about - the wiki says "Archiving for the group should be enabled" - what is this referring to? Also, are there particular settings that should/shouldn't be enabled for a Group e.g. "Collaborative inbox" vs "No additional features" etc?