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
768 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
SGrossmann earned 500 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

752 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