Sous Ubuntu 12, Le fichier de configuration de daemon RSYNC se trouve dans /ETC/RSYNCD.CONF
Pour ma part voici simplement comment se compose mon fichier (ici l’IP est volontairement cachée) :
RSYNC_ENABLE=true
uid = desktop
gid = desktop
max connections = 5
hosts allow = aaa.www.xxx.yyy
[WEEK1]
path = /home/desktop/BACKUP/WEEK1
read only = no
secrets file = /etc/rsyncd.system
Il faut y associer l’ajout du mot de passe dans le fichier /etc/rsyncd.system
Voici l’ensemble des options du daemon: http://man.developpez.com/man1/rsync.1.php/
Vous pouvez faire fonctionner votre copie RSYNC en utilisant SSH plutôt qu’un daemon, SSH effectuant un transfert crypté, j’ai trouvé que c’était un peu plus lent.
Ressources :
http://man.developpez.com/man1/rsync.1.php/
http://giantdorks.org/alain/achieve-faster-file-transfer-times-by-running-rsync-as-a-daemon/
http://forum.hardware.fr/hfr/OSAlternatifs/Logiciels-2/resolu-rsync-probleme-sujet_60500_1.htm
http://www.backupassist.com/education/articles/configuring-backupassist-for-rsync-without-ssh.html
La commande de démarrage du daemon est la suivante : /etc/init.d/rsync start
Et /etc/init.d/rsync stop pour son arrêt.