Rsyncd sur Windows : Différence entre versions
De wikiGite
Ligne 6 : | Ligne 6 : | ||
use chroot = false | use chroot = false | ||
max connections = 1 | max connections = 1 | ||
− | auth users = | + | auth users = zindoze20 |
pid file = C:\Program Files (x86)\ICW\rsyncd.pid | pid file = C:\Program Files (x86)\ICW\rsyncd.pid | ||
lock file = C:\Program Files (x86)\ICW\rsyncd.lock | lock file = C:\Program Files (x86)\ICW\rsyncd.lock | ||
secrets file = C:\Program Files (x86)\ICW\rsyncd.secrets | secrets file = C:\Program Files (x86)\ICW\rsyncd.secrets | ||
strict modes = false | strict modes = false | ||
− | hosts allow = | + | hosts allow = 12.34.56.7 |
log file = rsyncd.log | log file = rsyncd.log | ||
uid = 0 | uid = 0 |
Version du 1 août 2011 à 12:51
Charger cwRsync_server_Installer.zip sur http://sourceforge.net/projects/sereds/files/cwRsync/
Installer rsync-server (noter le nom et le mot de passe du propriétaire du service rsync-server).
Paramétrer Program Files\ICW\rsynd.conf
use chroot = false max connections = 1 auth users = zindoze20 pid file = C:\Program Files (x86)\ICW\rsyncd.pid lock file = C:\Program Files (x86)\ICW\rsyncd.lock secrets file = C:\Program Files (x86)\ICW\rsyncd.secrets strict modes = false hosts allow = 12.34.56.7 log file = rsyncd.log uid = 0 gid = 0 # Module definitions # Remember cygwin naming conventions : c:\work becomes /cygwin/c/work # [partage] path = /cygdrive/c/partage read only = false transfer logging = yes
Créer Program Files\ICW\rsynd.secrets
zindoze20:password_zindoze20
Eventuellement penser à ouvrir le port 873 sur le firewall de Windows, et/ou le firewall du réseau
Lancer le service rsync-server.
Dans Backuppc, paramétrer la machine (par le GUI, ou dans le fichier de configuration)
$Conf{XferMethod} = 'rsyncd'; $Conf{RsyncdUserName} = 'zindoze20'; $Conf{RsyncdPasswd} = 'password_zindoze20'; $Conf{RsyncShareName} = 'partage'; $Conf{ClientNameAlias} = '192.168.0.20';