Solved

Is this Robocopy command/syntax correct?

Posted on 2011-03-04
4
642 Views
Last Modified: 2012-05-11
I need to copy 1.82TB of data from a WD 2TB MyBook connected to a Server 2003 R2 Standard box via USB to an 8TB WD ShareSpace on my network.  

Would this syntax be correct for the scenerio above?  

robocopy \\E:\Archives_HW11521 \\Y: /sec /w:1 /r:1 /log:c:\temp\logfile.txt

The destination drive is mapped as E: and the folder is Archives_HW11521.  The 8TB network drive is mapped as the Y: drive on the server.  I am looking to make a copy while maintaining the file structure/permissions and not blowing anything up.
0
Comment
Question by:nhawkinsVA
  • 2
4 Comments
 
LVL 1

Expert Comment

by:jatkins
ID: 35040862
Try it like this using the UNC path:

robocopy //Server1/D$/Folder1/ //Server2/D$\Folder2
0
 
LVL 11

Accepted Solution

by:
yelbaglf earned 500 total points
ID: 35040865
Change this...
robocopy \\E:\Archives_HW11521 \\Y: /sec /w:1 /r:1 /log:c:\temp\logfile.txt

To something like this...
robocopy Y:\ E:\Archives_HW11521 /e /copyall /r:3 /w:3 /v /ts /fp /np /log+:E:\Archives_HW11521\cpLog.log /TEE

This will copy over data, attributes, and time stamps plus ACL's, ownership, and audit information.  It will also create a log file at E:\Archives_HW11521\cpLog.log.  Please note that the syntax reflects [source] then [destination].
0
 

Author Closing Comment

by:nhawkinsVA
ID: 35085494
Thanks!
0
 
LVL 11

Expert Comment

by:yelbaglf
ID: 35086723
You're most welcome!
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

Suggested Solutions

I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

759 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

23 Experts available now in Live!

Get 1:1 Help Now