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
771 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
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…
Suggested Courses

617 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