When visiting the url I get:
Google sign-in for this application is temporarily disabled
We have not yet verified this application for Google Login.

Yep same for me
Same for me here.
Same.
It was really useful :(
@zihadmahiuddin We can always compile it on our own with our own api keys, so it's still useful ;)
Hi all,
You can try my script here:
https://github.com/mbrother2/backuptogoogle
Hi all,
I updated my script to send error email if upload to Google Drive fail. Please try with update butgg:
butgg.bash --update
butgg.bash --setup config
butgg.sh --update
butgg.sh --setup config
When i create all the needed google disable it with your tool @mbrother2
@Xaris
My script build gdrive with YOUR google credential, so you can trust it :), right?
Yes, but google delete my project few minutes later...
@Xaris
You should contact with Google about that.
The same! Terrible situation.
@Xaris
You should contact with Google about that.
My problem is i need to make a VERY MASSIVE backup and this script is the best solution... and how i can say to google it? "Oh hi google, i need to make 2.2 TB of backup because your Data transfer (of Gsuite) sucks, but don't worry, i'll transfer 749 GB at day only for you." it's even allowed in the google TOS to use this script?
@mbrother2 Can you make a version with (your) API & Oauth working? I tested on console on my private account, and _TWO_ GSuite accounts (different organizations) and google both shut down these projects, There must be a reason .-.
Now i understand why Google shut down it.. if you have a big backup, you need to verify it if public if you want to move a good amount of files, and if internal, it need to raise the limit anyway because is stuck to 100 grants per minute, and 10.000 at day...
Same for me
Same for me!
Hi, when I run
go get github.com/prasmussen/gdrive
I get this error:
package context: unrecognized import path "context" (import path does not begin with hostname
@pablodc00 your information is not related to the thread
@jakubthedeveloper, sorry
I'm getting the same error:
Google sign-in for this application is temporarily disabled
then I followed the the steps to build the source code by my self using Google Drive APIs credentials, thus I'm asking that in this thread.
Also getting:
Sign in with Google temporarily disabled for this app
This app has not been verified yet by Google in order to use Google Sign In.
Hi all,
If you only want to backup your data to Google Drive through cron, try to use my script:
https://github.com/mbrother2/butgg
My script ONLY uses curl command to upload, download, send error if upload fail to Google Drive. It uses YOUR Google credential.
Hi all,
You can try my script here:
https://github.com/mbrother2/backuptogoogleWhat can this script do?
- Complie gdrive (https://github.com/gdrive-org/gdrive) on your server with your Google credential
- Create cron auto backup
- Auto remove old backup on Google Drive
- Run upload from your backup directory to Google Drive whenever you want
- Detail log
Same for me and your script did work on NOV.22. Thanks for your script. But it does not work now. It shows that [WARNING] Can not create gdrive credential. Please run "/root/bin/gdrive about" to create it after.
@duanpingbo
Please report your issue to my repo and give me some informations about your server.
same here!
@duanpingbo
Please report your issue to my repo and give me some informations about your server.
It can works well now. I did the wrong way before. Thanks for your script.
same here!
+1 same here
Still facing same issue
+1
Same here. OAuth version changed?
Same here...
same problem here, maybe that "gdrive" project is dead??
Please try https://github.com/mbrother2/backuptogoogle to build gdrive with your own Google credential.
Thank you, will look about it..
Hello everyone.
I tried to used @mbrother2 script, which seems to work well but only upload files, and i needed to download.
To use this gdrive script, you can simply create your own OAuth credentials (follow the @mbrother2's tutorial at https://github.com/mbrother2/backuptogoogle/wiki/Create-own-Google-credential-step-by-step tutorial) and replace the client id and client secret on the command line tool:
For example, with gdrive-linux-x64:
1- open the file
2- search for the clientId 367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com and replace it with your own clientId.
3- Search for the client secret 1qsNodXNaWq1mQuBjUjmvhoO and replace it with your own.
The default client id / secret can be found on the following file: https://github.com/gdrive-org/gdrive/blob/c3cbcceedd6beb1fcff30f06ea7be7c29558d181/handlers_drive.go
Hello Everyone,
I've written a way to fix the issue. Please check this article: Mount Google Drive using GDrive on Linux Server with Own OAuth Credentials.
I hope this method will work on all servers.
Thanks.
Hello everyone.
I tried to used @mbrother2 script, which seems to work well but only upload files, and i needed to download.
To use this gdrive script, you can simply create your own OAuth credentials (follow the @mbrother2's tutorial at https://github.com/mbrother2/backuptogoogle/wiki/Create-own-Google-credential-step-by-step tutorial) and replace the client id and client secret on the command line tool:
For example, with gdrive-linux-x64:
1- open the file
2- search for the clientId367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.comand replace it with your own clientId.
3- Search for the client secret1qsNodXNaWq1mQuBjUjmvhoOand replace it with your own.The default client id / secret can be found on the following file: https://github.com/gdrive-org/gdrive/blob/c3cbcceedd6beb1fcff30f06ea7be7c29558d181/handlers_drive.go
sorry to bother you guys, but how to open gdrive-osx-x64 and repliace the handlers_drive.go file? i cloned this project, and replace new credentials in the handlers_drive.go file within gdrive directory, then in iterm2 i run the command: go run gdrive.go, only errors.
sorry i'm totally a layman.
@liushawulan
Do you want to use gdrive on OS X? Maybe I can write a script to build gdrive on OS X with your Google credentials if you need.
@liushawulan
Do you want to use gdrive on OS X? Maybe I can write a script to build gdrive on OS X with your Google credentials if you need.
thank you bro. yesterday night i was working on it till nearly 4 am, yet still failed. I've tried lots of methods.
Following this thread, i managed to replace my credentials with default, but it falied in exchanging auth code. I live in China and use shadowsocks to bypass GFW, so maybe this problem is related to Golang env, else maybe my internet access be the problem. Yes i want to use gdrive on OS X, i want download some Ebooks file, each of them is more than 25G.
Thanks before.
I've also followed your thread and the official 403 error.https://github.com/gdrive-org/gdrive/issues/426, but i got stuck in
. it shows 'unrecognized import path' or 'tcp dial, ...timeout' . Finally i gave it up. and deleted the unzipped gdrive directory.
:) After all, a layman is a layman.


https://github.com/gdrive-org/gdrive/issues/392#issuecomment-459258433
this thread helped me to replace the credentials by using a binary editor.
@liushawulan
I think your issue related to macos firewall. Please temporary disable firewall on your macos and try again.
thanks bro. i've tried yet failed.

Doesn't matter. Maybe i need to redo it from scratch. for now just leave it.
I appreciate your kindness.
@liushawulan
@liushawulan
Please try #95
iterm2 log:
curl 172.217.27.141
Failed getting oauth client: Failed to exchange auth code for token: Post https://accounts.google.com/o/oauth2/token: dial tcp 172.217.27.141:443: i/o timeout
alias setproxy = "export all_proxy="socks5:127.0.0.1:1086"

it seems something else is wrong, not the proxy setting. curl ipinfo.io, it shows "
"city": "Hong Kong",
"region": "Central and Western",
"country": "HK","
later i'll reconsider this problem. now i need to do some more urgent work. :)
thank you.
have a good day.
Hello everyone.
I tried to used @mbrother2 script, which seems to work well but only upload files, and i needed to download.
To use this gdrive script, you can simply create your own OAuth credentials (follow the @mbrother2's tutorial at https://github.com/mbrother2/backuptogoogle/wiki/Create-own-Google-credential-step-by-step tutorial) and replace the client id and client secret on the command line tool:
For example, with gdrive-linux-x64:
1- open the file
2- search for the clientId367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.comand replace it with your own clientId.
3- Search for the client secret1qsNodXNaWq1mQuBjUjmvhoOand replace it with your own.The default client id / secret can be found on the following file: https://github.com/gdrive-org/gdrive/blob/c3cbcceedd6beb1fcff30f06ea7be7c29558d181/handlers_drive.go
This works to me. Thanks a lot!!
Just wanted to mention I've switched to using rclone instead of Gdrive. It's supported and is able to export files. https://forum.rclone.org/t/export-workspace-sheet-to-xlsx/21950/8
Most helpful comment
Hello everyone.
I tried to used @mbrother2 script, which seems to work well but only upload files, and i needed to download.
To use this gdrive script, you can simply create your own OAuth credentials (follow the @mbrother2's tutorial at https://github.com/mbrother2/backuptogoogle/wiki/Create-own-Google-credential-step-by-step tutorial) and replace the client id and client secret on the command line tool:
For example, with gdrive-linux-x64:
1- open the file
2- search for the clientId
367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.comand replace it with your own clientId.3- Search for the client secret
1qsNodXNaWq1mQuBjUjmvhoOand replace it with your own.The default client id / secret can be found on the following file: https://github.com/gdrive-org/gdrive/blob/c3cbcceedd6beb1fcff30f06ea7be7c29558d181/handlers_drive.go