This document explains how to set up your Google Drive™ account as an Additional Destination in WHM's Backup Configuration interface (WHM >> Home >> Backup >> Backup Configuration).
To create a Google Drive account, visit the Google® Create your Google Account page.
Click Create Project, and then click Create. A new menu will appear.
If the new menu does not appear, perform the following steps:
Enter your new project name and click Create.
According to Google's documentation, Google imposes limits and quotas on their APIs. This can cause errors when you back up your server to Google Drive.
To avoid errors due to these limitations, we recommend that you perform the following steps to increase your default quota settings:
Increase the value of the Queries per 100 seconds per user setting.
A maximum value of
To set up Google Drive account credentials for backups, perform the following steps:
Visit the Google API Manager website.
In the left side navigation bar, click Credentials.
Click Create credentials.
If you already possess Google Drive account credentials, click Create credentials and then click Help me choose.
In the Authorized redirect URIs text box, enter the
https://hostname:2087/googledriveauth/callback link, where
hostname represents your server's hostname.
To locate your server's hostname, perform either of the following actions:
Click Create. The interface will display your new client ID and client secret.
We strongly recommend that you save these credentials in a secure location. Step 7 of the Create a Google Drive transport procedure requires these credentials.
You can also download a JSON file with your client ID and client secret, or access them in the Credentials section.
While you perform these steps, disable any popup blockers in your browser to prevent errors.
To create a Google Drive transport, perform the following steps:
Log in to WHM as a
Enter the desired folder in which to store backups.
If you do not specify a folder, the system will store backups in the top-level folder.
Click Save Destination.