A batch file suitable for invoking a cygwin shell script which carries out a backup on Windows using unix-tooling.
|rem This batch file is executed by vscsc.exe after the shadow copy has been|
|rem created. It is used to initate the backup.|
|rem %1 is the volume ID of the backup, we pass it to the bash script which|
|rem runs rsync for us.|
|c:\cygwin64\bin\bash.exe --login -i ./do-remote-backup.bsh "%1"|