Restore mbox files, that you've exported from Gmail Takeout, Google Vault, GAM Email Audit Exports or any other MBOX format file you have, or EML files which are text raw data downloaded from Gmail, etc. No messages will be deleted but everything will be left unlabeled! -action quota -action reindex -action restore -action restore-mbox action purge-labelsĭANGEROUS!!! This option will delete all user labels for the mailbox. It is highly recommended to do a backup before a purge. This removes messages from Trash and Spam folders also so there is no ability to restore from the mailbox itself. Running this command without a -search parameter will EMPTY YOUR ENTIRE MAILBOX. action create-project -action create-label -action delete-projectsĭelete-projects action requires -email and a project -search argument -action estimate -action print-labels -action purgeĭANGEROUS!!! This option will completely delete messages. This ensures you are counting individual messages (not conversations) and that archived chats which are not backed up by GYB by default are not counted. Note, to compare this number to what you see in Gmail, you should turn conversation mode off in general settings and search for "-is:chat". Just count the number of messages in a user mailbox. Advanced options -action backup -action check-service-account -action count This faster backup can be used as a daily cron task, with a complete backup (without the search) as a weekly task. In other operation systems, to upgrade an existing GYB install, run: To upgrade an existing GYB install in Windows, just copy and paste the new downloaded files to overwrite their older versions. To accurately compare GYB's estimate and the Gmail inbox web page quota display, first empty your Trash and Spam folders.Ĭongratulations, you're up and running with GYB! You probably want to move on to performing a backup now. Note that GYB only estimates the size of messages in the All Mail folder, it does not check Spam or Trash although these do count against your Gmail quota displayed at the bottom of your Gmail inbox. If no errors are printed, GYB should start estimating the size of your Gmail mailbox. Once you've granted access, switch back to the command prompt window and hit enter. Make sure you are logged in to the Google account you specified before granting access. This authorization makes it possible for GYB to connect to your Google Account for Gmail data only, GYB will have no rights to any of your other Google Data. You'll need to register your app inside your Google account.Īny regular command will do it, but if you don't want to immediately backup/restore, you can use a passive verification command:Įxcept use your real email address in place of GYB will open up a web page in order for you to grant access to your Gmail account. Now you can follow the instructions from GYB's prompt. Select 'Credentials', and '+ CREATE CREDENTIAL'. Once you've completed that flow, you will find yourself at the 'APIs & Services' Dashboard. The instructions will ask you to supply Client ID and Client Secret without telling you how to find them though, so here's how: You probably would want to avoid that option.
0 Comments
Leave a Reply. |