[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 665
  • Last Modified:

Is this Robocopy command/syntax correct?

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
nhawkinsVA
Asked:
nhawkinsVA
  • 2
1 Solution
 
jatkinsCommented:
Try it like this using the UNC path:

robocopy //Server1/D$/Folder1/ //Server2/D$\Folder2
0
 
yelbaglfCommented:
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
 
nhawkinsVAAuthor Commented:
Thanks!
0
 
yelbaglfCommented:
You're most welcome!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now