Solved

Xcopy across a slow network

Posted on 2008-10-08
4
1,250 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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
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 video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

729 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