Setting up Google Drive Backup Issues

angelleye

Active Member
Nov 25, 2011
39
3
58
Kansas City, MO
cPanel Access Level
Root Administrator
Twitter
I'm trying to follow this guide for setting up my Google Drive as a remote location for my WHM Backup tool. I was able to create the Google Drive API credentials just fine, and everything there seems good.

Now I'm trying to follow the section for "Create a Google Drive transport" where I would setup Google Drive as my remote location to transfer the backups. Step 8 of the documentation says:

Click Generate Credentials to generate the credentials file. A new tab will appear that allows you to authorize access to your Google Drive data.

However, when I click that button I get a message that says:

You have already generated credentials for this transport. You do not need to do so again.

It does not show many any tab or give me any sort of a Google authentication that I would expect here, and then of course the validation fails.

I have never gone through this process before, so I'm not sure why it's telling me I've already generated the credentials. Any information about how to get this resolved would be greatly appreciated.

Thanks!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hi @angelleye

If you did have something set up already I would expect an output - I definitely get a return on my server. Could you open a ticket using the link in my signature so that we can take a closer look? We won't be able to set it up for you but we'd at least be able to test the configuration of the google backup drive and ensure there isn't some cached data from a previous attempt. Once the ticket is open please update this thread with the ticket ID as well.

Thanks!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hi @angelleye

No, I want you to open a support request, you can do this by clicking the Submit A Support Ticket link in my signature, open the ticket then let us know here what the ticket ID is so we can track it.

Thanks!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hi @angelleye

That sounds like a plan! Just let us know here if you do end up opening a ticket with us or if your provider is able to help you resolve the issue.

Thanks!
 

jp4mc

Member
Aug 22, 2018
11
4
3
Birmingham, AL USA
cPanel Access Level
Root Administrator
Hello, I'm having a similar issue here with trying to set up Google Drive for backups. I follow all the steps and then I click the 'Save Configuration' button and then next I click 'Validate All Destinations'. This is where the error comes in.

Error: Validation for transport “gdrive” failed: Could not create path directory “/backup/”: Cache file /var/cpanel/backups/"xxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com".yml not found. See GETTING STARTED in the docs for how to get started. at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/OAuth/Cmdline.pm line 191

Is this not correct?

i.imgur.com/yWCrh1C.png
 
Last edited by a moderator:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hi @jp4mc


Where most find tricky is when you click "generate credentials" you should be directed to Google to complete the authentication process but that window is sometimes blocked by a pop-up blocker, in this case, though it sounds like you may have already done that.
Can you tell me if the yml file for Google is indeed located at /var/cpanel/backups/?

Thanks!
 

jp4mc

Member
Aug 22, 2018
11
4
3
Birmingham, AL USA
cPanel Access Level
Root Administrator
Hi @jp4mc


Where most find tricky is when you click "generate credentials" you should be directed to Google to complete the authentication process but that window is sometimes blocked by a pop-up blocker, in this case, though it sounds like you may have already done that.
Can you tell me if the yml file for Google is indeed located at /var/cpanel/backups/?

Thanks!
I'm logged in now and I do not see it there.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston

jp4mc

Member
Aug 22, 2018
11
4
3
Birmingham, AL USA
cPanel Access Level
Root Administrator
  • Like
Reactions: cPanelLauren