Hello,
I am having issues syncin files that came form a shared drive. I did a copy, using the google drive gui (or rclone copy), to a shared drive.
I then copied the data form said gdrive shared account, to another account (with permissions on that drive), to the main drive.
Then i try to sync both drives AGAIN, using rclone sync, and altough all files exist on both ends, rclone says that either they do not exist, or they have differnt sizes - visually inspected, they have exactly the same byte count and procedes to do an full sync.
Also, i did pass the --dry-run flag just for showing without doing any actual sync.
This is what triggers this:
a) From GCD 1 i transfer data to a shared drive that I created on the same Google Account.
b) I go the GUI, add a user from another Google account to it.
c) I copy files to the shared drive on account 1, and then, after being copied to the shared drive, i go the account 2, and move it to the main google drive removing it from the shared drive.
d) After i try to do a rclone sync form account 1 to account 2, same folders, same files, they are indicated as missing or some issue with size althought the size is te same, and if i copy them locally, both copies have the same md5sum.
Also, if i do a rclone mount on both drives, and then do a rsync between them, rsync says that the files are the same, and does not process them.
What am i missing? Is this a bug? An ownership / creation issue?
What is your rclone version (output from rclone version
)
Rclone version:
rclone v1.54.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux/Centos
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 sync -vvvP --drive-server-side-across-configs=true --ignore-checksum --bwlimit 7M --drive-stop-on-upload-limit --update --transfers 10 --dry-run SHARED01:Datastore GGL:Datastore
The rclone config contents with secrets removed.
[SHARED01]
type = drive
client_id = SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
client_secret = XXXXXXXXXXXXXXXXXXXXXX
token = {"access_token":"XXXXXXXXXXXXXXXXXXXXX"}
root_folder_id = XXXXXXXXXXXXXXXXXXXX
[GGL]
type = drive
client_id = SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
client_secret = XXXXXXXXXXXXXXXXXXXXXX
token = {"access_token":"XXXXXXXXXXXXXXXXXXXXX"}
root_folder_id = XXXXXXXXXXXXXXXXXXXX
A log from the command with the -vv
flag
+ /usr/bin/rclone sync -vvvP --drive-server-side-across-configs=true --ignore-checksum --bwlimit 7M --drive-stop-on-upload-limit --update --transfers 10 --dry-run SHARED01:Datastore GGL:Datastore
2021/02/28 19:28:21 DEBUG : rclone: Version "v1.54.0" starting with parameters ["/usr/bin/rclone" "sync" "-vvvP" "--drive-server-side-across-configs=true" "--ignore-checksum" "--bwlimit" "7M" "--drive-stop-on-upload-limit" "--update" "--transfers" "10" "--dry-run" "SHARED01:Datastore" "GGL:Datastore"]
2021/02/28 19:28:21 DEBUG : Using config file from "/root/.rclone.conf"
2021/02/28 19:28:21 INFO : Starting bandwidth limiter at 7MBytes/s
2021/02/28 19:28:21 DEBUG : Creating backend with remote "SHARED01:Datastore"
2021/02/28 19:28:22 DEBUG : Creating backend with remote "SHARED01:Datastore/l700b9jlt4gmh199ggegj3iaq0/7cjsta0tip0mmkq1pls2msqlrs"
2021/02/28 19:28:24 DEBUG : Creating backend with remote "GGL:Datastore"
2021/02/28 19:28:24 DEBUG : Creating backend with remote "GGL:Datastore/f1252rc8m9tad85heebc9d570o/8q102jpp56f16hpmk8hu8bnc7o"
2021/02/28 19:28:24 DEBUG : Google drive root 'GGL:Datastore/f1252rc8m9tad85heebc9d570o/8q102jpp56f16hpmk8hu8bnc7o': root_folder_id = "0AAlyJM_OH3LAUk9PVA" - save this in the config to speed up startup
2021-02-28 19:28:29 NOTICE: AAAAA001.DAT: Skipped copy as --dry-run is set (size 377.357M)
2021-02-28 19:28:29 NOTICE: AAAAA002.DAT: : Skipped copy as --dry-run is set (size 395.522M)
2021-02-28 19:28:29 NOTICE: AAAAA003.DAT: : Skipped copy as --dry-run is set (size 599.988M)
2021-02-28 19:28:29 NOTICE: AAAAA004.DAT: (size 463.446M)