I am trying to backup my Google account to Cloudflare’s R2.
However, I do not have proper bandwidth to download all my Google data to my PC and then upload it to R2 so I am trying to find a way to do that directly (server to server).
Recently Google added an option to send the backup files directly to cloud storage:
So, I could potentially tell Google Takeout to store the data to Google Drive. The question then is how do I transfer the data from Google Drive to R2 without going through my PC?
One way I can think of is using rclone, but I would need a cloud server to run rclone somewhere (otherwise, running it on my PC means data will go through my PC).
Is it possible to run rclone in a Cloudflare Worker perhaps?
That doc is for transferring into and from Google Cloud Storage, Google Takeout is more consumer oriented and can put the backup files in Google Drive, which is something and cannot be accessed the same way as Cloud Storage.
R2 will probably not be included in the list in the future either because Takeout is a consumer facing product…