Using Robocopy over network

tec1912 used Ask the Experts™
Need to transfer 20gb worth of files from 2003 SBS server to new 2008 server over network (at night). Told Robocopy was the best method. Can someone give me the proper command line with switches so that I make Identical copy on the new server.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Robocopy will work well for this. The switches you will want to run will be /mir /sec /copyall /zb
And actually if you are transferring over a lan connection 1gb you may want to take a look at richcopy as well. Richcopy and robocopy will do basically the same thing for you but Richcopy is multithreaded and can copy multiple files at a time.

Robocopy gui download

Richcopy download
robocopy C:\folder C:\folder /COPYALL /E /R:0

/COPYALL = Data, security, timestamp,
/E =  Recursively
/R:3 = Retry locked files (replace number with number of tries)

You can also use /MIR which will  mirror all meaning it will remove anything in the destination that was not in the source so use with caution.
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Hi,  use below script to copy the data from one server to another without lossing of security.


SET _source=\\FileServ1\e$\users

SET _dest=\\FileServ2\e$\BackupUsers

:: /COPYALL :: COPY ALL file info
:: /B :: copy files in Backup mode.
:: /SEC :: copy files with SECurity
:: /MIR :: MIRror a directory tree

SET _options=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL
:: /R:n :: number of Retries
:: /W:n :: Wait time between retries
:: /LOG :: Output log file
:: /NFL :: No file logging
:: /NDL :: No dir logging

ROBOCOPY %_source% %_dest% %_what% %_options%



Jay, (forgive the ignorance) .. your example line "source=\\FileServ1\e$\users"
e$ ... Is that stand for a share drive?
No.. its not a shared drive.. This is the  default admin share for the administrators.  It is just an example I gave you. If your existing data is purely a share drive, you can ignore the "$' and replace with your normal share name.

If your not 100% familiar with the command line version of the program I would highly suggest using the GUI version I posted above. It lets you easily browse to and select your source and destination drives. This will make it alot less likely do mess somehting up.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial