Solved

XCOPY vs. ROBOCOPY

Posted on 2007-03-26
2
3,226 Views
Last Modified: 2012-08-13
Hello,
This is just for my own bit of knowledge. From reading on some sites, these two seem to provide the same functions. When is it prudent to use one over the other?

Thanks.
0
Comment
Question by:punchie123
2 Comments
 
LVL 68

Accepted Solution

by:
Qlemo earned 25 total points
ID: 18794560
robocopy helps you to create a EXACT copy, while xcopy can only add or modify files, not delete. And, you can ask robocopy to give y list of only newer, older , same files, and has many other useful options like retry on error.
0
 
LVL 5

Assisted Solution

by:epochasset
epochasset earned 25 total points
ID: 18794573
Robocopy (robust copy) is an enhanced xcopy in a sense.  It provides a plethora of additional options, the most common of which are used to synch up one file system location with another (see the /MIR option, and /SEC for ACL data).  Aside from its expanded feature set over xcopy, robocopy has the ability to recover from errors in reading the file system (either bad blocks, or MFT corruption), in that it handles these (and allows you to set how many can occur before it skips the object its having a problem with), where xcopy will just die.

If you need to make sure a file system transfer (even from one machine to another over UNC) is as accurate as possible, use robocopy.exe, as while xcopy provides basic functionality, it will not recover from errors.  For example, if you are replacing a disk with bad blocks, you can use robocopy to transfer the contents that are accessible on the disk to another one, while if xcopy is used for the same thing, it will just die on the first bad block accessed or the first MFT object found that is corrupted and unreadable.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Moving SQl Server SBS 2003 to SQL Server 2014 27 119
ports for sccm 2012 1 73
Windows Update not working 12 114
Roaming profile & Office 365 3 62
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

930 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

10 Experts available now in Live!

Get 1:1 Help Now