Solved

Is this Robocopy command/syntax correct?

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Losing network connectivity 8 70
SonicWALL SIP Transformation Problem 4 50
File copy time stamp question 6 52
Creating and Connection two new domains 5 75
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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…
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…

914 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

21 Experts available now in Live!

Get 1:1 Help Now