Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-08-17
1
Medium Priority
?
779 Views
Last Modified: 2013-12-02
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
0
Comment
Question by:Synocus
1 Comment
 
LVL 8

Accepted Solution

by:
SGrossmann earned 2000 total points
ID: 33453407
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question