Categories
Programming

A simple one click bat file to mirror drives for backup

I use this script to mirror a drive, and it only transfers files that are changed/new. So it can help save bandwidth/time if you are using a slow link/connection.

1) Download robocopy and place it in the correct directory (by default windows 7 and 8 can skip this step)

2) create a .bat file and put these contents in:

@echo off

robocopy E:\ “\\server\j” /MIR /E

3) There you go, just double click it!

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.