Solved

Copy with Robocopy on Server 2012

Posted on 2015-01-10
3
291 Views
Last Modified: 2015-01-10
On Server1 (Server 2003) I created a Test folder, shared it and gave it some unique permissions.  I added a couple of files and folders giving them unique permissions as well.

I wish to get this folder over to Server2 (Server 2012 R2).

I tried the following command from Server2 in the hopes of getting this to Server2 D drive:

robocopy \\Server1\test d:\ /E /J /COPYALL /DCOPY:DAT >c:\robo.log

Only the contents (and their permissions) of test copy over... not the test folder itself.  I then tried:

robocopy \\Server1\test d:\test /E /J /COPYALL /DCOPY:DAT >c:\robo.log

A test directory was created and contents copied... but the unique permission of test itself was not copied nor was it shared (retaining shared permissions).

Can Robocopy replicate shares?
0
Comment
Question by:classnet
[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
3 Comments
 
LVL 70

Accepted Solution

by:
Qlemo earned 500 total points
ID: 40541853
RoboCopy will not copy a share. It copies files and folders contained in the source folder, but not the folder itself.
You need to manually set permissions and share info on the target folder.
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40541913
As Qlemo has stated above, Robocopy cannot copy shares. There is a method with the registry you can use to move all shares from one server to another but I wouldn't recommend this if you're using it for a single share.

The recommended method is to check the share permissions on the old server and replicate them manually across to the other server.
0
 

Author Closing Comment

by:classnet
ID: 40541917
Thank you
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

630 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