| timbrigham@gmail.com 2006-03-31, 12:16 am |
| This project provides a quick and dirty method for replicating data
backups.
It began because I needed a method to copy over updated copies of my
hourly incremental backups from Symantec LiveState (hence the file
extensions listed in the code).
I know there are other ways of doing similar things to what I have done
here, but I needed the ability to specify only to copy over certain
extensions.
To use this project requires a number of other files from Microsoft.
Specifically:
Instsrv.exe
Srvany.exe
Robocopy.exe
Sleep.exe
Robocopy.exe and Sleep.exe are used within a batch file to perform a
one way synchronization of two folders. Instsrv.exe and Srvany.exe are
used to create a service wrapper around that batch file.
These files are readily available through Microsoft, in the Windows
2003 resource kit.
Documentation on the process of creating a service wrapper is available
through Microsoft as well, but this article
(http://www.tacktech.com/display.cfm?ttid=197) is what I used.
:START
c:\Scripts\robocopy /R:1 /copyall <source> <destination> *.iv2i *.sv2i
@C:\Scripts\sleep 300
GOTO START
|