RoboCopy Switches, Syntax, and Parameters

I know this is pretty basic, but the other day I just got plain sick and tired of not knowing the intricacies of the less commonly used RoboCopy switches, so I did a bunch of research and wrote up some notes. I hope this helps!

 

RoboCopy Switches, Syntax, and Parameters

RoboCopy switches

Tags:

Posted in Instructional

2 Responses to “RoboCopy Switches, Syntax, and Parameters”

  • Frank Falcone says:

    Daniel,
    Thank you for this and your other posts especially those on DFS; I find them very helpful considering the vendor’s documentation (in this case MS) is lacking in the detail you provide.

    Regarding Robocopy and DFS, I am migrating all of my data off of an old NetApp filer (that is also the source for DFS Namespace) to a Windows 2012 R2 server with the following syntax run from the destination windows server and was wondering if it also copies all the Shares and their permissions under the Source share?

    robocopy \\netapp\path\Sharename T: /E /Z /B /COPYALL /FP /V /MON:5 /R:1 /W:1 /MT:10 /xd “~snapshot” “System Volume Information” RECYCLER”

    I then want to make the destination (T: in the above example) the new source for the target folders that are under \\netapp\path\Sharename

    Note: There are multiple Shares under \\netapp\path (DFS Root?) and I want to change the source location on only one of those shares (and those under it) within DFS as a test before I move the whole Namespace (I think I have the terminology right).

    Am I on the right track? Thoughts?

    Thanks again for all you do.
    Frank

    • Daniel L. Benway says:

      Frank, I’m so glad my posts have helped you! Insofar as RoboCopy, what’d I’d recommend you do is create a completely separate test directory structure on your NetApp filer, and test your syntax until you work out all of the nuances and get it running the way you need.




Share via
Copy link
Powered by Social Snap