./categories/os
rsync 데몬 미러/백업
rsync 데몬 미러/백업
파일서버 (/etc/xinetd.d/rsync)
disable = no → service xinetd restart (포트 873)
/etc/rsyncd.conf
[file]
path = /home/file
comment = File server
uid = nobody
gid = nobody
use chroot = yes
read only = yes
hosts allow = 192.168.0.3
max connections = 1
timeout = 300
백업서버에서 pull
rsync -avz 192.168.0.1::file /home/backup/file1
증분: 재실행 시 변경분만. SSH 방식: rsync -avz -e ssh user@host:/path/ /dest/
관련 링크: http://theeye.pe.kr/archives/585
./comments