# sample rsyncd.conf configuration file

# GLOBAL OPTIONS

#motd file=/etc/motd
#log file=/var/log/rsyncd
pid file=/var/run/rsyncd.pid
#syslog facility=daemon
#socket options=

# MODULE OPTIONS

[backup]
	comment = backup archive for local network (approx 14 GB)
	path = /mnt/backup
	use chroot = yes
	max connections=1
	lock file = /var/lock/rsyncd
	read only = no
	list = yes
	uid = root
	gid = root
#	exclude = #specify any file in path not to be accessed
#	exclude from = 
#	include =
#	include from =
	auth users = none
	secrets file = /etc/rsyncd.secrets
	strict modes = yes
	hosts allow = 192.168.0.4, 192.168.0.6
#	hosts deny = 
	ignore errors = no
	ignore nonreadable = yes
	syslog facility = daemon
	transfer logging = no
	log format = %t: host %h (%a) %o %f (%l bytes). Total %b bytes.
	timeout = 600
#	refuse options = 
#	dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
	dont compress = *

