I need to migrate a Jenkins server from Windows to Linux, taking all job configurations and build history with me on the way. My first attempt in copying the data over was with cwRsync. This was able to copy everything incl. symlinks (Jenkins uses them to mark last failed or stable builds, for example), but due to the sheer amount of data, this approach wasn’t feasible.
Since I also use SyncThing for other things already, I tried this approach, only to find out that symlinks are not supported on Windows, which I can’t understand. They just work fine, and, as the rsync example above shows, they can even be reproduced on Linux.
I also can’t reproduce the “dir /s” example you mention. There’s no recursion whatsoever, on both Windows Server 2008 R2 and 2012 R2.
So, I grabbed the ST sources and modified them to support Symlinks on Windows, and it’s working just fine, at least for my use case.