Сервер на windows (32 бит)
QtdSync
или
Установить Cygwin
setup-x86.exe
Сервер на Windows 10 (64 бит)
setup-x86_64.exe
или
cygwin-rsyncd
douwnload.bat
@echo off
SET PROGRAMMDIR=%CD%rsync
cd backup
"%PROGRAMMDIR%\rsync.exe" -avz 192.168.10.150::backup . --progress
set MSG="Press Enter"
echo %MSG%
runas /user:# "" >nul 2>&1
upload.bat
@echo off
SET PROGRAMMDIR=%CD%rsync
cd backup
"%PROGRAMMDIR%\rsync.exe" -avz . 192.168.10.150::backup --progress
set MSG="Press Enter"
echo %MSG%
runas /user:# "" >nul 2>&1
Локальный download
@echo off
SET PROGRAMMDIR=%CD%rsync
cd backup
"%PROGRAMMDIR%\rsync.exe" -avz /cygdrive/D/backup . --progress
set MSG="Press Enter"
echo %MSG%
runas /user:# "" >nul 2>&1
Локальный upload
@echo off
SET PROGRAMMDIR=%CD%rsync
cd backup
"%PROGRAMMDIR%\rsync.exe" -avz . /cygdrive/D/backup --progress
set MSG="Press Enter"
echo %MSG%
runas /user:# "" >nul 2>&1
QtdSync
или
Установить Cygwin
setup-x86.exe
Сервер на Windows 10 (64 бит)
setup-x86_64.exe
или
cygwin-rsyncd
douwnload.bat
@echo off
SET PROGRAMMDIR=%CD%rsync
cd backup
"%PROGRAMMDIR%\rsync.exe" -avz 192.168.10.150::backup . --progress
set MSG="Press Enter"
echo %MSG%
runas /user:# "" >nul 2>&1
upload.bat
@echo off
SET PROGRAMMDIR=%CD%rsync
cd backup
"%PROGRAMMDIR%\rsync.exe" -avz . 192.168.10.150::backup --progress
set MSG="Press Enter"
echo %MSG%
runas /user:# "" >nul 2>&1
Локальный download
@echo off
SET PROGRAMMDIR=%CD%rsync
cd backup
"%PROGRAMMDIR%\rsync.exe" -avz /cygdrive/D/backup . --progress
set MSG="Press Enter"
echo %MSG%
runas /user:# "" >nul 2>&1
Локальный upload
@echo off
SET PROGRAMMDIR=%CD%rsync
cd backup
"%PROGRAMMDIR%\rsync.exe" -avz . /cygdrive/D/backup --progress
set MSG="Press Enter"
echo %MSG%
runas /user:# "" >nul 2>&1
Комментариев нет:
Отправить комментарий