I'm looking for a way to transfer files from a GCP instance running Linux to Google Drive on a set schedule using cronjob. In the past, I have been able to do this with a Github package called gdrive. Unfortunately, tryin to set this software up today prompts an error that seems to have something to do with OOB.
Gdrive hasn't been updated in over 2 years with numerous issues raised on the Github since then so I'm not expecting this issue to be fixed.
Next, I tried using GDriveAPI by following the instructions in this quickstart article and got as far as the authorization step where I encountered a different error:
Thinking I should have access since I followed the quickstart steps, I clicked on the link for contacting the developer only to be presented with my own email address. At this point, I can't tell if this is an issue with the API or if I need to reconfigure something in Google Cloud and/or Google Drive accounts.
Any suggestions/advice would be very much appreciated. Thanks
Although I don't have this running within GCP on a VM, my home laptop running Ubuntu I use rclone to copy/sync a local folder to a GDrive Shared Drive (also works with the normal drive)
I don't see why it shouldn't work Cloud to GDrive.