Solved

Is this Robocopy command/syntax correct?

Posted on 2011-03-04
4
657 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
[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
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
NIC teaming VMware vSwitch 9 58
Dell R730 NVMe Raid Options 4 128
HP Storage and Cisco Nexus 4 68
Backup Strategy 13 63
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

739 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