?
Solved

RoboCopy Command Help

Posted on 2013-01-19
5
Medium Priority
?
373 Views
Last Modified: 2013-01-25
Have a file share that I need to migrate from one server to another and retain all of the NTFS permissions.  The source is \\Server\Data and the destination is \\App01\Data.  Need to copy all of the files and subfolders.  

Can someone help me out with the proper command?
0
Comment
Question by:AutomatedIT
[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
  • 2
  • 2
5 Comments
 
LVL 13

Expert Comment

by:upalakshitha
ID: 38797556
Microsoft rich copy is the best tool to do this. It is in both GUI & command line.
Has many features over robo copy. By enabling it's advanced settings you can copy very faster than robo copy. Can preserve NTFS permissions & you can change them too very easily. It can process multi thread which  can use to copy faster than robo copy. Try it
http://social.technet.microsoft.com/Forums/en-US/w7itproperf/thread/33971726-eeb7-4452-bebf-02ed6518743e/
0
 
LVL 3

Expert Comment

by:smgoncalves
ID: 38797558
0
 
LVL 3

Accepted Solution

by:
smgoncalves earned 2000 total points
ID: 38797563
OR

robocopy “\\OLDSERVER\OLDSHARE\” “\\NEWSERVER\NEWSHARE” /S /E /COPY:DATS

The command basically tells robocopy to copy the contents from the UNC path of the old share, to the UNC path of the new share. The /S and /E tell robocopy to copy any subdirectories, and empty directories. In this example the /COPY:DATS tells robocopy to copy the Data, Attributes, Timestamps and Security information. There are a couple of other elements that you can also copy if you want. To copy everything use /COPY:DATSOU or alternatively /COPYALL. Here is a list of all the flags you can use with the /COPY: part of the command:

D – Data
A – Attributes
T – Timestamps
S – Security i.e. NTFS permissions
O – Owner information
U – Auditing information

-smgoncalves
0
 
LVL 1

Author Comment

by:AutomatedIT
ID: 38798660
upalakshitha  --  What options would I use on Rich Copy to get all of the files and the security settings?


smgoncalves   --  Thanks for the command.  Will give it a try.
0
 
LVL 13

Expert Comment

by:upalakshitha
ID: 38799548
Exactly I have no remember to tell.you will find from it's menu.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

649 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