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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
A procedure for exporting installed hotfix details of remote computers using powershell
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 show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now