I had problems making rsyncd work on XP pro. I ended up giving up and using Samba rather than rsyncd. After I got past the authentication problem with rsyncd the backup would eventually not finish for some reason that I could never track down. Samba did not work well until I added a list of files to exclude which looks like this:
$Conf{BackupFilesExclude} = [
      '/Documents and Settings/*/Application Data/Adobe/*',
      '/Documents and Settings/*/Application Data/Identities/*',
      '/Documents and Settings/*/Application Data/Macromedia/*',
      '/Documents and Settings/*/Application Data/Microsoft/*',
      '/Documents and Settings/*/Application Data/Real/*',
      '/Documents and Settings/*/Application Data/Talkback/*',
      '/Documents and Settings/*/Local Settings/History/*',
      '/Documents and Settings/*/Local Settings/Temp/*',
      '/Documents and Settings/*/Local Settings/Temporary  Internet Files/*',
      '/Documents and Settings/*/NetHood/*',
      '/Documents and Settings/*/NetHood/*',
      '/Documents and Settings/*/PrintHood/*',
      '/Documents and Settings/*/PrintHood/*',
      '/Documents and Settings/*/Recent/*',
      '/Documents and Settings/*/Recent/*',
      '/Documents and Settings/*/Templates/*',
      '/Documents and Settings/*/UserData/*',
      '/Documents and Settings/admin/*',
      '/Documents and Settings/Administrator/*',
      '/Documents and Settings/Administrator/*',
      '/Documents and Settings/All Users/*',
      '/Documents and Settings/All Users/*',
      '/Documents and Settings/Default User/*',
      '/Documents and Settings/Default User/*',
      '/Documents and Settings/DELL/*',
      '/Documents and Settings/LDAP/.',
      '/Documents and Settings/LocalService/*',
      '/Documents and Settings/LocalService/*',
      '/Documents and Settings/NetworkService/*',
      '/Documents and Settings/NetworkService/*',
      '/Multimedia Files/*',
      '/My Downloads/*',
      '/My Music/*',
      '/Program Files/*/*',
      '/System Volume Information/*',
      '*/System Volume Information/*',
      '*/Temporary Internet Files/*',
After I added the file exclusion list it has been working faithfully every day. Every time I look at a nd browse backups I get a really warm fuzzy that I have this info getting backed up.

One other thing I changed is the number of full backups to keep. I set this up to look like this:
$Conf{FullKeepCnt} = [4, 4, 4, 2, 1, 1];

Make sure to read this part and see if you like how it is handling how many backups to keep. I *think* that it defaults to keeping one backup.
Hope this helps,

Aaron Throckmorton 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

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.
    # Exact DOS style path to the file or directory to be rsync
    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:
    #   a address/mask in the form  a.b.c.d/n:
    #   an address/mask in the form ipaddr/maskaddr:
    #   a hostname: backupserver
    #   a hostname pattern using wildcards: backup*
    # hosts allow =

    # Only allow clients to READ from the server. This prevents uploads
    # from remote machines. If you wish to allow uploads, change this
    # "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}).
    path = c:
    comment = Entire Drive
    auth users = backuppc
    secrets file = c:/rsyncd/rsyncd.secrets
    # hosts allow =
    strict modes = false
    read only = true
    list = false

here is the contents of the secrets file (username and password changed
to protect the guilty):
(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.  


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
BackupPC-users mailing list