BackupPC-users

Re: [BackupPC-users] backup failed (auth failed on module cDrive) SOLVED!!!

2008-09-14 00:24:43
Subject: Re: [BackupPC-users] backup failed (auth failed on module cDrive) SOLVED!!!
From: "Bruno Faria" <brunothebigb AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 13 Sep 2008 23:24:36 -0500
Hi guys,

After a couple of Google searches I was able to find the problem. Here are the details:

According the cygwin-rsync README.TXT file, it gave the following configuration to use on the BackupPC host.pl file:

$Conf{XferMethod} = "rsyncd";
$Conf{RsyncdUserName}  = "user";
$Conf{RsyncdPasswd}    = "pass";
$Conf{RsyncShareName}  = "cDrive";

I double check my host.pl file multiple times but still could not find anything wrong with it. So after my Google searches, I try putting single quotes around the values instead of the double quotes. Like this:

$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncdUserName}  = 'user';
$Conf{RsyncdPasswd}    = 'pass';
$Conf{RsyncShareName}  = 'cDrive';

After that I was able to backup the windows machine using backupPC :).

Regards!

On Thu, Sep 11, 2008 at 6:07 PM, Bruno Faria <brunothebigb AT gmail DOT com> wrote:
Hi guys,

I've always used BackupPC to backup Linux machines. Although, I have used backuppc to backup a windows machine using both smb and rsyncd as the backup method before.

Now I'm trying to backup a Windows 2003 machine using rsyncd, but I ran into some problems. Here are the details:

I installed cygwin to use rsyncd to backup the Windows machine.

Now, whenever I start the backup for this machine, I get the following error:

backup failed (auth failed on module cDrive)

According to the cygwin README, this happens when "strict modes = false" is not enabled. But I checked the rsyncd.conf file, and it is in fact enabled. I also even tried setting the rsyncd.secrets file to "read-only", but still got the same error message.

Here's the error that I get in the rsync.log file in the Windows client:

2008/09/11 16:50:11 [808] name lookup failed for IP: temporary failure in name resolution.
2008/09/11 16:50:11 [808] connect from UNKNOWN (IP)
2008/09/11 16:50:11 [808] auth failed on module cDrive from UNKNOWN (IP): password mismatch

I was able to "rsync -av user@server::testDir" from the backuppc server just fine, so I'm sure that the password is correct.

And here's the error that I get when I do "rsync -av user@server::testDir":

2008/09/11 17:01:53 [1680] rsync: readlink "ygdrive/c/WINDOWS/system32/c:/Documents and Settings/Administrator/Local Settings/Temporary Internet Files/Content.IE5/5P67ZD01/2PT90CA8XLL38CA0U40GQCA1FK8BACAZT3GEWCAK9QIS5CA16IWE2CAFJSYFECAV3JK1ACA5G5VFVCAA6A4I2CACLKQXYCATC2C2XCAR3TUG8CAFF1F9YCAK0I8U2CA21NYRNCA13U92ACA9B87K5.gif" (in cDrive) failed: File name too long (91)
2008/09/11 17:01:56 [1680] rsync: readlink "ygdrive/c/WINDOWS/system32/c:/Documents and Settings/Administrator/Local Settings/Temporary Internet Files/Content.IE5/5P67ZD01/WOLWGCAFT002BCA1Y3C86CARZAB07CA5MJ08ICACFK9MMCAX29TKACATEFR17CAB25YPYCAS0UBZ7CAQPNNYACA443DA5CAM5DLO7CALBN2T1CADP0P8NCA5Q2ZKVCAC6BSHYCA2C2B5WCAHSO6CC.gif" (in cDrive) failed: File name too long (91)

Although, I don't think that this error above has anything to do with "backup failed (auth failed on module cDrive)".

Could any help me on finding out what's causing this error and how I can fix this?

Regards,
--Bruno


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>