robocopy Windows 2008
Hello,
We have to migrate all our files on our file servers E drive partiton to the H Drive on the same Windows 2008 R2 server and keep all permissions and file attributes. What command line would I need to use?
I did try this, but am not sure if it covers everything I need:
robocopy e:\ h:\ /copyall /e
Please help.
January 14th, 2011 11:34am
that command line is ok it will copy everything you need.
You can also consider using /SECFIX /TIMFIX switchesWith kind regards
Krystian Zieja
http://www.projectnenvision.com
Follow me on twitter
My Blog
Free Windows Admin Tool Kit Click here and download it now
January 14th, 2011 11:57am
What do those switches do?
January 14th, 2011 3:27pm
/SECFIX : FIX SECurity info on existing files and dirs.
/TIMFIX : FIX Timestamp on all existing destination files, including skipped files.
With kind regards
Krystian Zieja
http://www.projectnenvision.com
Follow me on twitter
My Blog
Free Windows Admin Tool Kit Click here and download it now
January 15th, 2011 8:54am
I had a problem I ran:
robocopy e:\ h:\ /copyall /e
and it was running for hours, it mange to copy around 1TB and then it paused on a file and said access denied. I found the server had no permission to the file. How can I take owernship of the file during the copy?
I don't want to ship the file either as it could be important.
January 15th, 2011 12:56pm
Try to use /B or /ZB to copy the files which you do not have permission.
Or change the retry time to skip these files but output a log so that you will get the file name of which files are skipped. Take ownership of these files and copy again.Shaon Shan |TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
January 18th, 2011 9:45pm