Created
June 21, 2014 20:32
-
-
Save wrouesnel/f5e5cc67d33db1cefdd4 to your computer and use it in GitHub Desktop.
A batch file suitable for invoking a cygwin shell script which carries out a backup on Windows using unix-tooling.
This file contains hidden or 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 | |
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment