rclone: Union remote of google team drives does not work with --drive-server-side-across-configs flag
Output of rclone version
rclone v1.58.1
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.13.0-51-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.9
- go/linking: static
- go/tags: none
Describe the issue
I and many others have noticed that if you wanted to sync a union of 2 team drives to either another google drive union mount or an individual google team drive while using the flag --drive-server-side-across-configs=true, rclone ignores the flag and downloads the files to the endpoint that calls the command and then uploads it to its destination.
Here is an example of my rclone config and the command:
rclone copy 'teamdrive-combo:TestFolder/large20GB.txt ’ TeamDriveC:clones --fast-list --transfers=16 --checkers=32 --tpslimit-burst=16 -vP --ignore-errors --stats=30s --max-backlog=2000000 --ignore-case --size-only --no-update-modtime --drive-chunk-size=256M --drive-use-trash=false --use-mmap --drive-server-side-across-configs=true --drive-stop-on-upload-limit --drive-skip-gdocs --timeout=10s --tpslimit=4
rclone config:
[teamdrive-combo] type = union upstreams = TeamDriveA: TeamDriveB:
[TeamDriveA] type = drive client_id = xxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com client_secret = xxxxxxxxxxxxxxxxxxxxxxxx scope = drive token = {“access_token”:“xxxxxxxxxxxxxxxxxxxxxxxx”,“token_type”:“Bearer”,"r>team_drive = xxxxxxxxxxxxxxxxxxxxxxxx root_folder_id =
[TeamDriveB] type = drive client_id = xxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com client_secret = xxxxxxxxxxxxxxxxxxxxxxxx scope = drive token = {“access_token”:“xxxxxxxxxxxxxxxxxxxxxxxx”,“token_type”:“Bearer”,"r>team_drive = xxxxxxxxxxxxxxxxxxxxxxxx root_folder_id =
[TeamDriveC] type = drive client_id = xxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com client_secret = xxxxxxxxxxxxxxxxxxxxxxxx scope = drive token = {“access_token”:“xxxxxxxxxxxxxxxxxxxxxxxx”,“token_type”:“Bearer”,"r>team_drive = xxxxxxxxxxxxxxxxxxxxxxxx root_folder_id =
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 1
- Comments: 19 (15 by maintainers)
Commits related to this issue
- operations: allow --server-side-across-configs to work between any backends Before this change --server-side-across-configs would only work between two backends of the same type. This meant that ser... — committed to rclone/rclone by ncw 2 years ago
- operations: allow --server-side-across-configs to work between any backends Before this change --server-side-across-configs would only work between two backends of the same type. This meant that ser... — committed to rclone/rclone by ncw 2 years ago
- union: make server side copies possible from outside the union Before this change, only server side copies within the union would be permitted. This change allows server side copies from outside the... — committed to rclone/rclone by ncw 2 years ago
That’s correct. No updates at this time.