Import binaries

master
Daniel Berteaud 6 years ago
parent ad6ad9c857
commit 402b7626bc
  1. 2
      .gitattributes
  2. BIN
      backuppc-client.exe
  3. BIN
      cygiconv-2.dll
  4. BIN
      cygwin1.dll
  5. BIN
      cygz.dll
  6. 7
      pre-exec.cmd
  7. BIN
      rsync.exe
  8. 41
      vsrsync.cmd

2
.gitattributes vendored

@ -0,0 +1,2 @@
*.exe filter=lfs diff=lfs merge=lfs -text
*.dll filter=lfs diff=lfs merge=lfs -text

BIN
backuppc-client.exe (Stored with Git LFS)

Binary file not shown.

BIN
cygiconv-2.dll (Stored with Git LFS)

Binary file not shown.

BIN
cygwin1.dll (Stored with Git LFS)

Binary file not shown.

BIN
cygz.dll (Stored with Git LFS)

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

BIN
rsync.exe (Stored with Git LFS)

Binary file not shown.

@ -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…
Cancel
Save