Solved

ROBOCOPY

Posted on 2013-05-23
8
361 Views
Last Modified: 2013-05-23
Hello,

     I have a 2008R2 file server with several shares on it. I'm looking to copy those shares to another 2008r2 box and preserve the security on them. I've seen a few examples of robocopy with the switch, but none of them are working. I don't want to delete the current shares, just copy them to the new box and verify all the security is still there. Any help would be appreciated. Thank you.
0
Comment
Question by:Jharrisonsnbs
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 21

Expert Comment

by:Haresh Nikumbh
Comment Utility
have you tried robo copy with switch /SEC ??
0
 
LVL 21

Expert Comment

by:Haresh Nikumbh
Comment Utility
Other option is use NTbackup
0
 
LVL 33

Expert Comment

by:paulmacd
Comment Utility
The /SEC switch is what you need.  If you're using it and it's not working, show us the command you're running.
0
 
LVL 26

Accepted Solution

by:
ronnypot earned 500 total points
Comment Utility
Hi,

I alway use this line:

robocopy E:\Data \\Server2\E$\Data /E /B /COPYALL /SEC /MIR /R:1 /W:1

It copies the permissions and has the mirror option so during a migration I have done this before and on the time we do the final copy it only copies the changes since the previous copy.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:Jharrisonsnbs
Comment Utility
I'm not using the /SEC switch

This is what I pulled off the web:
ROBOCOPY S:\OLDSERVER D:\NEWSERVER\ /e /B /COPYALL
0
 

Author Comment

by:Jharrisonsnbs
Comment Utility
Ronnypot,

   robocopy E:\Data \\Server2\E$\Data /E /B /COPYALL /SEC /MIR /R:1 /W:1

So, the "E:\Data" is the location of my current file server and
"\\Server2\E$\DATA" is the duplicate folder name you created on the new fileserver for the data to copy to?
0
 
LVL 26

Expert Comment

by:ronnypot
Comment Utility
/SEC is the switch for copying security. All options are listed here: http://technet.microsoft.com/en-us/library/cc733145(v=ws.10).aspx

Yes E:\Data is on the original server (but you can also replace this buy \\server1\e$\data or something similar) and \\server2 is the second server.
0
 

Author Comment

by:Jharrisonsnbs
Comment Utility
Great. That sounds like the missing piece. I'll give it a try and report the results. Thank you!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
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 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…
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 …

763 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

13 Experts available now in Live!

Get 1:1 Help Now