{"id":2324,"date":"2018-05-24T04:08:45","date_gmt":"2018-05-24T10:08:45","guid":{"rendered":"https:\/\/www.supportpro.com\/blog\/?p=2324"},"modified":"2019-10-30T03:23:01","modified_gmt":"2019-10-30T09:23:01","slug":"configure-server-backup-to-google-drive-for-cpanel-accounts","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/configure-server-backup-to-google-drive-for-cpanel-accounts\/","title":{"rendered":"Configure Server Backup to Google Drive for cPanel Accounts"},"content":{"rendered":"<p>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\u00a0cloud storage. You can save up to 15GB server space by using this feature. Let&#8217;s take a quick look at a brief overview on setting this up in cPanel.<\/p>\n<p><strong>Set up your Google Drive account with cPanel server account backups<\/strong><\/p>\n<p>The first step is to enable the Google Drive API for your Google account and you may follow the below steps to accomplish this.<\/p>\n<p>1. After logging into the Google account, navigate to the Google API Manager website.<br \/>\n2. In the left navigation menu, click the Library option.<br \/>\n3. Under the G Suite session, click GoogleDrive API.<br \/>\n4. Then, click Create Project, and then click Create. A new menu will appear.<br \/>\n4.1 If the new menu does not appear, perform the following steps and then proceed to Step 5.<br \/>\n&gt;&gt; Click Credentials in the left navigation bar.<br \/>\n&gt;&gt; Click Create.<br \/>\n5. Enter your new project name and click Create.<br \/>\n6. Click Enable<\/p>\n<p><!--more--><\/p>\n<p>After that, you need to create a credential for your account and for this please refer the below steps.<\/p>\n<p>1. In the side navigation bar, click Credentials.<br \/>\n2. Click Create credentials.<br \/>\n3. Please choose the below option on the settings page.<br \/>\nWhich API are you using? menu, select Google Drive API<br \/>\nWhere will you be calling the API from? menu, select Web Server<br \/>\nWhat data will you be accessing? menu, select User Data.<br \/>\n4. Click What credentials do I need?.<\/p>\n<p>&nbsp;<\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/freecheckup.php\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-2348\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api1.png\" alt=\"create a credential for your account\" width=\"868\" height=\"353\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api1.png 1081w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api1-300x122.png 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api1-768x313.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api1-1024x417.png 1024w\" sizes=\"(max-width: 868px) 100vw, 868px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>5. In the Create an OAuth 2.0 client ID. text box, enter your desired name.<br \/>\n6. In the Authorized redirect URIs text box, enter the https:\/\/hostname:2087\/googledriveauth\/callback link, where hostname represents your server&#8217;s hostname.<br \/>\n7. Click Create. The interface will display your new client ID and client secret. (Save these credentials in a secure location)<br \/>\n8. Click Done.<a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/requestquote.php\"><img decoding=\"async\" class=\"alignright wp-image-2372\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api2-1.png\" alt=\"Create an OAuth 2.0 client ID\" width=\"859\" height=\"375\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api2-1.png 1286w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api2-1-300x131.png 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api2-1-768x335.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api2-1-1024x447.png 1024w\" sizes=\"(max-width: 859px) 100vw, 859px\" \/><\/a><\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api3-1.png\" data-rel=\"penci-gallery-image-content\" ><img decoding=\"async\" class=\"alignright wp-image-2373\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api3-1.png\" alt=\"\" width=\"745\" height=\"341\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api3-1.png 1343w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api3-1-300x137.png 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api3-1-768x352.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api3-1-1024x469.png 1024w\" sizes=\"(max-width: 745px) 100vw, 745px\" \/><\/a><\/p>\n<p>Then, we need to create Google Drive transport on our WHM account and for this perform the following steps.<\/p>\n<p>1. Log in to WHM account.<br \/>\n2. Navigate to WHM&#8217;s Backup Configuration interface (WHM &gt;&gt; Home &gt;&gt; Backup &gt;&gt; Backup Configuration) and scroll to the Additional Destinations section.<br \/>\n3. From the Destination Type menu, select Google Drive.<br \/>\n4. Click Create a new destination.<br \/>\n5. Enter your desired destination name.<br \/>\n6. Enter the desired folder in which to store backups.<br \/>\n7. Enter your client ID and client secret.<br \/>\n8. Click Generate Credentials to generate the credentials file. A new tab will appear that allows you to authorize access to your Google Drive data.<br \/>\n9.Click Authorize Access.<br \/>\n10. In the Timeout text box, enter the desired timeout duration.<br \/>\n11. Click Save Destination.<\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/requestquote.php\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-2370 size-full\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/ap14-1.png\" alt=\"Backup configuration\" width=\"1362\" height=\"500\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/ap14-1.png 1362w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/ap14-1-300x110.png 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/ap14-1-768x282.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/ap14-1-1024x376.png 1024w\" sizes=\"(max-width: 1362px) 100vw, 1362px\" \/><\/a><\/p>\n<hr \/>\n<p>To validate your remote destination, click\u00a0<em>Save<\/em><em>\u00a0and Validate Destination<\/em>. If you do\u00a0not\u00a0authorize access to your Google Drive data, this action will fail.<\/p>\n<p>&nbsp;<\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api5-1.png\" data-rel=\"penci-gallery-image-content\" ><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2342\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api5-1.png\" alt=\"\" width=\"1042\" height=\"87\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api5-1.png 1042w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api5-1-300x25.png 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api5-1-768x64.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api5-1-1024x85.png 1024w\" sizes=\"(max-width: 1042px) 100vw, 1042px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a class=\"lightbox\" href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api6-1.png\" data-rel=\"penci-gallery-image-content\" ><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-2375\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api6-1.png\" alt=\"\" width=\"819\" height=\"460\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api6-1.png 819w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api6-1-300x168.png 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2018\/05\/api6-1-768x431.png 768w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/a><\/p>\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/www.supportpro.com\/freecheckup.php\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&hellip;<\/p>\n","protected":false},"author":4,"featured_media":2369,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[66,1,3],"tags":[],"class_list":["post-2324","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","category-miscellaneous","category-technical-articles"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/2324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=2324"}],"version-history":[{"count":49,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/2324\/revisions"}],"predecessor-version":[{"id":4410,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/2324\/revisions\/4410"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media\/2369"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=2324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=2324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=2324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}