tseip
asked on
Robocopy Command
I would like to copy a share folder to a new share and maintain the ACL permissions. I have the path'correct however I need to know the correct switch to copy entire tree and permissions. I am moving the folder running Microsft storage server 2008 on a Dell nx3000 NAS. I manually moved other share folders and set permissions with no problem but the last folder Ineed to move would take hours to set permissions manually. I tried the robocopy command but it only copied files not folders and they didn't maintain the ACL. So I need help! Thanks in advance..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked great thanks!
No problem :) I use robocopy for our backups as well as its a lot quicker because it only copies files that have changed / been added. Really is a awesome tool and no directory is too large for it.
ROBOCOPY /E /Copy:S /IS /IT <Source> <Target>
checkout
http://blogs.technet.com/filecab/archive/2008/07/31/robocopy-mir-switch-mirroring-file-permissions.aspx
and
http://msmvps.com/blogs/martinzugec/archive/2008/03/03/ugly-bug-in-robocopy-ignoring-security-on-file-level.aspx