rsync Parameter Description

Parameter Description:

log file = /var/log/rsyncd.log # log file location, the file is automatically generated after the start rsync, without creating advance 
pidfile = /var/run/rsyncd.pid #pid file storage location 
lock file = / var / run /rsync.lock # support max connections parameter lock files 
secrets file = /etc/rsync.pass # user authentication configuration file, which saves the user name and password, the back will create the file 
motd file = /etc/rsyncd.Motd #rsync Welcome to the information page file on startup location (the file contents to customize) 
[home_www.osyunwei.com] # custom name 
path = / data / book / #rsync server data directory path 
comment = book # module name [book] custom the same name 
uid = root # set rsync permission to run as root 
gid = root # set rsync permission to run as root 
port = 873 # default port for 
use chroot = no # default is true, modified to no, increase the soft link to the directory file backup 
read only = no # set rsync server file read and write permissions 
list = no # do not show rsync server resources List 
max connections = 200 # maximum number of connections 
timeout = 600 # Set timeout 
auth users = bookuser # username performs data synchronization may be provided a plurality, separated by commas in the English state 
hosts allow = 192.168.1.100 # allows data sync client IP address, may be provided a plurality, separated by commas in the English state 
hosts deny = 192.168.21.254 # inhibiting synchronous data terminal IP address of the client, you may be provided a plurality, separated by commas English state

Guess you like

Origin www.cnblogs.com/sdifens/p/11804486.html