How to make a Mirrored Backup with Robocopy on Windows

XCOPY was always my friend, it has some great memory management features. However it required scripting to get anything like a mirror of a directory structure, and it didn’t have shortcut features of copying only the changed part of a file.

Enter Robocopy (Wikipedia), yay! This is a Microsoft command-line utility (free) that comes in the Windows Server 2003 Resource Kit that also has a GUI available.

The Wikipedia article has great information, as does the 35 page doc file that comes with the GUI. But it is super simple to set up a mirror script:

robocopy.exe c:/directory e:/backup MIR Z

There is a full list of robocopy switches at

Bye bye XCOPY, hello ROBOCOPY!


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s