WHM backup to Google Drive

From this tutorial, customers currently located on a Cloud Virtual Private Server (VPS) or Dedicated Server (DS) will be able to learn how to create a custom destination for their backups and point it to their Google Drive accounts.

 

Further reading:
 
How do I create a cPanel account in WHM

SSH Security for Shared Hosting

cPanel Branding and Customization

 

To backup your WHM to Google Drive, you will need to:

 

Create a Google project and configure the Google Drive API

 

Configuring a channel for your backups to be pushed on to your Google Drive will require a properly set project and API credentials. All of this can be done very quickly via the Google's Developers Console which you can open via your google account. To create a new project, click on the My Project/Select a Project button at the top of the page.

If this is the first time you are opening the console, you will not have an active project, so let's create one. Click on the New Project button.

Name your project so you can recognize it later and click on the Create button.

Now, you will have to enable the Google Drive API, so click either on its icon if it is present or hit the Enable APIs and Services button.

Select the Enable option to continue.

Since later we will need 2 different strings of symbols that will act as our public/private keys, we have to add credentials for the API so click on the Create Credentials button.

Here you will see a plethora of options for each field. The ones that you will need are the following:

  • Which API are you using?
    Google Drive API
  • Where will you be calling the API from?
    Web server (e.g., node.js, Tomcat)
  • What data will you be accessing?
    User data

When you are done, click on the "What credentials do I need?" option to continue.

 
Further reading:
 
How do I create a cPanel account in WHM

SSH Security for Shared Hosting

cPanel Branding and Customization

 

As part 2 of this setup, you will be prompted to create an OAuth 2.0 client ID.

Add a name which will be easy to remember and be descriptive of the use of credentials and in the Authorized redirect URLs add hxxps://hostname:2087/googledriveauth/callback where hostname will be substituted with the actual hostname of your server. Note that using your server's IP here will not be possible.

Click on Create OAuth client ID, and after that, you can pretty much leave part 3 of the setup as it is. On part 4 you will get the Client ID and rest of credentials for the API. Make sure to download the .JSON file as you will need it for the "private key" which in this case is called client_secret. Click Doneto finalize the setup.

Open the downloaded file with a text editor and copy the client _secret string. You will need this for the configuration of your custom google drive destination in the second half of this tutorial.

 

 

Google Drive as an Additional Destination in WHM's backup configuration

To actually make the backup be pushed each time to your Google Drive or as referred in the past - to make a Google Drive transport, you will have to navigate to WHM → Backup → Backup Configuration and switch the to the Additional Destinations tab. Then select Google Drive as a Destination Type.

Now if you wish to specify in what orders should the backups be kept, you can do so in the Folder field. The Client ID field should be populated with the Client ID which you got from the first part of this tutorial. The same goes for the Client Secret which you got from the .JSON file.

Once you have copied both API credentials in the correct fields, click on the Generate Credentials button. This is a bit like a reverse of what we just did in the Google Developers console, and now you will be prompted to Authorize Access.

We recommend you keep the default Timeout value and complete the setup by clicking on Save and Validate Destination. If you click on only Save Destination, a validation can be performed afterward at any time, but that validation is required in order for the backups to actually arrive at your Google Drive. You wouldn't want to do all of this only not to have your backups properly pushed, so validation is a must.

With this, you now have completed this tutorial and added another layer of redundancy for your precious files.

 

View Web Hosting Plans and Prices

 

Further Reading:

Re-Emphasizing the Todhost Web Hosting Advantage

 Web Hosting Options to start your online business

A General guide to Safe Website Updating

 Glossary of Web Hosting Terms

 About Our Company

 Common Causes of Website Suspension and Deactivation

 Frequently Asked Questions About Phishing Websites

 How can i check the speed of my website?

How to Address Excessive Resource Usage on a Web Hosting Account

 How to Address cPanel and Email Login Issues

 How to Avoid a Website Suspension

 How to prevent your website from a hack

 On-Page and Off-Page Search Engine Optimization - Keys to SEO Success

 

About Todhost Web Hosting

Our core business is web hosting services. We also provide web design and specialized search engine optimization (SEO) solutions based on the needs of our customers. Our web hosting service and client management are online and accomplished on the client management portal. All you need to do is submit a support ticket in our client area. We guarantee that you will get a response and a competent support staff will be there to help.

We offer the most robust and dedicated disk space for web hosting and reseller hosting services. We have set very high standards for web hosting with many unlimited features including bandwidth, emails, databases, add-on domains and many other features.

Every of our web hosting server uses RAID1 disk arrays and comes complete with a 99.9% uptime guarantee. Todhost understands the needs of customers and so we stop at nothing to offer additional free services including daily backups using R1Soft enterprise backup software, 24/7 support using telephone and our constantly monitored ticketing system.

Why Choose Todhost!

We place ourselves in the position of customers and offer the best service We see customer relationship as a partnership that requires us never to stop giving excellent service. We continue to make that best efforts that would grow with your business and support it every step of the way? We call it the Todhost Advantage, the advantage of working with the best web host in the industry. Since 2009, Todhost has distinguished itself as a versatile and trusted partner for any serious website owner.

Get Started With Todhost Web Hosting

You will find numerous reasons, those we can enumerate and those you will discover during your engagement with us and in the use of our services. However, we have outlined four basic reasons why you will want to use Todhost web hosting services:

The top reasons why you should choose us.

  •     We are passionate about what we do
  •     We listen to your feedback
  •     We provide a high level of support
  •     We focus on the quality of our services
  •     We have lots of tutorials on how to get your website up and running
  •     We do not oversell our web hosting services   

