Browse Source

Import binaries

master
Daniel Berteaud 9 months ago
parent
commit
402b7626bc
8 changed files with 65 additions and 0 deletions
  1. 2
    0
      .gitattributes
  2. BIN
      backuppc-client.exe
  3. BIN
      cygiconv-2.dll
  4. BIN
      cygwin1.dll
  5. BIN
      cygz.dll
  6. 7
    0
      pre-exec.cmd
  7. BIN
      rsync.exe
  8. 41
    0
      vsrsync.cmd

+ 2
- 0
.gitattributes View File

@@ -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) View File

oid sha256:811a8e485045296fe7eba028c18c0fe806004c13ea7837251697ed2de37a0dc4
size 3658905

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

oid sha256:bdccd69983a40dc68e7f0cec667b84d0103f1428e8b4c33a89c8d3b0664d4226
size 1008654

BIN
cygwin1.dll (Stored with Git LFS) View File

oid sha256:21265b261bbbd0cec9a460c5594bd2341520572d88038768a77b6b0dc3922c36
size 2855706

BIN
cygz.dll (Stored with Git LFS) View File

oid sha256:83feda9250c3c485916a6b7745c704a41df702f4781197491d5d31a2f2b863ac
size 66048

+ 7
- 0
pre-exec.cmd View File

@@ -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) View File

oid sha256:aecdb771b4deee3b0e4ea9bd004e5c026e0f570cd7dc8ce95701090d6cfbdd77
size 374798

+ 41
- 0
vsrsync.cmd View File

@@ -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