rsyncd

  1. rsync config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
root@al20231110:~# cat /etc/rsyncd.conf
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsyncd.lock


[note]
comment = note
path = /root/note
uid = test
gid = test
use chroot = yes
read only = no
list = yes
hosts allow=10.0.8.10

  1. rsync deamon start

rsync --daemon

  1. rsync client

rsync -vrtaz rsync://userb@10.0.8.1/note ./