Home cPanel Configure Server Backup to Google Drive for cPanel Accounts

Configure Server Backup to Google Drive for cPanel Accounts

by SupportPRO Admin

The cPanel new version v66 introduces a new feature that facilitates users to remotely store their data and access it from any part of the world. This is established using the Google Drive feature that enables users to configure server backup directly to this cloud storage. You can save up to 15GB server space by using this feature. Let’s take a quick look at a brief overview on setting this up in cPanel.

Set up your Google Drive account with cPanel server account backups

The first step is to enable the Google Drive API for your Google account and you may follow the below steps to accomplish this.

1. After logging into the Google account, navigate to the Google API Manager website.
2. In the left navigation menu, click the Library option.
3. Under the G Suite session, click GoogleDrive API.
4. Then, click Create Project, and then click Create. A new menu will appear.
4.1 If the new menu does not appear, perform the following steps and then proceed to Step 5.
>> Click Credentials in the left navigation bar.
>> Click Create.
5. Enter your new project name and click Create.
6. Click Enable

After that, you need to create a credential for your account and for this please refer the below steps.

1. In the side navigation bar, click Credentials.
2. Click Create credentials.
3. Please choose the below option on the settings page.
Which API are you using? menu, select Google Drive API
Where will you be calling the API from? menu, select Web Server
What data will you be accessing? menu, select User Data.
4. Click What credentials do I need?.


create a credential for your account


5. In the Create an OAuth 2.0 client ID. text box, enter your desired name.
6. In the Authorized redirect URIs text box, enter the https://hostname:2087/googledriveauth/callback link, where hostname represents your server’s hostname.
7. Click Create. The interface will display your new client ID and client secret. (Save these credentials in a secure location)
8. Click Done.Create an OAuth 2.0 client ID

Then, we need to create Google Drive transport on our WHM account and for this perform the following steps.

1. Log in to WHM account.
2. Navigate to WHM’s Backup Configuration interface (WHM >> Home >> Backup >> Backup Configuration) and scroll to the Additional Destinations section.
3. From the Destination Type menu, select Google Drive.
4. Click Create a new destination.
5. Enter your desired destination name.
6. Enter the desired folder in which to store backups.
7. Enter your client ID and client secret.
8. Click Generate Credentials to generate the credentials file. A new tab will appear that allows you to authorize access to your Google Drive data.
9.Click Authorize Access.
10. In the Timeout text box, enter the desired timeout duration.
11. Click Save Destination.

Backup configuration

To validate your remote destination, click Save and Validate Destination. If you do not authorize access to your Google Drive data, this action will fail.



If you require help, contact SupportPRO Server Admin

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Comment


Sales and Support

Phone: 1-(847) 607-6123
Fax: 1-(847)-620-0626
Sales: sales@supportpro.com
Support: clients@supportpro.com
Skype ID: sales_supportpro

Postal Address

1020 Milwaukee Ave, #245,
Deerfield, IL-60015

©2022  SupportPRO.com. All Rights Reserved