A batch file suitable for invoking a cygwin shell script which carries out a backup on Windows using unix-tooling.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|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"|