Backup non-gmail inbox and restore to google group

47 views
Skip to first unread message

Timothy Pfeifer

unread,
Jan 28, 2026, 2:36:56 PMJan 28
to Got Your Back: Gmail Backup
Hi all,

Here's the task:

Backup Source = non-google inbox. Can be accessed by IMAP

Restore Destination = google group

I know gyb can handle the restoration into a Google Group. Is there a format I can perform the backup into which would be compatible?

Thanks!

Dan Casmas

unread,
Jan 29, 2026, 10:34:09 AMJan 29
to got-yo...@googlegroups.com
assuming the Google group exists
gyb --email $DestinationEmailAddress --action restore-group --local-folder $RestoreFolder --service-account --batch-size 4 --strip-labels --use-admin $GoogleSuperAdmin

The downside of this is there is a size limit to what a group will take. if you have an email over a certain size it will error, be skipped and continued. 

--
--
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 visit https://groups.google.com/d/msgid/got-your-back/02dddc74-fa46-4445-84ea-d1bb2ef7fbf8n%40googlegroups.com.


--
Dan Casmas
SONOS | Senior Systems Engineer
Dan.C...@Sonos.com | Pronouns: he/him/his
Scheduled PTO: November 24 – December 2, 2025. Returning the morning of December 3, 2025.

Dan Casmas

unread,
Jan 29, 2026, 10:35:02 AMJan 29
to got-yo...@googlegroups.com
you can ignore the batch size  --batch-size 4 and you decide if you want labels if so delete  --strip-labels

Chris Tasker

unread,
Mar 16, 2026, 3:24:21 PMMar 16
to Got Your Back: Gmail Backup
Hey Timothy,

I've been doing exactly this.

My work around has been to use the Gmail Data import tool to import from IMAP to Gmail then Gmail to Group.

Hopefully this helps

Chris

Reply all
Reply to author
Forward
0 new messages