I too am running Ubuntu Dapper 6.06 with an XP client.
Have a look at my config files. It took me some time
to figure this all out. This is what works for me.
My XP is Pro but the difference here should not
matter.
/var/etc/backuppc/pc/client/config.pl
##Rsyncd for XP
$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncShareName} = ['C', 'D'];
$Conf{BackupFilesExclude} =
['/$ntservicepackuninstall$', '/Documents and
Settings/*/Local Settings', '/RECYCLER', 'System
Volume Information', '/pagefile.sys', 'Temp',
'*/Temp', '*/temp'];
$Conf{RsyncdUserName} = 'backuppc';
$Conf{RsyncdPasswd} = '****';
$Conf{XferLogLevel} = 9
C:\rsyncd\rsyncd.conf
hosts allow = 192.168.1.10
use chroot = false
log file = c:\rsyncd\rsyncd.log
pid file = c:\rsyncd\rsyncd.pid
lock file = c:\rsyncd\rsyncd.lock
strict modes = false
auth users = backuppc
secrets file = c:\rsyncd\rsyncd.secrets
read only = false
list = false
[C]
path = C:
comment = Entire C
[D]
path = D:
comment = Entire D
--- Aaron Throckmorton <[EMAIL PROTECTED]>
wrote:
> I have a BackupPC installation running on Ubuntu
> Server 6.06 LTS. The
> server is working fine, but I can't get a Windows XP
> Home computer to
> successfully backup. I installed the rsyncd service
> (downloaded from
> the backuppc project page on sourceforge). When I
> attempt a backup I
> get the following error message:
>
> "auth failed on module docs"
>
> I switched it to the cDrive module, but I get the
> same error.
>
> I have double and triple checked the host config
> file on the backuppc
> server to ensure the user name and password
> (RsyncdUsername and
> RsyncdPasswd) match what I have in the
> rsyncd.secrets file.
>
> I've been googling and searching the list archives
> but haven't found my
> answer.
>
> Here is the rsyncd.conf file:
>
> #
> # A sample rsyncd.conf file usable with BackupPC.
> This file does not
> # completely document all of the settings for
> rsyncd.conf - see the
> # man page that comes with the rsync ditribution for
> a comprehensive
> # overview off all available settings.
> #
>
> #
> # Allow rsync to change the root directory to the
> module location
> # upon connection of a client. This is disabled for
> Win32 as we do
> # not provide a full Cygwin environment.
> #
> # Warning: with a setting of "false", absolute
> symlinks will be
> # stripped of their leading "/". See "use chroot"
> in the rsyncd.conf
> # man page. This is relevant for machines that
> support symlinks
> # (WinXX machines do not).
> #
> use chroot = false
>
> #
> # Limit the simultaneous rsync connections to 4.
> Changing
> # this to '1' should be sufficient for BackupPC.
> #
> max connections = 1
>
> #
> # Uncomment this line and change the path if
> # you would like to log rsync messages.
> #
> log file = c:/rsyncd/rsyncd.log
>
> #
> # The location of the rsync process ID file
> #
> pid file = c:/rsyncd/rsyncd.pid
>
> #
> # The locations of the rsync lock file
> #
> lock file = c:/rsyncd/rsyncd.lock
>
> #
> # This is where we define the rsyncd modules. Add as
> many directories or
> # files are you wish. To backup this module using
> BackupPC, set
> # $Conf{RsyncShareName} to "docs" in this client's
> config.pl.
> #
> [docs]
> #
> # Exact DOS style path to the file or directory
> to be rsync
> accessible
> #
> path = c:/Documents and Settings
>
> #
> # A short description of the module. This is
> what is printed when
> # using rsync to "browse" the server for what
> modules are available.
> #
> comment = Documents and Settings
>
> #
> # Does rsyncd ensure that the secrets file is
> read only by the
> # user running the process? If this is false
> then no check is
> # performed (useful for Win32 systems). However,
> you can change
> # this to "true" and make the secrets file READ
> ONLY by the user
> # running the rysncd process. If running from
> the command line
> # or upon login, this should be the user who is
> logged in. If
> # running as a Win32 service, then the SYSTEM
> account should be
> # the only account that can read the secrets
> file.
> #
> strict modes = false
>
> #
> # What user(s) have access to this module. The
> user(s) must be
> # defined in the secrets file. A comma or space
> separated list.
> #
> # Example:
> # auth users = backup, root, larry
> # auth users = backup root larry
> #
> auth users = backuppc backup
>
> #
> # The location of the secrets file. Permissions
> must be READ ONLY
> # for the account running the rsyncd process
> unless
> # strict modes = false is set above.
> #
> secrets file = c:/rsyncd/rsyncd.secrets
>
> #
> # What hosts are allowed access to this module?
> By default, all
> # hosts are allowed access. If you wish to
> further strengthen
> # the security of your setup, uncomment and
> replace with the IP
> # address your BackupPC server. This is a
> flexible setting and
> # can be one of:
> #
> # a dotted decimal IP address: 172.16.0.17
> # a address/mask in the form a.b.c.d/n:
> 172.16.0.0/24
> # an address/mask in the form ipaddr/maskaddr:
> 172.16.0.0/255.255.255.0
> # a hostname: backupserver
> # a hostname pattern using wildcards: backup*
> #
> # hosts allow = 172.16.0.17
>
> #
> # Only allow clients to READ from the server.
> This prevents uploads
> # from remote machines. If you wish to allow
> uploads, change this
> too
> # "true".
> #
> # WARNING: Setting this to true means that
> BackupPC restores via
> # rsyncd will fail. You most likely want to set
> this to "false".
> #
> read only = false
>
> #
> # Don't list this module if a client asks
> (provides another modest
> # layer of security since an attacker also has
> to guess the module
> # name - you could make it obscure if you want -
> but remember the
> # module name is sent in plain text so it can be
> sniffed).
> #
> list = false
>
> #
> # Example of how to share the entire C: drive. For
> BackupPC "cDrive"
> # is the share name (ie: the value of
> $Conf{RsyncShareName}).
> #
> [cDrive]
> path = c:
> comment = Entire Drive
> auth users = backuppc
> secrets file = c:/rsyncd/rsyncd.secrets
> # hosts allow = 172.16.0.17
> strict modes = false
> read only = true
> list = false
>
> here is the contents of the secrets file (username
> and password changed
> to protect the guilty):
> backuppc:password
> (with carriage-return)
>
> Here is the host config file on the server:
> $Conf{XferMethod} = 'rsyncd';
> $Conf{RsyncdUsername} = 'backuppc';
> $Conf{RsyncdPasswd} = 'password';
> $Conf{RsyncShareName} = ['cDrive'];
>
> Thanks in advance for any help.
>
> Aaron
>
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
> the chance to share your
> opinions on IT & business topics through brief
> surveys -- and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
Hosea 4:6
my people are destroyed from lack of knowledge.
Galatians 5:1
It is for freedom that Christ has set us free.
Romans 10:9
That if you confess with your mouth, "Jesus is Lord," and believe in your heart
that God raised him from the dead, you will be saved.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/