Failed to sync: can't sync or move files on overlapping remots

Hello! I'm running a bash script on Raspbian with the following code:

export RCLONE_CONFIG=/home/pi/.config/rclone/rclone.conf
rclone sync -vv "/home/pi/minecraft" "GDrive/MServerBackup" --local-no-check-updated --skip-links

cd /home/pi/minecraft
exec java -jar -Xms512M -Xmx2008M spigot-1.15.2.jar nogui

However, it gives me a fatal error outlined below:

2020/03/11 10:49:31 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "sync" "-vv" 
"/home/pi/minecraft" "GDrive/MServerBackup" "--local-no-check-updated" "--skip-links"]
**2020/03/11 10:49:31 DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"**
**2020/03/11 10:49:31 ERROR : Fatal error received - not attempting retries**
**2020/03/11 10:49:31 Failed to sync: can't sync or move files on overlapping remotes**

It then stops the sync but continues to the next command.

Here's my rclone.conf file with personal data removed:

type = drive
client_id = xxx
client_secret = xxx
scope = drive
token = {"access_token":"xxx$
root_folder_id = xxx

Any help would be appreciated.

hello, not sure that we can call this a bug

perhaps change




you are missing the colon

1 Like

Oh wow - it was that simple!

I have a question while I have you - is there a reason that


in the sync command doesn't need a colon?

Just making sure I'm coding it right!


local folders and files do not need a colon.
only remotes do.

1 Like

Ah - that makes sense - thank you!

One more brain teaser - while running that code I'm noticing it's looping infinitely and creating an additional folder withing the destination path.

So within GDrive:/MServerBackup it's creating another folder called GDrive and within it another MServerBackup

Even though those paths don't exist within the source.

Are you sure those don't exist? They might have been created by the first command you ran without the ':'. A logfile debug and the current command would help sort it.

Oh crud - yep that was it.

Thanks everyone!!!

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