Xcopy not copying all the files
Posted on 2014-04-10
I have a SBS2001 that has a lot of data files that I need to backup because I need to move these files to the new server(SBS2011).
I attached an external USB hard drive to old server and ran XCOPY command.
It is like this: XCOPY C:\ABC\*.* F:\ABC /c /d /i /e /y
After XCOPY was done in command window, I realized that the files in USB backup hard drive has significantly less files than those on the file server.
I went thru one folder at a time from the beginning and compared the number/size of original folder on the file server against that of USB hard drive and I found one/first folder that showed the difference in size/number.
I used Windows Copy/Paste on that particular folder. After copying was done, I compared the size/number and they matched up. But there are simply too many folders to go thru one at a time.
I guess I can also do Copy/Paste the entire folder and do it that way too if that is more reliable.
But I thought if you select & copy a root folder that has almost 100GB of files and try to paste, it may lock up the server due to heavy usage of memory ... that was just my guess.
Do you know if there is an inherent issue/problem in XCOPY command? or Copy and Paste operation is better and accurate?
** Some may wonder why I did not choose Windows backup and Restore or why not put those two servers on the same network. First both servers have identical name and IP address. Second I wanted to copy as many files as possible in advance and paste them over to the new server so that on the day of deployment, I can simply copy "Changed or New" files using XCOPY command.