Mirroring drives with robocopy

28 Mar 2016

how to windows

Following command can be used to mirror content between drives

robocopy e:\ z:\ /mir /xd "`$RECYCLE.BIN" "System Volume Information"
//  usage
//  robocopy <source> <destination>  [<File>[ ...]] [<Options>]
//  /mir                    - create exact mirror
//  /xd <directory>[...]    - exclude directories

All parameters reference available in official documentation


Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.