Skip to content

Instantly share code, notes, and snippets.

@wrouesnel
Created June 21, 2014 20:32
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wrouesnel/f5e5cc67d33db1cefdd4 to your computer and use it in GitHub Desktop.
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.
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