Copying files from one server to another with robocopy using /MIR function.....
Posted on 2013-11-14
We have an old server 2003 connected to a SAN. We also have a virtualised system, with a file server on Windows 2008 R2 and connected to a SAN.
I've so far managed to copy many TB's of information from the old on to the new. And I'm running a script every single night, that then goes and copies files from the old server on to the new one. Then at night, the new server content is backed up. This is all so that I can get the system ready to revert to the new one soon.
However, on the robocopy script I'm using the /MIR function. As an example:
ROBOCOPY "\\192.168.11.35\IT" "\\172.25.241.10\F$\IT" /MIR /COPY:DATS /r:1 /log:c:\IT.txt
But then last night, someone ended up deleting what was on the old server. So the script ran after and then it had disappeared off the new one. At least we had a backup from the night before.
I wanted to mirror, so that only the changes are copied over across and it reduces the amount of time it takes to copy things over.
My question is, until the new server is implemented, would this also be your solution? What method would you implement to reduce the chances of any such mishaps?