Print Email PDF

Maintaining Permissions When Using the robocopy Command to Move Data

REQUIREMENTS   

  • Windows system with the array share mounted

DETAILS

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]

Where
/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

Comments

0 comments

Please sign in to leave a comment.

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