Will robocopy with /MIR erase copied folders at the destination server where it does not have access to?

File server move:

I've copied everything, but it's not yet synced between the new server and the old server. The folder structure includes a few directories that the administrator account does not have access to. I've manually copied these, and reset the permissions to original in the destination server, and now I would like to synchronize the files in the new server in order to make the actual transition.

The question is, if I use robocopy /MIR command to copy, it generally erases files that have been removed from the source, and calls them extra files. What will happen for those subdirectories that the robocopy account cannot read in the source server, but that already exists on the destination server?

I see three possible scenarios:

a) Robocopy ignores the structure and leaves it as it is on the destination server.
b) Robocopy cannot read the source directories, so it sees the subdirectories as extra directories on the destination server, thus removing them and the content.
c) Robocopy sees the directories as extra directories, but fails to delete them due
SynocusAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
SGrossmannConnect With a Mentor Commented:
If the robocopy account is not able to read or write the source or destination it logs an error and does not delete those files and folders
0
All Courses

From novice to tech pro — start learning today.