genesis Posted June 1, 2017 Posted June 1, 2017 (edited) Hi Currently, we have Win2003 file server and the student’s home directories are located on this server. Now I would like to Copy all the student Home directories from Win2003 to a new Win2012 server and also would like to copy the permissions and the directory time stamps. The following is the Robocopy syntax that i got it over the internet. I ran this command from Win2012 server and tried copying few home directories and it copies all the folders of individual students home directories and with the relevant folder permissions. Robocopy \\Win2003\StuDoc\07 \\Win2012\StuDoc\07 /s /e /copyall /dcopy:T /tee /log:c:\temp\copylog.txt Please let me know if i need to add \remove any characters in the Robocopy command. Any suggestions much appreciated. Thanks in advance Edited June 1, 2017 by genesis
sonic1485 Posted June 1, 2017 Posted June 1, 2017 I have done a similar thing over the holiday except using xcopy and not taking the timestamps across. xcopy \\server1\studentarea \\server2\studentarea /O /X /E /G /K /C This will copy all files and subfolders, ignore encrypted files and continue copying if it encounters an error
genesis Posted June 1, 2017 Author Posted June 1, 2017 (edited) Thanks for the syntax and used the below syntax in my environment. xcopy \\Win2003\StudDoc\14 \\FHS-DFS-001\StuDoc\14 /O /X /E /G /K /C There are 200 home directories within the folder "14" and it has copied only 96 folder and it has stopped with an error "Insufficient memory" Windows 2012 server has sufficient resources. \\Win2003\StuDoc\14\14abarnes\Computer Studies\ICT top tips\Lesson 4 - Networking & Broadband Deals.docx Insufficient memory 14414 File(s) copied C:\> Any help would be great Edited June 1, 2017 by genesis
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now