# Clone a Shared Drive to Another Shared Drive within the same Gsuite Domain

**URL:** <https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693>\
**Category:** Help and Support\
**Created:** [October 9, 2020, 2:01pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693 "2020-10-09T14:01:31Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrCaspan](https://forum.rclone.org/user_avatar/forum.rclone.org/mrcaspan/32/7372_2.png) [@MrCaspan](https://forum.rclone.org/u/MrCaspan)\
**Post date:** [October 9, 2020, 2:01pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/1 "2020-10-09T14:01:31Z")

</div>

We have a client that is looking for a copy of their data. We currently use Shared Drives in Google Workspace to store all of a clients data the shared Drive would be called "\_ClientName"

If I created a new shared drive called "\_ClientNameCopy" and wanted to copy all the contents from one to the other I could use just the copy command but that requires downloading of the data it seems then reuploading it. Also any google docs get converted to Microsoft docs which we don't want.

I was reading up on the --drive-shared-with-me but this does not seem like it is meant for copy from Shared Drive to Shared Drive. Am I mistaken here or how would I do a transfer in the cloud from one folder to the other?

The command I tried was  
rclone.exe copy \_ClientNameCopy:\ \_ClientNameCopy:\ -P --drive-shared-with-me

It just finishes without copying anything

---

<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:** [October 9, 2020, 2:05pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/2 "2020-10-09T14:05:36Z")

</div>

hello and welcome to the forum,

when you posted, you were asked for information, so we can help you.

---

<div class="post-metadata">

**Author:** ![MrCaspan](https://forum.rclone.org/user_avatar/forum.rclone.org/mrcaspan/32/7372_2.png) [@MrCaspan](https://forum.rclone.org/u/MrCaspan)\
**Post date:** [October 9, 2020, 2:33pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/3 "2020-10-09T14:33:05Z")

</div>

I am more asking how to use this command then I am saying there is an issue with it. I can post all that other information but it's not required to answer the question in my opinion. I am looking to clone a Google Shared Drive to another Shared Drive from within the same Workspace/Gsuite domain. Am I using this command right..

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [October 9, 2020, 2:38pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/4 "2020-10-09T14:38:09Z")

</div>

On the surface that may seem correct, but unfortunately those answers depend on:

- your version
- your rclone.conf

A debug log helps and shows the full command and output to reference.

That's why we have the template.

---

<div class="post-metadata">

**Author:** ![MrCaspan](https://forum.rclone.org/user_avatar/forum.rclone.org/mrcaspan/32/7372_2.png) [@MrCaspan](https://forum.rclone.org/u/MrCaspan)\
**Post date:** [October 9, 2020, 3:04pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/5 "2020-10-09T15:04:05Z")

</div>

sure sorry  
Version:

```auto
C:\rclone>rclone version
rclone v1.53.1
- os/arch: windows/amd64
- go version: go1.15

```

Command Output

```auto
    C:\rclone>rclone.exe copy _Client:\ _ClientCopy:\ -P --drive-shared-with-me -vv
2020/10/09 10:50:24 DEBUG : rclone: Version "v1.53.1" starting with parameters ["rclone.exe" "copy" "_Client:\\" "_ClientCopy:\\" "-P" "--drive-shared-with-me" "-vv"]
2020/10/09 10:50:24 DEBUG : Using config file from "C:\\Users\\user1\\.config\\rclone\\rclone.conf"
2020/10/09 10:50:24 DEBUG : Creating backend with remote "_Client:\\"
2020/10/09 10:50:24 DEBUG : fs cache: renaming cache item "_Client:\\" to be canonical "_Client:"
2020/10/09 10:50:24 DEBUG : Creating backend with remote "_ClientCopy:\\"
2020/10/09 10:50:24 DEBUG : fs cache: renaming cache item "_ClientCopy:\\" to be canonical "_ClientCopy:"
2020-10-09 10:50:24 DEBUG : Copy: Loaded invalid token from config file - ignoring
2020-10-09 10:50:24 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2020-10-09 10:50:24 DEBUG : Copy: Saved new token in config file
2020-10-09 10:50:25 DEBUG : Google drive root '': read info from team drive "_Client"
2020-10-09 10:50:25 DEBUG : Google drive root '': read info from team drive "_ClientCopy"
2020-10-09 10:50:25 DEBUG : Google drive root '': Waiting for checks to finish
2020-10-09 10:50:25 DEBUG : Google drive root '': Waiting for transfers to finish
2020-10-09 10:50:25 INFO : There was nothing to transfer
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time: 1.8s
2020/10/09 10:50:25 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time: 1.8s

2020/10/09 10:50:25 DEBUG : 8 go routines active

C:\rclone>

```

Config Copy

```auto
[_Client]
type = drive
scope = drive
token = {"access_token":"MASKED FOR SECURITY","token_type":"Bearer","refresh_token":"MASKED FOR SECURITY","expiry":"2020-10-09T10:52:15.6447819-04:00"}
team_drive = 0AIAGIgxnwHCPUk9PVA
root_folder_id = 

[_ClientCopy]
type = drive
scope = drive
token = {"access_token":"MASKED FOR SECURITY","token_type":"Bearer","refresh_token":"MASKED FOR SECURITY","expiry":"2020-10-09T11:50:23.2762888-04:00"}
team_drive = 0AM9rqJLo_hNgUk9PVA
root_folder_id = 

```

---

<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:** [October 9, 2020, 3:13pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/6 "2020-10-09T15:13:32Z")

</div>

hi,

i am not a gdrive expert and this will not solve the problem.  
you might want to use [https://rclone.org/drive/#drive-server-side-across-configs](https://rclone.org/drive/#drive-server-side-across-configs)

---

<div class="post-metadata">

**Author:** ![MrCaspan](https://forum.rclone.org/user_avatar/forum.rclone.org/mrcaspan/32/7372_2.png) [@MrCaspan](https://forum.rclone.org/u/MrCaspan)\
**Post date:** [October 9, 2020, 3:26pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/7 "2020-10-09T15:26:43Z")

</div>

I never saw this switch... I am testing and will get back to you!

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [October 9, 2020, 3:53pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/8 "2020-10-09T15:53:23Z")

</div>

The first thing to do is to make sure that `rclone ls _Client:` lists the team drive.

I suspect from your log above that it will just be an empty directory listing. So is this listing the correct team drive?

---

<div class="post-metadata">

**Author:** ![MrCaspan](https://forum.rclone.org/user_avatar/forum.rclone.org/mrcaspan/32/7372_2.png) [@MrCaspan](https://forum.rclone.org/u/MrCaspan)\
**Post date:** [October 9, 2020, 5:17pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/9 "2020-10-09T17:17:14Z")

</div>

`rclone.exe copy _Client:\ _ClientCopy:\ -P --drive-server-side-across-configs=true`

This worked perfectly fine and its in the process. I went from ETA 1w to ETA 2 hours!!!

---

<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:** [October 9, 2020, 5:25pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/10 "2020-10-09T17:25:15Z")

</div>

great!  
let us know if the process completes or not

---

<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 9, 2020, 1:25pm UTC](https://forum.rclone.org/t/clone-a-shared-drive-to-another-shared-drive-within-the-same-gsuite-domain/19693/11 "2020-12-09T13:25:18Z")

</div>

Closed on December 9, 2020, 1:25pm UTC

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