This is an example for a very very very simple rsync backup environment! DO NOT USE IN A PRODUCTIVE ENVIRONMENT!
RSYNC SERVER - RECEIVER
/etc/xinetd.conf:
service rsync
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
/etc/rsyncd.conf:
max connections = 2
log file = /var/log/rsync.log
timeout = 300
[backupmodule]
comment = Random things available for download
path = /var/backup/
read only = no
list = yes
uid = root
gid = root
RSYNC CLIENT - PUSHER
resync -av --progress /backup/this rsync://192.168.0.240/backupmodule/