rsyncd - 全局部分中常用全局参数配置说明
# 本文件的默认位置是/etc/rsyncd.conf
# GLOBAL PARAMETERS
# The first parameters in the file (before a [module] header) are the global parameters.
# You may also include any module parameters in the global part of the config file in which case the supplied value will override the default for that parameter.
# 在文件中的最开始的段落(在一个[module]头部之前)是全局参数
# 在配置文件的全局部分也可以包含任何模块参数,此时所提供的值将替换该参数的默认值。
# motd file
# This parameter allows you to specify a "message of the day" to display to clients on each connect. This usually contains site information and any legal notices. The default is no motd file.
# 该参数允许指定一个“每日消息”用于在每个链接中显示在客户端,通常包含站点信息和任何法律提示。默认值是无motd文件。
motd file = /var/rsync/welcome.msg
# pid file
# This parameter tells the rsync daemon to write its process ID to that file. If the file already exists, the rsync daemon will abort rather than overwrite the file.
# 该参数指示rsync守护进程将自身的进程ID写到该文件。如果该文件已存在,rsync守护进程将忽略,而不是重写该文件
pid file = /var/run/rsyncd.pid
# DEFAULT MODULE PARAMETERS
use chroot = no
max connections = 20
log file = /var/log/rsyncd.log
lock file = /var/run/rsync.lock
uid = nobody
gid = nobody
# MODULE PARAMETERS
[module]
comment = module comment
path = /path/to/module/
read only = yes
list = no
hosts allow = 192.168.1.2
[rsync - 官方网站]
[rsync - 关键词]
rsync
rsyncd
[rsync - 相关问题]
全局部分中常用全局参数配置说明
全局部分中常用模块参数配置说明
模块常用配置说明
客户端常用参数
for Windows (cygwin)
远程shell模式和rsync守护进程模式
22.6. File Synchronization. Building Internet Firewalls, 2nd Edition
Hack 92 Mirroring Web Sites with wget and rsync. Spidering Hacks
Linux Security Cookbook - Recipe 1.16 Integrity Checking with rsync
Linux Security Cookbook - Recipe 1.6 Remote Integrity Checking
Linux Security Cookbook - Recipe 6.3 Copying Files Remotely