I wish to copy, (not move), so get a backup of my Team Drive, to another Team Drive, server side copy.
Are in the same email, in shared drives.
In first the second Team Drive, was added in another email, so i added it to my first Team Drive, so i guess that isn't a problem.
I tried this command: rclone copy TEAMDRIVE1:Varie TEAMDRIVE2:Varie -v
But with this command, use my upload.
What is your rclone version (output from rclone version)
rclone v1.49.3
os/arch: windows/amd64
go version: go1.12.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10 64bit
Which cloud storage system are you using? (eg Google Drive)
Team Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
I tried this command: rclone copy TEAMDRIVE1:Varie TEAMDRIVE2:Varie -v
A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
C:\Users\Robertus\Desktop\UP\RCLONE>rclone copy TEAMDRIVE1:Varie TEAMDRIVE2:Varie -v
2019/09/21 11:37:40 NOTICE: MYFILE.mp4: Duplicate object found in source - ignoring
2019/09/21 11:37:40 NOTICE: MYFILE.mp4: Duplicate object found in source - ignoring
2019/09/21 11:37:40 INFO : Google drive root 'Varie': Waiting for checks to finish
2019/09/21 11:37:40 INFO : Google drive root 'Varie': Waiting for transfers to finish
2019/09/21 11:38:39 INFO :
Transferred: 683.203M / 251.000 GBytes, 0%, 11.623 MBytes/s, ETA 6h7m35s
Errors: 0
Checks: 0 / 0, -
Transferred: 0 / 77, 0%
Elapsed time: 58.7s
Transferring:
--drive-server-side-across-configs=true
should work, but just to make sure that this is actually enabled - try setting it in your config instead. Use:
server_side_across_configs = true (note the different formating - copypaste it)
Put this in the bottom of each of your 2 remotes
save the config
remove " --drive-server-side-across-configs=true" from your command
then retry and see if the result is the same.
Are both of these drives accessibe under "shared drives" (previously called teamdrives) in the Google Drive website. In other words - is the user a member of both teamdrives?
I ask because it can be a bit confusing now to talk about shared files and shared drives which are fundamentally different things. Feel free to crop a small image from your Google Drive website that lists them just we can see this looks as expected.
The next thing to check would be permissions. The destination needs to have access to the source on the Share Drive to do the server side copy otherwise, it throws a 404 error as it cannot access the file.
It shouldn't - no.
I'd probably still test it to be on the safe side since it fast and easy to do. Then at least we know it's not simply the function not being enabled properly.
EDIT: For example I'm not exactly sure if command-line parameters perhaps only apply to the source. I am also not sure if both drives need this feature enabled to work properly (I just always did it that way).
If the answer to both those questions are "yes" then it may not actually work (for both drives) when set via commandline.
I added server_side_across_configs = true on rclone.conf, remove --drive-server-side-across-configs=true from the command, run, but no way. Failed to copy: googleapi: Error 404: File not found: 1koRdiGTlRTspAhIo6TzXDeewJvU8K1tyRh., notFound
about permission, i add second team drive, like Responsable, the first option, i guess the higher option.
In english:
For the source drive you need at least viewer (or any of the levels above).
For the destination drive you need at least "contributor" (or "content manager" or "manager", which are higher)
If you set both to "content manager" (full read/write/delete access) then you will definitely have no problems from these permissions.
You have to translate to your native languge as best you can from that
I expect the higher permissions are at the top of the list as they are in english.
I have no problems copying between my own teamdrives (on different domains) so it is definitely possible. We just have to identify the problem.
The 404 happens because of permissions. You'd need to turn them up so it works. You've already validated that information as you did a copy without the server side config and it worked.
The destination doesn't have enough permissions to the source.
Nice! Yes, it's required that the users are all members of the drives they need to access between so that makes sense.
Google shouldn't care if you transfer server-side. That's perfectly allowed.
Do be aware that you still will need to obey 750GB/day limit.
After that rclone will start to get only 403 errors and you will need to wait until next day to continue.
Still ... it beats manual reuploading
rclone will automatically skip any files that are already on the destination (checks file + modtime). So no problem! You can stop and start as much as you want.
You could also use --checksum to compare hash value instead (but this is not possible if both drives are encrypted - with different crypt keys as hashes will not match). This is usually overkill.
You probably will want to add --fast-list to make the drive-listing faster - if you have many files. Google drive supports this. (don't worry if it takes about a minute before you see transfer starting this is normal with --fast-sync as it lists everything first).
I also recommend you add --progress (or -P) so you can see the progress of copying - how much is left ect.
--checksum (probably not needed)
--fast-list
--progress