Sync&backup workflow on Windows

Is any workaround way sync x:\ (root) to y:\ (root)?

I mount this root as desktop for different operating systems.

You won’t get a consistent copy. use MS copy/restore. it would be far better in that use case imho.

Does that not work? What error message does it give?

Thanks,
can I use MS copy command in the same bat file along with the rclone commands(in the case if I will not push rclone to do it for me)?

For example first line rclone cloud sync, second line MS local copy command.

P.S. MS copy works for files only. I have to use robocopy or xcopy for root directory(partition) instead.

That is saying that it couldn’t complete because it couldn’t open the directrory “System Volume Information”, so you either need to run as Administrator or exclude that directory from the sync.

The same story with cmd as admin.

I can say that there is no such files “System Volume Information” even if hidden.

The drive is generic laptop sata hdd via usb 3.0

Strange! rclone will have received that from a directory listing on the I: drive so it is seeing it.

Solved.

System Volume Information folder is Windows OS specific files. There is way to destroy them (I`ve excluded it by rclone).

it`s working now. But not as I expected.

Ive reduced errors several times, but these left I cant recognize.—>

2017/01/21 13:12:01 exclude.txt: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2017/01/21 13:12:42 Local file system at \?\I:: not deleting files as there were IO errors
2017/01/21 13:12:42 Attempt 1/3 failed with 1 errors and: not deleting files as there were IO errors
2017/01/21 13:12:44 exclude.txt: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2017/01/21 13:12:45 Local file system at \?\I:: not deleting files as there were IO errors
2017/01/21 13:12:45 Attempt 2/3 failed with 1 errors and: not deleting files as there were IO errors
2017/01/21 13:12:47 exclude.txt: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2017/01/21 13:12:48 Local file system at \?\I:: not deleting files as there were IO errors
2017/01/21 13:12:48 Attempt 3/3 failed with 1 errors and: not deleting files as there were IO errors
2017/01/21 13:12:48 Failed to sync: not deleting files as there were IO errors

The listed above is the result of this:

OK that is a bug in go which I reported, and has been fixed: https://github.com/golang/go/issues/17500

Go 1.8 will be out in time for rclone 1.36 so the fix will be in then.

In the mean time - try this build - http://pub.rclone.org/rclone-v1.35-42-g9fdeb82-windows-go-tip.zip

OK
Your build works just fine, thanks!

Im trying to replace my sync software but still cant get rclone to work as classic sync tool.

It doesn`t create empty directories on destination(local drive).

Is something wrong with my bat file? log file with -q is empty after ending operation.

e:
cd rclone

rclone --exclude-from exclude.txt sync E:\ I:\ --config="E:\rclone\.rclone.conf" -q --log-file=E:\rclone\feedback.log

rclone rmdirs I:\ --config="E:\rclone\.rclone.conf" -q --log-file=E:\rclone\feedback.log # removing all empty directories

rclone mkdirs E:\ I:\ --config="E:\rclone\.rclone.conf" -q --log-file=E:\rclone\feedback.log # trying to create accourding to source empty directories

Great thanks for confirming :slight_smile:

rclone doesn’t sync empty directories. It isn’t usually a big deal - here is the relevant issue: https://github.com/ncw/rclone/issues/100

it happened again, I dont understand how it gave me good result only for once. well, Im waiting for Go 1.8!

2017/01/22 14:04:58 152x56 72.56dpi ~O-O~.psd - Shortcut.lnk: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 350px-Maslowsneeds_ru.svg.png: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 power off.bat: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 Screenshot 1.png: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 The Workflow - Shortcut.lnk: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 The Software Tools/306px-Open_Source_Initiative_keyhole.svg.png: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 Blender low priority.bat: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 Learn/Advanced Sharpening and Noise Reduction in Photoshop.mp4: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 Bookmarks offline/backblue.gif: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 doudoulinux-hyperborea-2.1-en.iso: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/.aspell.en.prepl: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/.aspell.en.pws: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/037-branch-bird-204830397-2400px.png: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/0a08568cc6b2866c5ca8ad0c5bac78c2.jpg: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/0_114cef_2487706_orig.png: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/0_71c3a_6cf6a958_orig.png: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/0_8424b_82156ba6_orig.png: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/0_89c93_5307f815_L.png: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/0_89c94_eff01c94_L.png: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/11051728256_b8743bf47a_o.jpg: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/11682747993_5e970c8b5f_o.jpg: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 art4cncTemp/11741622676_64c80da866_o.jpg: Failed to copy: mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2017/01/22 14:04:58 qimo

So its about a year has gone, Ive used another sync tool for local sync but missed for rclones "poor mans" style.
I have the brand new PC but the issue is still the same: mkdir \?: The filename, directory name, or volume label syntax is incorrect. while trying to sync two local partitions:
cd c:
c:\rclone sync r:\ s:\ --exclude=“dendenis82” --exclude=“pagefile.sys” --exclude="/$RECYCLE.BIN/**" --exclude="/System Volume Information/****" -v

1.38

It`s seems like ok if sync not root paritions.
Is any I can do with tihis? Please, share, if someone have good Windows local sync workflow.

P.S. doing replies about cmd is horrible, something disappeared, something have used as html or ? formatting.

Try the latest beta and see if that helps?

First of all thank you for the good software.
I was testing beta, so figured out some details: source can be root folder of partition but destination cant. I think Im OK using it in that way.
So finally I have friday night syncing silent single bat for both cloud and local backup…

P.S. It seems like 1.38 working in similar way(does sync if dest isnt root folder)