New answers tagged robocopy
I've done window 2 windows rsync using the CygWin framework a couple of years back. Rsync + sshd is definently doable. I also found this and it looks like it might make windows-rsyncing easier than ever: http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp We usually clone the data to through physical disks first to make the "first sync" as fast as possible ...
You should have a look into DFS - Distributed File System (Microsoft) that does pretty much what you want, transparently. And it does even more
I don't think I understand what you mean by "simple delete folder and copy using remote-desktop, it finishes in about 5 seconds". You mean you actually delete a single folder from the staging server, then copy the whole hierarchy over to the web server over RDP and the whole thing takes 5 seconds? Are you telling it to skip all files it already finds in the ...
The /is flag will overwrite files. It is 'include same files', and should accomplish your task. I would also use /W:1 to set the retry wait time to 1 second, rather than the default 30. Your delay might be from locking on your target side; have you checked that out? I don't know of a way to copy without checking, but that should get you where you need to ...
You can not copy file into network share bigger than available space in drive C: if offline files are enabled in Sync Center. Click Start - Type "Sync Center", and check if your share is marked as offline. This is not limited to servers, this can happen on any Windows version including Windows 7 and Windows 8. Offline files can be easy enabled by accident ...
It's likely you can reproduce your problem by trying the following in PowerShell: robocopy a b * "/e /purge" If this is true, parameter expansion is what's causing your problem. To work around this, you can go this route: iex "$srcLocation $destLocation $files $options"
Top 50 recent answers are included