We are passionate about what we do
Web hosting is not just our business, it is our passion and we love it and are very serious about it. That is why we have invested so much in building a strong and reliable infrastructure that supports your web hosting needs. With years of experience and a strong support team, we have built a network that satisfies our high quality standards and our expectations remains that you will also love our web hosting quality.

    We listen to your feedback
You are the reason we are here at Todhost and your feedback is the most reliable source of information for our continuous improvement program. We listen to your feedback and act on it in the best way we can. We encourage you to continue to provide this feedback especially as it regards your quality expectations and we assure you that we shall continue to implement new improvements to keep our customers happy.

    We provide a high level of support
Todhost currently gives very high rating to customer support. We currently provide support through telephone calls, ticketing system, knowledgebase articles and email contact. Our ticket response time is under one hour and we attend to telephone complaints immediately. Should you have any need for support, just email our support department or use the contact us form to open a ticket and we will get back to you immediately. Our customer support team work from Monday to Sunday, 24/7. Our knowledgebase is a pool of articles dealing with various topics and provide a step-by-step guide to most of the questions we have received and also have answers to most the problems our clients have faced. We hope the tutorials will answer most of the fundamental questions clients may want to ask. Should our knowledgebase articles not provide the needed answer, you can still submit a ticket to support.

    We focus on the quality of our services
We have always never compromised on quality. And that is why we give a guarantee of 99.99% up-time and provide a reliable customer support. Our quality guidelines cover not just your web hosting but also customer support. We guarantee a robust disk space, bandwidth, web building scripts, and network security. You may want to view the details of our web hosting packages.

    We have lots of tutorials on how to get your website up and running
As part of our support, we have provided you with tons of knowledgebase tutorials developed from the most frequently asked questions from our customers. We are sure you will find them most useful.

    We do not oversell our web hosting services
We do not oversell our space and cause our servers to be unnecessarily slow.. Our offers are moderate and our packages are all moderately priced to get you started with ease. If you face any challenge in the cause of your work, do contact our customer support for help.
We are passionate about what we do
Web hosting is not just our business, it is our passion and we love it and are very serious about it. That is why we have invested so much in building a strong and reliable infrastructure that supports your web hosting needs. With years of experience and a strong support team, we have built a network that satisfies our high quality standards and our expectations remains that you will also love our web hosting quality.

    We listen to your feedback
You are the reason we are here at Todhost and your feedback is the most reliable source of information for our continuous improvement program. We listen to your feedback and act on it in the best way we can. We encourage you to continue to provide this feedback especially as it regards your quality expectations and we assure you that we shall continue to implement new improvements to keep our customers happy.

    We provide a high level of support
Todhost currently gives very high rating to customer support. We currently provide support through telephone calls, ticketing system, knowledgebase articles and email contact. Our ticket response time is under one hour and we attend to telephone complaints immediately. Should you have any need for support, just email our support department or use the contact us form to open a ticket and we will get back to you immediately. Our customer support team work from Monday to Sunday, 24/7. Our knowledgebase is a pool of articles dealing with various topics and provide a step-by-step guide to most of the questions we have received and also have answers to most the problems our clients have faced. We hope the tutorials will answer most of the fundamental questions clients may want to ask. Should our knowledgebase articles not provide the needed answer, you can still submit a ticket to support.

    We focus on the quality of our services
We have always never compromised on quality. And that is why we give a guarantee of 99.99% up-time and provide a reliable customer support. Our quality guidelines cover not just your web hosting but also customer support. We guarantee a robust disk space, bandwidth, web building scripts, and network security. You may want to view the details of our web hosting packages.

    We have lots of tutorials on how to get your website up and running
As part of our support, we have provided you with tons of knowledgebase tutorials developed from the most frequently asked questions from our customers. We are sure you will find them most useful.

    We do not oversell our web hosting services
We do not oversell our space and cause our servers to be unnecessarily slow.. Our offers are moderate and our packages are all moderately priced to get you started with ease. If you face any challenge in the cause of your work, do contact our customer support for help.

Learn more from our Knowledgebase tutorials

And you will also find more reasons to love and trust Todhost with your web hosting  below

Years of Web Hosting Experience

Since 2009 when we started web hosting business at Todhost, we have sustained our quality of service and worked hard to always improve on service delivery. Our web hosting is loved by customers for its reliability, security and all our web hosting plans are carefully tailored to provide the best service. We offer robust and dedicated disk space for web hosting and reseller hosting services and we have set very high standards for web hosting with many unlimited features including bandwidth, emails, databases and add-on domains

Technical Capacity and Customer Empathy

We have been around for years and have seen it all. You can always rely on our strength and technical capacity to support your online business. Todhost understands the needs of customers and so we stop at nothing to offer additional free services including website backups using R1Soft enterprise backup software, 24/7 support using telephone and our constantly monitored ticketing system.

Trust, Quality and Reliability

Todhost has been providing high quality service with unmatched reliability since 2009. We offer shared web hosting service, reseller web hosting, VPS hosting, dedicated server hosting and domain registration services. Since 2009, Our clients love our web hostingand you will love it too! Todhost's exceptional performance, experience, commitment, and continuous investment in web hosting infrastructure guarantees Superior Quality Web Hosting services in Nigeria!

Free Transfer Services

We provide free transfer services when you move your site to Todhost. We move your files, scripts, emails, databases and domain name with no downtime.

 

View Web Hosting Plans and Prices

  • 72 Users Found This Useful
Was this answer helpful?

Related Articles

How do I create a cPanel account in WHM

What is the Difference Between WHM and CPanelThe Web Host Manager (WHM) is the account management...

cPanel Branding and Customization

WHM are tools that has become synonymous with web hosting. Once you wish to an account to start a...

SSH Security for Shared Hosting

Web hosts often shy away from the idea of allowing SSH access to their clients on shared servers,...