On tir, februar 13, 2007 21:24, Sturla Holm Hansen
wrote:> Hi there list :)
> I use backuppc to take backup of a bunch of hosts, but I ran into problems
> with the last one I set up, I can't find anything that is different on
> this one...but it won't work...
> So any hints would be greatly appreciated, here are the files
>
> ryncd.conf:
>
> log file=/var/log/rsyncd
> pid file=/var/run/rsyncd.pid
>
> [all]
>
> comment = All disk
> path = /
> use chroot = no
> lock file = /var/lock/rsyncd
> read only = no
> list = yes
> uid = root
> gid = root
> auth users = backuppc
> secrets file = /etc/rsyncd.secrets
> strict modes = no
> ignore errors = yes
> ignore nonreadable = yes
> transfer logging = no
> timeout = 600
> dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
>
> And the corresponding .pl file in /etc/backuppc on the server:
>
> $Conf{RsyncShareName} = ['all'];
>
> $Conf{BackupFilesExclude} ={
> 'all' =>
> ['/tmp',
> '/proc',
> '/boot',
> '/sys',
> '/var/run',
> '/boot',
> '/dev',
> '/media',
> '/mnt']
> };
>
> $Conf{XferMethod} = 'rsyncd';
> $Conf{RsyncdUserName} = 'user';
> $Conf{RsyncdPasswd} = 'password';
>
>
> The server can ping the host by name.
>
> The problem is that when I try to run a full backup it fails at once with
> the following in the rsync-log:
>
> 2007/02/13 21:16:35 [20364] connect from backuppc (192.168.0.59)
> 2007/02/13 21:16:35 [20364] rsync on . from backuppc@backuppc
> (192.168.0.59)
> 2007/02/13 21:16:35 [20364] building file list
> 2007/02/13 21:16:35 [20364] rsync: writefd_unbuffered failed to write 4
> bytes [sender]: Broken pipe (32)
> 2007/02/13 21:16:35 [20364] rsync error: error in rsync protocol data
> stream (code 12) at io.c(1122) [sender=2.6.9]
>
> Why is it trying to rsync on ".", I'm asking it to rsync
"all" aren't I?
>
> Other hosts with the exact same .pl file is working fine, and if I
> manually runs:
>
> "rsync -aPv rsync://backuppc@192.168.0.41/all ." it runs fine...
>
> Any ideas or pointers greatly appreciated :)
>
> Thanx
>
> Sturla
>
Ooops, terribly sorry, this was meant for the backuppc-list, not the
rsync-list, again, sorry about that...
That said...if anyone has any ideas.... ;)
Sturla