Backup to google drive fails after one week

Operating System & Version
CENTOS 7.9 kvm
cPanel & WHM Version
v96.0.11

mrogozin

Member
Jul 2, 2021
10
3
3
Brazil
cPanel Access Level
Website Owner
I setup my account to backup up non system files to Google Drive following this tutorial (How to Configure Google Drive as a Backup Additional Destination - cPanel Knowledge Base - cPanel Documentation) and it works fine for one week. After that, validation fails and the backup stop working, so I have to recreate everything again.

I found this thread (Google Drive Backup Failure) but did not find the option to set the "User Type to Internal" in the Google project as mentioned. I have a normal Google account, not a Google Workspace. Is it possible to make backups to Google drive with a normal Google account without the validation expiring all the time? Thanks in advance.
 
Last edited by a moderator:

mrogozin

Member
Jul 2, 2021
10
3
3
Brazil
cPanel Access Level
Website Owner
Thanks for your reply!

It stops working after one week of daily backups. When I go to WHM and try to validate again I receive this message:

Could not create path directory “/SILOBackUp/”: Token refresh failed at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/OAuth/Cmdline.pm line 83

SILOBackUp is the directory being used so far, it is still there with all the backups and there is plenty of memory in Google Drive, so that shouldn't be an issue.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,923
912
313
cPanel Access Level
Root Administrator
Thanks for that error message. Can you try these steps to see if that gets things working?

1. Browse to WHM >> Backup >> Backup Configuration.
2. Click the Edit link on the Google Drive destination and then click on the Generate Credentials link visible below the Client Secret field.
3. This will pop-up (ensure pop-ups are not blocked by your browser for this page) Google's authentication page where you will follow the steps to authenticate there.
4. After generating the credentials through Google, you should be able to validate the destination properly.
 

mrogozin

Member
Jul 2, 2021
10
3
3
Brazil
cPanel Access Level
Website Owner
That works only when I first create the setup (google project + credentials), now it is not popping up any window and validation doesn't work. Any other suggestion?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,923
912
313
cPanel Access Level
Root Administrator
I would still expect the "Edit" area to work well even though it has already been configured once. Can you make sure that popups are allowed on that page and that something isn't blocking that from appearing?

If that doesn't help, it might be best to open a ticket with our team so we can do some more testing on this.
 

hmaddy

Well-Known Member
May 6, 2020
178
19
18
Chennai
cPanel Access Level
Root Administrator
That works only when I first create the setup (google project + credentials), now it is not popping up any window and validation doesn't work. Any other suggestion?
Update the server to latest version os and cpanel. i solved it on my servers after the updation of os and cpanel to latest version.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,923
912
313
cPanel Access Level
Root Administrator
It looks like they are seeing the same things in other tickets as I found, which was that this is typically a networking problem of some sort. Is your cPanel server not running version 96? If not, then an update is definitely recommended.
 

mrogozin

Member
Jul 2, 2021
10
3
3
Brazil
cPanel Access Level
Website Owner
I am running v96.0.11, but there are kernel and software updates available, but I can only reboot the server over the weekend, I will let you know if it works.
 
  • Like
Reactions: cPRex

mrogozin

Member
Jul 2, 2021
10
3
3
Brazil
cPanel Access Level
Website Owner
After 1 week of successful backups it stoped again and I cannot "generate credentials", so the update didn't work. I will try to write to Google, if you have any other hints please let me know
 

mrogozin

Member
Jul 2, 2021
10
3
3
Brazil
cPanel Access Level
Website Owner
I just did that but it also failed. I am running CENTOS 7.9 kvm v96.0.11
Now it says that version 96.0.13 is available, is that the update you are mentioning?