--only-write-batch=FILE like --write-batch but w/o updating destination --read-batch=FILE read a batched update from FILE --protocol=NUM force an older protocol version to be used --iconv=CONVERT_SPEC request charset conversion of filenames --checksum-seed=NUM set block/file checksum see...
--stop-at=y-m-dTh:m Stop rsync at the specified point intime--fsync fsync every written file --write-batch=FILE write a batched update to FILE --only-write-batch=FILE like --write-batch but w/o updating dest --read-batch=FILEreada batched update from FILE --protocol=NUM force an...
--log-file=FILE log what we're doing to the specified FILE --log-file-format=FMTlogupdates using the specified FMT --password-file=FILEreaddaemon-access password from FILE --early-input=FILE use FILEfordaemon's early exec input --list-only list the files instead of copying them --bwlimi...
lock secrets file=/etc/rsyncd.passwd hosts deny=172.16.78.0/22 [www] comment= backup web path=/www read only = no exclude=test auth users=work 创建密码文件,采用这种方式不能使用系统用户对客户端进行认证,所以需要创建一个密码文件,其格式为“username:password”,用户名可以和密码可以随便定义,最好不...
file-filtering RULE -F same as --filter='dir-merge /.rsync-filter' repeated: --filter='- .rsync-filter' --exclude=PATTERN exclude files matching PATTERN --exclude-from=FILE read exclude patterns from FILE --include=PATTERN don't exclude files matching PATTERN --include-from=FILE read ...
pid file = /var/run/rsyncd.pid log file = /var/log/rsyncd.log # Directory to be rsynced [mydata] path = /data/mydata ignore errors = yes read only = no write only = no hosts allow = 192.168.10.0/24 hosts deny = * # 通过所有主机 ...
Read filenames to watch or exclude from a file, one filename per line. If filenames begin with @ they are excluded as described above. If <file> is ?.?. filenames are read from standard input. Use this option if you need to watch too many files to pass in as command line argu...
lock file —指定支持 max connections 参数的锁文件。默认 /var/run/rsyncd.lock list —指定当客户请求列出可以使用的模块列表时,该模块是否应该被列出。默认为 true,显示 read only = —只读选择,也就是说,不让客户端上传文件到服务器上。默认true
read only=yes #limit access toprivateLANs hosts allow=172.16.0.0/255.255.0.0192.168.1.0/255.255.255.010.0.1.0/255.255.255.0hosts deny=*max connections=5pid file=/var/run/rsyncd.pid secrets file=/etc/rsyncd/rsyncd.secrets #lock file=/var/run/rsync.lock ...
read only = false #查看模块列表,改为true后,在local端可以用命令rsync rsync://192.168.12.39查看远端可用的模块数 list = false #指定虚拟用户,传输时使用该用户就会对应到真实系统用户rsync的权限,把此处注释掉,可以在模块里设置 #auth users = egon #指定虚拟用户的密码文件 #secrets file ...