BackupPC-users

Re: [BackupPC-users] Ryncd issues

2008-06-23 20:57:54
Subject: Re: [BackupPC-users] Ryncd issues
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: Backuppc-Users <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 24 Jun 2008 10:57:41 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rick Cooper wrote:
> I am trying to perform a backup using rsyncd
> The host to be backup up resides on a remote network connected via ipsec
> tunnel
> 
> The client and host are both running rsync version 3.0.2  protocol version
> 30
> 
> The daemon (remote to be backed up) set up is
> 
> /etc/rsyncd.secrets
> 
> -rw-r-----  1 root root 33 Jun 23 17:02 /etc/rsyncd.secrets
> Contents:
> backuppc:password 
> 
> Rsyncd.conf:
> 
> [BackupPC]
>         comment = BackupPC Data Directory
>         path = /data
>         read only = yes
>         secrets file = /etc/rsyncd.secrets
>         hosts allow = 192.168.1.0/24
>         auth users = backuppc
> 
> The host config relating to this host xfers
> 
> $Conf{RsyncShareName} = [
>   'BackupPC'
> ];
> 
> $Conf{RsyncdAuthRequired} = '1';
> $Conf{RsyncdPasswd} = 'password';
> $Conf{RsyncdUserName} = 'backuppc';
> 
> The error that BackupPC gives is:
> 
> full backup started for directory BackupPC
> Connected to dfnsrv01:873, remote version 30
> Negotiated protocol version 28
> Error connecting to module BackupPC at dfnsrv01:873: auth required, but
> service BackupPC is open/insecure
> Got fatal error during xfer (auth required, but service BackupPC is
> open/insecure)
> Backup aborted (auth required, but service BackupPC is open/insecure)
> Not saving this as a partial backup since it has fewer files than the prior
> one (got 0 and 0 files versus 0)
> 
> The error that the remote rsync daemon gives is
> Jun 23 19:17:38 dfnsrv01 rsyncd[25783]: connect from srv2 (192.168.1.1)
> Jun 23 19:17:43 dfnsrv01 rsyncd[25783]: rsync: read error: Connection reset
> by peer (104)
> Jun 23 19:17:43 dfnsrv01 rsyncd[25783]: rsync error: error in rsync protocol
> data stream (code 12) at io.c(794) [receiver=3.0.2]
> 
> 
> If I set both sides so they do not require authentication BackupPC gives
> this error:
> 
> 2008-06-23 19:00:32 full backup started for directory BackupPC
> 2008-06-23 19:00:32 Got fatal error during xfer (auth required, but service
> BackupPC is open/insecure)
> 2008-06-23 19:00:37 Backup aborted (auth required, but service BackupPC is
> open/insecure)
> 2008-06-23 19:01:06 full backup started for directory BackupPC
> 2008-06-23 19:01:06 Got fatal error during xfer (unexpected response: '')
> 2008-06-23 19:01:11 Backup aborted (unexpected response: '')
> 
> 
> I have no idea where to go next. Clearly the rsync daemon side is *not*
> open/insecure and suspect this might have something to do with the fact that
> the last version of File::RsyncP is from November 2006 and something has
> changed in the last *several* versions. Has anyone encountered and found a
> way around this situation?

- From the backuppc server, login as the backuppc user, and run the command:
/usr/share/backuppc/bin/Backuppc_dump -v <clientname>
The command Backuppc_dump may be in a different place depending on your
installation.
Send the output to the list, and we should be able to see more detail on
what is happening.


Regards,
Adam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIYEaFGyoxogrTyiURAv6oAJ4ghaNgBgmn2D6gu9ehz300cO7nZQCgn/vA
9Y3Hf9ePrSmpOMsgt+FH+b0=
=Hdck
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>