Link to home
Start Free TrialLog in
Avatar of Sheldon Livingston
Sheldon LivingstonFlag for United States of America

asked on

Copy with Robocopy on Server 2012

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?
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of Sheldon Livingston

ASKER

Thank you