Solved

RoboCopy Command Help

Posted on 2013-01-19
5
364 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
  • 2
  • 2
5 Comments
 
LVL 13

Expert Comment

by:upalakshitha
Comment Utility
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
Comment Utility
0
 
LVL 3

Accepted Solution

by:
smgoncalves earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Exactly I have no remember to tell.you will find from it's menu.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

743 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

18 Experts available now in Live!

Get 1:1 Help Now