Restore User Backups to Group Email

31 views
Skip to first unread message

Abayomi Ibrahim

unread,
May 28, 2024, 7:06:29 AMMay 28
to Got Your Back: Gmail Backup
Hello Everyone,

I'm trying to restore email backups from my MAC to a group email address.

I have successfully backed up the user email using this command:

Users/User/bin/gyb/gyb --service-account --email us...@domain.com --action backup

This doesn't work for me "gyb --service-account --email us...@domain.com --action backup" , I have to specify the full path in terminal.

Now my challenge is restoring the mail backup to a group, I have tried the below command but returned error:

Command:

gyb —service-account —email us...@domain.com --action restore-group --service-account --local-folder /Users/User/GYB-GMail-...@domain.com

Error:

usage: gyb [--email EMAIL]

           [--action {backup,backup-chat,restore,restore-group,restore-mbox,count,purge,purge-labels,print-labels,estimate,quota,reindex,revoke,split-mbox,create-project,delete-projects,check-service-account,create-label}]

           [--search GMAIL_SEARCH] [--local-folder LOCAL_FOLDER] [--label-restored LABEL_RESTORED] [--label-prefix LABEL_PREFIX] [--strip-labels] [--vault] [--service-account]

           [--use-admin USE_ADMIN] [--spam-trash] [--batch-size {1 - 100}] [--noresume] [--fast-incremental] [--debug] [--memory-limit MEMORY_LIMIT] [--tls-min-version {TLSv1_2,TLSv1_3}]

           [--tls-max-version {TLSv1_2,TLSv1_3}] [--ca-file CA_FILE] [--extra-reserved-labels EXTRA_RESERVED_LABELS [EXTRA_RESERVED_LABELS ...]]

           [--extra-system-labels EXTRA_SYSTEM_LABELS [EXTRA_SYSTEM_LABELS ...]] [--config-folder CONFIG_FOLDER] [--cleanup] [--cleanup-date CLEANUP_DATE] [--cleanup-from CLEANUP_FROM]

           [--version] [--short-version] [--help]

gyb: error: unrecognized arguments: --email us...@domain.com --action restore-group

Kindly help with the right command or link thanks.

Abayomi Ibrahim

unread,
May 29, 2024, 9:02:52 AMMay 29
to Got Your Back: Gmail Backup
Hey guys,

i found a working command incase someone else runs into this:

/Users/User/bin/gyb/gyb --action restore-group --email gr...@domain.com --service-account --use-admin ad...@domain.com --local-folder GYB-GMail-Backup-us...@domain.com


Regards,

Jonathan Ascencio

unread,
May 30, 2024, 3:05:41 PMMay 30
to Got Your Back: Gmail Backup
Have you been able to successfully convert mailboxes to groups with this?
I noticed the same thing - need to specify the full path vs GYP...which sucks tbh

Abayomi Ibrahim

unread,
Jun 4, 2024, 7:08:55 AMJun 4
to Got Your Back: Gmail Backup
Hi Jonathan,

I manually created the groups then restored the backed up data using the above command.

As for the command, I still have to specify the full path :) 

Reply all
Reply to author
Forward
0 new messages