Print Email PDF

Maintaining Permissions When Using the robocopy Command to Move Data


  • Windows system with the array share mounted


The following flags have seen good success when using the robocopy command to maintain permissions

robocopy s:\ d:\ /XX /MIR /SEC /R:0 /MT:32 /V /NFL /NJH /TEE /LOG:[logfile]

/XX  don't replicate temporary files created by robocopy
/MIR use mirroring option
/SEC copy all security settings from the source files and directories to destination
/R:0 do not retry any failures
/MT:32 use multithreaded copy with 32 threads
/V verbose output of info
/NFL /NJH only output errors and failures
/TEE echo log output to console
/LOG:[logfile] log progress to logfile
Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.

Have more questions?
Open a Case
Share it, if you like it.