Can not copy file from mydrive to teamdrive in google drive by server-side

What is the problem you are having with rclone?

I need to copy the files of my drive to the team drive under the same google drive account, using "rclone copy gd1:folder gd2:folder", gd1 is the root directory under my drive, gd2 is the root directory of the team drive, I found that the copy traffic is going local instead of server side, adding parameters such as "--drive-server-side-across-configs", it will report an error. how to solve it?

What is your rclone version (output from rclone version)

v1.57

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 copy gd1:folder gd2:folder -P

or

rclone copy gd1:folder gd2:folder -P --drive-server-side-across-configs

The rclone config contents with secrets removed.

[gd2]
type = drive
scope = drive
token = 
team_drive = teamdrive  id
root_folder_id = 

A log from the command with the -vv flag

Failed to copy: googleapi: Error 403: Sharing restrictions cannot be set on a shared drive item., teamDrivesSharingRestrictionNotAllowed

hi,
have you searched the forum, for example,
https://forum.rclone.org/t/google-drive-rclone-fails-to-copy-some-shared-files-from-the-main-drive-to-a-shared-drive/22589/9

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.