Solved

Xcopy across a slow network

Posted on 2008-10-08
4
1,220 Views
Last Modified: 2008-10-10
I am trying to do an xcopy of a large workgroup drive from another computer on the network.  NTBackup would always fail with no explanation. and no log file - - -computer actually restarts.

When I do a down and dirty xcopy, I see that the network drive is lost after about 800 M of transfer.  I did it again and got much farther.

I see the

/Z           Copy files in restartable mode. If the copy is interrupted part
                way through, it will restart if possible. (use on slow networks)

But have never used this switch.  if my network connection is timing out, are there any other options? With this switch, I assume it won't pick up where left off <g> but simply reissue the command?

I am also wondering if the ntbackup fauliure and machine reboot is related to the xcopy telling me the connection was lost?
0
Comment
Question by:Mixmangle
[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
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 250 total points
ID: 22672784
For large file transfers you're better off using Robocopy.  It won't re-copy identical files which already exist in the destination.  Like xcopy it has a /Z switch which allows the transfer of an individual file to be resumed if it gets interrupted.  However, using it slows down the file transfer quite a bit.
http://en.wikipedia.org/wiki/Robocopy

If the machine is spontaneously rebooting then it likely has problems which are unrelated to this file transfer.  Check for bad RAM, overheating, bad capacitors on the motherboard, etc.
0
 
LVL 2

Author Comment

by:Mixmangle
ID: 22674822
I had used robocopy a few times. Tried it on the same machine, same connection and it got all the way without any special switches whereas xcopy would report network timeouts.  I know there are additional switch options for robocopy but, againm without any special switch options robocopy completed 3 out of three while xcopy kept giving network timeout errors.  

ROBOCOPY must be more tolerant of network problems "out of the box" so to speak.

Thanks for the suggestion
0
 
LVL 2

Author Comment

by:Mixmangle
ID: 22681004
OK.  Robocopy seems to handle the network quirks better than xcopy.  I will also look into the gui.

So, if I want to run robocopy daily on the same directory and subs and then only copy new/changed files on each subsequent run . . . . .

robocopy x:\*.*  c:\robocopy  /s  /z

I guess where I am a bit confused . . .will it only copy new or changed files by default . . . . . . or do I need to ad another switch.  I'm using /s  (maybr /e) for subs . . . and /z for retires .  But is the part about only newer or changed in subsequent runs . . .is that incuded by default or do I need to specify something else. I downloaded the gui as well
but I just need a temp bandaide and I don;t need all the logging or anything more than above.

0
 
LVL 38

Expert Comment

by:Shift-3
ID: 22681566
Robocopy's syntax requires you to specify directory paths, so you'd want to remove the *.* from that command.
robocopy x:\ c:\robocopy /s /z

Its default behavior is only to copy new or changed files.  It skips ones which already have identical copies in the destination.  You don't need any additional switches.

If you want you can use /PURGE or /MIR to delete files which exist in the destination but not in the source.
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access shared drive during VPN session 9 115
BGP routing on Windows 2016 7 117
RRAS AND DNS 15 69
Password recovery software 4 38
Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 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