ROBOCOPY & Windows Server 2012
Hello Friends,
we all had habit of using ROBOCOPY command in all file server migration or data migration and what switch we always use is as mentioned below.
Typical System Admin usage this command to copy data to quickly create files on destination folder.
Robocopy \\oldfp1\D$\ D:\ /create /e /r:1 /w:5 /log+:C:\copy-D.txt /tee /nfl /ndl /np /xd RECYCLER "System Volume Information"
How Windows 2012 Robocopy reacts on this command :
Dcopy: DA and Copy:DAT now what happen is 2012 Robocopy just copy files without permission or security. No matter if you run /copyall command after this it doesn't change the permission.
My suggestion to my fellow Wintel admins to use.
Robocopy \\Oldfp1\E$\ E:\ /create /copyall /e /r:1 /w:2 /log+:C:\copy-E.txt /tee /np /xd RECYCLER "System Volume Information"
/Create and /Copyall will not only copy files but copies permissions too.
I hope the point i am trying to make here is clear and it make sense!
Hello Friends,
we all had habit of using ROBOCOPY command in all file server migration or data migration and what switch we always use is as mentioned below.
Typical System Admin usage this command to copy data to quickly create files on destination folder.
Robocopy \\oldfp1\D$\ D:\ /create /e /r:1 /w:5 /log+:C:\copy-D.txt /tee /nfl /ndl /np /xd RECYCLER "System Volume Information"
How Windows 2012 Robocopy reacts on this command :
/NDL /NFL /TEE /S /E /DCOPY:DA /COPY:DAT /CREATE /NP /R:1 /W:5
Dcopy: DA and Copy:DAT now what happen is 2012 Robocopy just copy files without permission or security. No matter if you run /copyall command after this it doesn't change the permission.
My suggestion to my fellow Wintel admins to use.
Robocopy \\Oldfp1\E$\ E:\ /create /copyall /e /r:1 /w:2 /log+:C:\copy-E.txt /tee /np /xd RECYCLER "System Volume Information"
/Create and /Copyall will not only copy files but copies permissions too.
I hope the point i am trying to make here is clear and it make sense!
Comments
Post a Comment