How can I completely copy all files and folders from a share on a Windows 2003 server to a Windows 2008r2?

Thor2923
Thor2923 used Ask the Experts™
on
have some very critcal folders and files that are stored on a Windows 2003 server that has drives mapped to a Buffalo Terastation NAS. The issue started because the NAS was having issues and we lost contact with it. I seem to have it back to a state were we can access the data that is on it, but if I plan t redeploy the device, I will need to reconfigure the RAID. In the mean time, I wanted to get our phone call history off of the Windows 2003/NAS share and put it on a Windows 2008r2 server that has it's storage mapped to a much more stable SAN. Friday night I started to copy and paste a 648GB folder from the old server to the new Windows 2008r2 server. The copy ran for hours then ended in error with some "access violation". If I compare the folders the original 2003 folder's properties display "SIZE 648 GB, SIZE on DISK 648 GB, 188,002 Files, 7515 folders. The Windows 2008r2 folder properies displays "SIZE 645 GB, SIZE on DISK 562 GB, Files 187,130, Folders 7503.

I guess I have two main questions.

1. I have noticed if I right click and do properties on any folder in WINDOWS 2008r2, there is a substantial difference between the SIZE and SIZE on DISK and Windows 2003 displays them as almost identical. Is this normal or a setting that has been set?

2. There are 12 folders and over 500 files that did not copy over properly. Is there a way to restart the copy but only attempt to bring over files that did not copy over the first time? Perhaps there is a tool that will let me do a side by side comparison of each folder to show what is missing?

All advice is welcome...thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
hi you can use robocopy see the below switches and syntax you can make use of.


http://www.mydigitallife.info/robocopy-syntax-command-line-switches-and-examples/
The difference is probably some sort of temp files the machine used for storage like installing updates.

Here's something I use for my backups:

robocopy D:\ X:\ /MIR /R:0
DavidPresident
Top Expert 2010

Commented:
Robocopy won't help.  Only professional recovery will help. Your appliance had issues and munged data.  Both corrupted files made its way to your Win2K3 system, and now you are having problems copying corrupted files elsewhere.

Just entering DIR and seeing files doesn't mean they are good.  

Also you just don't rebuild that RAID w/o doing some diagnostics and certainly without using a redundant RAID level, like RAID1.   The appliance already proved it destroys data, so why you are willing to give it a chance to destroy more data escapes me.  Run full disk diagnostics and replace the bad drive(s).
I think that robocopy, richcopy, freefilesync and similar tools could help. FreeFileSync has a nicer GUI, but I prefer robocopy, anyway. Yo can incrementally copy files from source to target without interruption. I recommend the /ZB option and /R:0 to avoid taking too long (just one attempt per file), /NP and /LOG to generate a log file: at the end of the log file you can see how many files have failed. You can analyze there the files that have failed and the reason. In case you are copying to a NAS box like the Buffalo, then please consider using /FFT if you think it is not doing incremental copies (always full ones).

If the problem is related to permissions at source, you can try the /SECFIX parameter of Robocopy:
http://blogs.technet.com/b/filecab/archive/2008/07/31/robocopy-mir-switch-mirroring-file-permissions.aspx
Things have moved on a bit in the past 11 years, security-wise, so I changed the way things work in this area slightly for the version of Robocopy that ended up in Vista, in that if you specify /SECFIX on the command line, Robocopy will copy security for skipped files that exist in both the source and the target trees.
So, to maintain two trees in sync, including their security, using Vista’s Robocopy, you can use the following as your regular Robocopy command:
ROBOCOPY <source> <target> /MIR /SEC /SECFIX
/MIR will replicate data and security (as /SEC is specified) for changed files, and /SECFIX will update just the security for unchanged files. Add /V to the command line if you want to see which files are having their security “fixed” without having their data copied.

If you find that the problem is related to permissions and /SECFIX doesn't fill your requirements, you can try the commands XCACLS / ICACLS, TAKEOWN, and/or SUBINACL to solve the problem at source.

At last, you can also try ROADKIL's unstoppable copier: http://www.roadkil.net/program.php/P29/Unstoppable%20Copier

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial