Support

Akeeba Backup for Joomla!

#31886 google drive authitication fails perodicaly

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Wednesday, 20 November 2019 17:17 CST

alizayni
i have many joomla sites using akeeba Professional to remote back up with google drive
from time to time i find error in uploading the file to google drive
when i go to configuration i find an error report appear (please check attached file) .
then i have to redo the authentication process so the uploading to google drive will work again.
but again, after a while the same error appear
please advice

nicholas
Akeeba Staff
Manager
I believe your question is already answered in our documentatio.

The root cause of your issue is that you must not use the Authentication - Step 1 button on each one of your sites:
When you want to connect more sites to Google Drive please copy the Refresh Token from another site linked to the same Google Drive account to your site's Refresh Token field.

Moreover, you are given the following warning regarding concurrent backups:
Since all of your sites are using the same Refresh Token to connect to Google Drive you must NOT run backups on multiple sites simultaneously. That would cause all backups to fail since one active instance of Akeeba Backup would be invalidating the Access Token generated by the other active instance of Akeeba Backup also trying to upload to Google Drive. This is an architectural limitation of Google Drive.


I know this sucks for having multiple sites upload to Google Drive. Unfortunately, it's how Google decided to architecture their Google Drive implementation: you get one connection per Google Drive user account and developer. Other storage services such as Dropbox and OneDrive allow multiple connections which makes far more sense for using them with Akeeba Backup.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

alizayni
thanks i think its better to use FTP account in different server

nicholas
Akeeba Staff
Manager
FTP has different restrictions. Since FTP transfers through PHP do not support appending to files you need to use a small part size for split archives (around 10MB) to prevent PHP timeouts, as explained in our documentation.

A better approach is using a different remote storage service which supports chunked uploads and connection of multiple sites on the same account such as Dropbox, OneDrive, Amazon S3, BackBlaze B2, RackSpace CloudFiles or Microsoft Azure BLOB Storage to just name a few off the top of my head.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!