Notice
Recent Comments
변군이글루
[원도우] rsync(cwRsync) 로그 동기화 본문
1. rsync 설치
패키지 다운로드 https://www.itefix.net/dl/cwRsync_5.5.0_x86_Free.zip
cwRsync_5.5.0_x86_Free.zip 압축 해제 후 프로그램(C:\Program Files) 디렉토리로 복사
C:\Program Files\cwRsync
2. 백업 스크립트(BATCH)
cls set PATH=C:\Program Files\cwRsync\bin
rsync -avz /cygdrive/D/LogFiles/W3SVC1/ syslog.4wxyz.com::web01/api/ rsync -avz /cygdrive/D/LogFiles/W3SVC2/ syslog.4wxyz.com::web01/seat / rsync -avz /cygdrive/D/LogFiles/W3SVC3/ syslog.4wxyz.com::web01/tktapi/ |
rsync 서버 설정
# vi /etc/rsyncd.conf
[web01] path = /app2/web_log/web01 comment = logs read only = no uid = root gid = root |
cwRsync 다운로드 URI : https://itefix.net/content/cwrsync-free-edition
'축___원도우' 카테고리의 다른 글
[원도우] IIS 웹로그 삭제 스크립트 (0) | 2016.12.29 |
---|---|
[원도우] IIS 웹로그 압축 스크립트 (0) | 2016.12.29 |
[원도우] rsync(cwRsync) 로그 동기화 (0) | 2016.12.29 |
[원도우] 윈도우즈 호스트 파일 편집하는 방법 (Windows 10) (0) | 2016.09.21 |
[원도우] HP ProLiant Gen9 서버 레거시 부팅 모드에서 재부팅 후 시스템 시간에서 오프셋 발생 (0) | 2016.06.21 |
[Windows] MBR 또는 GPT 파티션 스타일 변경 (0) | 2016.04.28 |
0 Comments