Skip to content

Instantly share code, notes, and snippets.

@likebeta likebeta/rsyncd.conf
Last active Sep 1, 2015

Embed
What would you like to do?
max connections = 16
use chroot = no
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsyncd.lock
[backup]
uid = root
gid = root
path = /home/backup
read only = no
hosts allow = 172.31.0.0/16 172.16.0.0/16
hosts deny = *
# client
rsync -avzP root@172.31.95.15::backup /backup
# server
rsync --daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.