Import binaries
This commit is contained in:
parent
ad6ad9c857
commit
402b7626bc
|
@ -0,0 +1,2 @@
|
|||
*.exe filter=lfs diff=lfs merge=lfs -text
|
||||
*.dll filter=lfs diff=lfs merge=lfs -text
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
@echo off
|
||||
tasklist /FI "IMAGENAME eq rsync.exe" 2>NUL | find /I /N "rsync.exe">NUL
|
||||
if "%ERRORLEVEL%"=="0" exit 255
|
||||
tasklist /FI "IMAGENAME eq vshadow.exe" 2>NUL | find /I /N "vshadow.exe">NUL
|
||||
if "%ERRORLEVEL%"=="0" exit 255
|
||||
cd \backuppc
|
||||
cscript pre-cmd.vbs
|
|
@ -0,0 +1,41 @@
|
|||
REM @ECHO OFF
|
||||
REM *****************************************************************
|
||||
REM
|
||||
REM VSRSYNC.CMD - Batch file template to start your rsync command (s).
|
||||
REM
|
||||
REM By Michael Stowe
|
||||
REM *****************************************************************
|
||||
|
||||
call vss-setvar.cmd
|
||||
|
||||
cd \BackupPC
|
||||
|
||||
call part.cmd
|
||||
SET CWRSYNCHOME=\BACKUPPC
|
||||
SET CYGWIN=nontsec
|
||||
SET CWOLDPATH="%PATH%"
|
||||
SET PATH="\BACKUPPC;%PATH%"
|
||||
|
||||
FOR /F "tokens=1,2,3,4,5,6,7" %%G IN ("%MAP%") DO (
|
||||
if "%SHADOW_DEVICE_1%" NEQ "" dosdev %%G %SHADOW_DEVICE_1%
|
||||
if "%SHADOW_DEVICE_2%" NEQ "" dosdev %%H %SHADOW_DEVICE_2%
|
||||
if "%SHADOW_DEVICE_3%" NEQ "" dosdev %%I %SHADOW_DEVICE_3%
|
||||
if "%SHADOW_DEVICE_4%" NEQ "" dosdev %%J %SHADOW_DEVICE_4%
|
||||
if "%SHADOW_DEVICE_5%" NEQ "" dosdev %%K %SHADOW_DEVICE_5%
|
||||
if "%SHADOW_DEVICE_6%" NEQ "" dosdev %%L %SHADOW_DEVICE_6%
|
||||
if "%SHADOW_DEVICE_7%" NEQ "" dosdev %%M %SHADOW_DEVICE_7%
|
||||
)
|
||||
|
||||
REM Go into daemon mode, we'll kill it once we're done
|
||||
rsync -v -v --daemon --config=rsyncd.conf --no-detach --log-file=diagnostic.txt
|
||||
|
||||
FOR /F "tokens=1,2,3,4,5,6,7" %%G IN ("%MAP%") DO (
|
||||
if "%SHADOW_DEVICE_1%" NEQ "" dosdev -r -d %%G
|
||||
if "%SHADOW_DEVICE_2%" NEQ "" dosdev -r -d %%H
|
||||
if "%SHADOW_DEVICE_3%" NEQ "" dosdev -r -d %%I
|
||||
if "%SHADOW_DEVICE_4%" NEQ "" dosdev -r -d %%J
|
||||
if "%SHADOW_DEVICE_5%" NEQ "" dosdev -r -d %%K
|
||||
if "%SHADOW_DEVICE_6%" NEQ "" dosdev -r -d %%L
|
||||
if "%SHADOW_DEVICE_7%" NEQ "" dosdev -r -d %%M
|
||||
)
|
||||
|
Loading…
Reference in New Issue