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. Publish the project so everyone can use it.Add your e-mail address to the test (under the option of "Users"). The project is in a test mode by default though, so your alternatives are: Important note: If you don't use Google Workspace, Google forces your project to be "External" i.e. They'll help you create a Google Cloud project. All Macs and most Linux installs should include Python 3 but if not, you may need to research how to install it on your OS/Distribution. Gyb -action create-project -email and Linux Users: If you get an error about python not being a valid program, make sure you have the Python 3 interpreter installed on your machine. The command to change directories looks like: Now change to the directory where you extracted GYB. dialog on the start menu and typing CMD then enter. Mac and Linux Usersīash Programs -> Accessories -> Command Prompt or by opening the Run. Install the MSI and you'll be prompted to setup GYB. GYB works with and Google Workspace (formerly G Suite / Google Apps) accounts. This page provides simple instructions for downloading, installing and starting to use GYB. Got Your Back (GYB) is a command line tool that backs up and restores your Gmail account.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |