delete = true Default. Lsyncd will delete on the target whatever is not in the source. At startup and what's being deleted during normal operation. delete = false Lsyncd will not delete any files on the target. Not on startup nor on normal operation. (Overwrites are possible though) delete = 'startup' Lsyncd will delete files on the target when it starts up but not on normal operation. delete = 'running' Lsyncd will not delete files on the target when it starts up but will delete those that are removed during normal operation.
# GLOBAL OPTIONS motd file=/etc/motd log file=/var/log/rsyncd # for pid file, do not use /var/run/rsync.pid if # you are going to run rsync out of the init.d script. # The init.d script does its own pid file handling, # so omit the "pid file" line completely in that case. pid file=/var/run/rsyncd.pid syslog facility=daemon #socket options=
# MODULE OPTIONS [rsync_mod] comment = public archive path = /mnt/backup/data use chroot = no max connections = 4 lock file = /var/lock/rsyncd read only = no hosts allow = 192.168.0.1/24