unable to import mail to Google groups (404: not found)

322 views
Skip to first unread message

Danilo Aquino

unread,
Sep 20, 2022, 9:54:48 PM9/20/22
to Got Your Back: Gmail Backup
Hello,
I'm trying to convert some user mailbox to google groups. i've installed the GYB and them i ran the follow command:
gyb --email us...@domain.com --action backup

gyb.exe --action restore-group --email gr...@domain.com --service-account --use-admin gyb-p...@iam.gserviceaccount.com --local-folder GYB-GMail-...@domain.com

The GYB recognized all  the mails stored, but none of them import to my Google Groups, showing the follow error below:

Groups supports restore of messages up to 26214400
restoring message 1 of 4 from 2022-09-20 15:02:06
404: Not Found - notFound
 - Giving up.
restoring message 2 of 4 from 2022-09-20 14:49:28
404: Not Found - notFound
 - Giving up.
restoring message 3 of 4 from 2022-09-06 12:27:01
404: Not Found - notFound
 - Giving up.
restoring message 4 of 4 from 2022-09-05 14:00:09
404: Not Found - notFound
 - Giving up.

What's the cause of this?
Thanks in advance

Jay Lee

unread,
Sep 20, 2022, 10:04:49 PM9/20/22
to Got Your Back: Gmail Backup
Make sure you have Google groups for business service enabled and that you have the group email address exactly right.

Jay

--
--
You received this message because you are subscribed to the Google
Groups "Got Your Back: Gmail Backup" group.
To post to this group, send email to got-yo...@googlegroups.com
To unsubscribe from this group, send email to
got-your-bac...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/got-your-back?hl=en?hl=en

---
You received this message because you are subscribed to the Google Groups "Got Your Back: Gmail Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to got-your-bac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/got-your-back/bc611ad4-1528-495e-a5bf-31261d9b303cn%40googlegroups.com.

Danilo Aquino

unread,
Sep 21, 2022, 8:14:27 AM9/21/22
to Got Your Back: Gmail Backup
Thank you for your answer.

The Groups for Business feature is enabled for everyone.
I've enabled the "collaborative inbox" and "conversation history" on the group settings as well.
I've setup the Backup Folder's ACL to modify to "everyone" for Read and Execute.
I've setup "who can post" and many others settings for entire organization

Applying all of this above, it doesn't work.

Jay Lee

unread,
Sep 21, 2022, 8:16:31 AM9/21/22
to Got Your Back: Gmail Backup
The value for --use-admin should be a super admin in your domain, not the service account email.

Jay

Danilo Aquino

unread,
Sep 21, 2022, 11:25:56 AM9/21/22
to Got Your Back: Gmail Backup
Thank you Jay,

i've add the super admin to consent the GYB, and now i'm allowed to restore the email to group.

Thank you for your help,
Best regards

Thaddeus Fernandes

unread,
Apr 18, 2023, 9:40:21 AM4/18/23
to Got Your Back: Gmail Backup
Hi Danilo, 
I have a user mailbox and would like to restore it to google groups. tried hard finding a solution but couldnt find anything. 
can you please help me. 

jre...@challiance.org

unread,
Apr 18, 2023, 10:26:13 AM4/18/23
to Got Your Back: Gmail Backup
Here are some notes I have, they aren't terribly new and things change, but it seems right to me. I've archived lots of Gmail accounts to Groups.
(some things, like the specific Group settings, may not actually be needed)

Migrating a shared Gmail mailbox to a Google Group
# *Had to enable Groups Migration API on the GYB GCP project for this to work
# Export the mailbox in question to a local sqlite dump:      (a GYB update awhile back made this work for .mbox files too, i.e. Google Vault exports can work just as well, see note below)
gyb --email gmail-...@domain.org --service-account
# Make sure the destination group has the following settings configured:
#    -All users set to receive 'No Email'
#    -Set group message to archive. May be easiest to set the group as a collaborative inbox template
#    -In some cases, allow public posting
# Import the local sqlite dump/.mbox to the Group in question:
gyb --action restore-group --service-account --use-admin admin-...@domain.org --email destinat...@domain.org --local-folder GYB-GMail-Backu...@domain.org
(after an update awhile back this now works for .mbox files too, just put them in the local folder)

Good luck,
Z

Reply all
Reply to author
Forward
0 new messages