I am about to start pulling my hair out over this. I have spent most of the day trying to find a away to copy several hundred GB of data from one drive to another on my file server without blowing away all the permissions and share settings. I have been toying with XCOPY and ROBOCOPY all day and have been unsuccessful. Once I think I have it working correctly, I am unable to duplicate the results. I have read through numerous posts here and followed many of the links already provide and to now avail. Does anyone know a way to accomplish this? I realize that preserving the share names many not be possible but I am for more concerned with the the countless various NTFS permissions that are in place throughout the directory tree. here are a few of the commands I have been running through.
robocopy \\server\share$\path \\server\share$\path /COPYALL /E /V /LOG:C:\ROBOCOPY.TXT
Additionally, I want to send the output to a text file to view all skipped and failed files.
There has got to a be a working script out there somewhere to accomplish this task.