source : http://everythinglinux.org/rsync/rsync_content.html
Création de /etc/rsyncd.conf :
motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[rsync_server]
path = /mnt/data
comment = Rsync Data Server
uid = root
gid = root
read only = no
list = yes
auth users = JRrepli
secrets file = /etc/rsyncd.scrt
hosts allow = 192.168.0.1/0
strict modes = false
Création de /etc/rsyncd.scrt
username:password
Si on veut on peut lancer manuellement le daemon
rsync --daemon
source :http://ubuntuforums.org/showthread.php?t=1252720
Maintenant démarrage auto au boot :
Edition de /etc/default/rsync
et on met
RSYNC_ENABLE=true
Et voilà !
Aucun commentaire:
Enregistrer un commentaire