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.
/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,