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

**URL:** <https://forum.rclone.org/t/can-not-copy-file-from-mydrive-to-teamdrive-in-google-drive-by-server-side/27413>\
**Category:** Help and Support\
**Created:** [November 10, 2021, 1:45am UTC](https://forum.rclone.org/t/can-not-copy-file-from-mydrive-to-teamdrive-in-google-drive-by-server-side/27413 "2021-11-10T01:45:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzhl](https://forum.rclone.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@dzhl](https://forum.rclone.org/u/dzhl)\
**Post date:** [November 10, 2021, 1:45am UTC](https://forum.rclone.org/t/can-not-copy-file-from-mydrive-to-teamdrive-in-google-drive-by-server-side/27413/1 "2021-11-10T01:45:34Z")

</div>

#### 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`)

```auto
rclone copy gd1:folder gd2:folder -P

```

or

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

```

#### The rclone config contents with secrets removed.

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

```

#### A log from the command with the `-vv` flag

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

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [November 10, 2021, 1:50am UTC](https://forum.rclone.org/t/can-not-copy-file-from-mydrive-to-teamdrive-in-google-drive-by-server-side/27413/2 "2021-11-10T01:50:04Z")

</div>

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](https://forum.rclone.org/t/google-drive-rclone-fails-to-copy-some-shared-files-from-the-main-drive-to-a-shared-drive/22589/9)

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [December 10, 2021, 1:50am UTC](https://forum.rclone.org/t/can-not-copy-file-from-mydrive-to-teamdrive-in-google-drive-by-server-side/27413/3 "2021-12-10T01:50:04Z")

</div>

Closed on December 10, 2021, 1:50am UTC

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