Displaying 1 result from an estimated 1 matches for "generatedtempscript".
2006 Sep 14
0
rsyncing from Windows 2003 shadow copies.
...y directory
@REM eg. x: or c:\temp\shadowcopy
@REM
set SHADOW_DRIVE_LETTER=D:
set MAP_SHADOW_TO=X:
@REM
@REM Create the shadow copy - and generate env variables into a
temporary script.
@REM Then resursively come back into this script.
set CALLBACK_SCRIPT=%~dpnx0
set TEMP_GENERATED_SCRIPT=GeneratedTempScript.cmd
@echo ...Create the shadow copy...
vshadow.exe -nw -p -script=%TEMP_GENERATED_SCRIPT%
-exec=%CALLBACK_SCRIPT% %SHADOW_DRIVE_LETTER%
del /f %TEMP_GENERATED_SCRIPT%
@goto :EOF
:IS_CALLBACK
setlocal
@REM Get the vshadow temp variables.
call %TEMP_GENERATED_SCRIPT%
@REM Map the dr...