How to Configure Google Drive as a Backup Additional Destination May 25, 2021 htshosting Post in Technology If you are looking for information regarding configuring your Google Drive account to set it up as an Additional Destination in the Backup Configuration interface in WHM, then you have arrived at the right place. Let us provide you all the necessary information that will help you to conveniently and successfully carry out this task. Setting up Your Google Account’s Google Drive API One important thing to mention before proceeding further is that if you want to create a Google Drive account, you need to visit the “Create you Google Account” page on Google. Configuring the Google Drive API You need to follow the below-mentioned steps in order to configure the Google Drive API for your Google account. Visit the website fgor Google API Manager n Click Library, that is present in the left navigation bar Click GoogleDrive API, that is present under the G Suite heading Click Create Project Click Create At this stage, you will find that a new menu has appeared. If the new menu does not appear, then follow the below-mentioned steps. Click Credentials, that is present in the left navigation bar Click Create Now, you can carry on with the rest of the steps Enter the new project name Click Create Click Enable Increase Your Google Drive API Quota As per Google’s documentation, it imposes quotas and limits on its APIs. This can result in errors when one backs up his/her server to Google Drive. In order to avert any error that might be caused by these limitations, you are recommended to carry out the below-mentioned steps, which will help in increasing your default quota settings. Visit the website for Google API Manager Click Google Drive API, that is present in the left side navigation bar Click Quotas Now, increase the value of the Queries per 100 seconds per user setting. Errors are usually resolved when a maximum value of 1000 is used. However, most of the errors can be resolved through a lower setting. Click Done Creation of Your Account Credentials The below-mentioned steps need to be carried out for setting up Google Drive account credentials for backups. Visit the website for Google API Manager Click Credentials, that is present in the left side navigation bar Click Create Credentials. If you already have Google Drive account credentials, click Create credentials, and then click Help me choose. Select Google Drive API from the menu, Which API are you using? Select Web Server from the menu, Where will you be calling the API from? Select User Data from the menu, What data will you be accessing? Click What credentials do I need? Enter the desired name in the text box, Create an OAuth 2.0 client ID Enter the https://hostname:2087/googledriveauth/callback link in the Authorized redirect URIs text box. In it, the hostname represents the hostname of your server. If you need to locate the hostname of your server, then you can perform either of the below-mentioned steps. You can run the hostname command as the root user. Alternatively, you can navigate to the Change Hostname interface of WHM. Here, the hostname of the server will appear under the Current Hostname heading. Click Create. Your new client ID and client secret will be displayed by the interface Click Done Creating a Google Drive Transport It needs to be mentioned that you need to disable popup blockers in your browser while you carry out these steps. This needs to be done to avert errors. You need to follow the below-mentioned steps for creating a Google Drive transport. Log in to WHM. This needs to be done as a root-enabled user. Navigate to the Backup Configuration interface of WHM Scroll to the Additional Destinations section Select Google Drive from the Destination Type menu Click Create new destination Enter the desired destination name Enter the desired folder in which backups need to be stored. If no folder is specified, the backups will be stored in the top-level folder by the system. Enter your client ID and client secret Click Generate Credentials for creating the credentials file. Now, you will find that a new tab will appear, which enables you to authorize access to your Google Drive data. Click Authorize Access Enter the desired timeout duration in the Timeout text box Click Save Destination. For validating your remote destination, you need to click Save and Validate Destination This action will not be successful if you do not authorize access to your Google Drive data. The information that has been provided here will prove to be useful for setting up your Google Drive account as an Additional Destination in the interface for Backup Configuration in WHM.