Google Drive limits reached with multiple service accounts?

What is the problem you are having with rclone?

Hi everyone, I am a new rclone user. I am trying to upload 5TB to Google Suite Google Drive. As I have understood the documentation, in order to upload more than 750GB a day, you have to create multiple service accounts.

I have created 4 service accounts and the actual user account where I want to upload to (so I have 5 potential keys), however I am noticing that once I hit the limit for one service account and I switch to another service account, I am still blocked from Google Drive and no matter which other account I try, I cannot continue to upload.

What is your rclone version (output from rclone version)

rclone v1.52.3

  • os/arch: windows/amd64
  • go version: go1.14.7

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync --progress --transfers=15 --fast-list --drive-stop-on-upload-limit --max-transfer 745G hetzner-local:z:/angel/Angel_1.hbk/Pool gdriverclone2:Backups/Angel/Angel_1.hbk/Pool

The rclone config contents with secrets removed.

type = drive
client_id = xxxx
client_secret = xxxx
scope = drive
token = xxxx

type = local
nounc = false

type = drive
service_account_file = rclone1.json
impersonate =

type = drive
service_account_file = rclone2.json
impersonate =

type = drive
service_account_file = rclone3.json
impersonate =

type = drive
service_account_file = rclone4.json
impersonate =

type = drive
service_account_file = rclone5.json
impersonate =

type = drive
service_account_file = rclone6.json
impersonate =

A log from the command with the -vv flag

2020-08-28 14:28:14 ERROR : 0/29/1227.bucket.67: Failed to copy: Post "": context canceled
2020-08-28 14:28:14 ERROR : 0/29/1231.bucket.67: Failed to copy: Post "": context canceled
2020-08-28 14:28:14 ERROR : 0/29/1223.bucket.67: Failed to copy: googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded
2020-08-28 14:28:14 ERROR : 0/29/1226.bucket.67: Failed to copy: Post "": context canceled

Am I doing something wrong? Or have I understood the documentation incorrectly?

Actually, I think I figured it out. It's because I'm using impersonate. I have shared the folder from the user to the service account and am using root_folder_id instead. So far it looks like it's working!

Edit: It didn't work. Now I'm getting:

2020-08-28 14:46:16 ERROR : chunk_index/1828.idx.154: Failed to copy: googleapi: Error 403: The user's Drive storage quota has been exceeded., storageQuotaExceeded

I assume this is the quota of the service account

hello and welcome to the forum,

you read more about that specific error and solutions.

you can search the forum, for example,

Without impersonate, it will use the service_account's storage quota which is a measly 15 GB. You need to set shared_with_me to True to copy to the shared folder but even that is not always foolproof for normal drive.


Easiest & Fastest way is to create a Team/Shared Drive, share it with all the service accounts, upload into that and when the full upload is done, move it into your main drive.

1 Like

did you find any solution for this? I used shared_with_me when I upload a file, using a service account, in a shared folder, I get Drive storage quota has been exceeded

Same Problem for me. Anyone have a Idea?