Loading...

Robocopy

Use Robocopy to make a mirror image of a drive. This is essentially a Windows method of backing up files to another location. Works great in a batch file with a scheduled task to maintain backups and sync data across a local computer to a network share (or drive to drive).

robocopy (/mir – MIrror) (local drive) (destination drive) (/r:x – retries) (/w:x – wait period before trying again)

Example:
robocopy /mir C:\localfiles \\networkshare\myfiles /r:1 /w:1

NOTE: Quotes are required around source or destination IF it has a space.

error: