Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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
?
776 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 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

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

705 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