BackupPC-users

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-26 08:37:06
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: sorin.srbu AT orgfarm.uu DOT se, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 26 Mar 2010 07:34:43 -0500
Sorin Srbu wrote:
>> -----Original Message-----
>> From: Les Mikesell [mailto:lesmikesell AT gmail DOT com]
>> Sent: Thursday, March 25, 2010 4:04 PM
>> To: backuppc-users AT lists.sourceforge DOT net
>> Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host
>>
>> [...]
>>> Installed rsyncd to the Win-machine and the services now run. In BPC I set 
>>> it
>>> to use rsyncd and the RsyncdUserName and ditto password to one of the local
>>> accounts with access to the folders I want to backup.
>>>
>>> The RsyncShareName I entered as /cygdrive/e/users/, which is where the user
>>> folders are located. I tested that the $ RsyncdUserName really has access 
>>> to
>>> /cygdrive/e/users/.
>>>
>>> Now BPC says as follows, from the BPC Log file:
>>>
>>> 2010-03-25 14:30:57 full backup started for directory /cygdrive/e/users/
>>> 2010-03-25 14:30:57 Got fatal error during xfer (Unknown module
>>> '/cygdrive/e/users/')
>>> 2010-03-25 14:31:02 Backup aborted (Unknown module '/cygdrive/e/users/')
>>>
>>> I'm not sure what it means by unknown module. Has this something to do with
>>> the rsyncd.conf on the Win-client?
>> Are you confusing rsync and rsyncd?  With rsync, you start the remote
>> rsync via ssh and it sees the whole remote filesystem from the
>> perspective of a remote user.  You can test access from the backuppc
>> server with a command line like 'rsync -av user@host:/path'  If you
>> don't specify a destination, you should see a directory listing (and
>> current versions have an implied -essh argument). With rsyncd, the
>> program is run as a daemon/service and only the paths explicitly
>> mentioned in rsyncd.conf are exposed by their module names.  You can
>> test this with a command like 'rsync -av host::module'  (note double colon).
> 
> I hope not. ;-) I tried rsync with ssh first, but that didn't work out 
> ("unable to read 4 bytes"), so I tried rsyncd instead. Now the sshd service 
> on 
> the Win2k3-machine refuses to start for some reason, it was off this morning. 
> Sshd on the WinXP-box still runs...
> 
> The rsyncd test tells me:
> 
> root@mach012 ~/ [0]# rsync -avv xxx.yyy.zzz.nnn::starforge2_users
> opening tcp connection to xxx.yyy.zzz.nnn port 873
> opening connection using --server --sender -vvlogDtpr --list-only . 
> starforge2_users
> Password:
> @ERROR: auth failed on module starforge2_users
> rsync error: error starting client-server protocol (code 5) at main.c(1296) 
> [receiver=2.6.8]
> root@mach012 ~/ [0]#
> 
> It feels like I'm getting at roads end with this. Things that work on one 
> Win-machine doesn't on another, it's so, so, frustrating. 8-/

The password it requested there would be in the secrets file you specified in 
the rsyncd.conf   It doesn't relate to windows users at all - and it can be 
included in the backuppc setup for rsyncd.

-- 
    Les Mikesell
      lesmikesell AT gmail DOT com


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/