Ok, I quickly answered my own question. For anyone else who encounters this
problem, here's what I did.
1. Stop the rsyncd service.
2. From the cmd prompt, run
"sc delete rsyncd" (without quotes - this deletes the rsyncd service)
3. Open "c:\rsyncd\service.bat" (or wherever your service.bat is located) in a
text editor
4. add "--port=DESIRED_PORT" between "--daemon " and " --no-detach" (with no
quotes of course and replacing DESIRED_PORT with 1873, or whatever port you
choose)
5. Run service.bat
Assuming all else was configured correctly, BackupPC should now successfully
back up that computer. On a side note, I thought rsyncd.conf was supposed to
do this automatically via "port = 1873"? Perhaps this is a bug, or (more
likely) my user error?
--- On Mon, 3/2/09, Cory Rivera <[email protected]> wrote:
From: Cory Rivera <[email protected]>
Subject: [BackupPC-users] Changing rsyncd listen port on Windows XP computers.
To: [email protected]
Date: Monday, March 2, 2009, 2:55 PM
Hello all,
A little summary of my scenario:
I'm using the latest version of BackupPC to backup Windows XP computers that
are behind routers on our network. I've set up the client-configuration files
on the Ubuntu server running BackupPC to override the ClientNameAlias option -
I've set it to the router name for each config file. I've also overriden the
ports for each file, starting with 873 then moving to 1873, 2873, etc.
assigning a different port to each computer. I've then setup the router to
forward these ports to each computer, respecitively. However, I'm having a
problem setting up Rsyncd on each computer - I've setup rsyncd.conf for each
computer as given:
[data]
path = e:/data
comment = data share to back
up
auth users = backuppc
secrets file = c:/rsyncd/rsyncd.secrets
strict modes = false
read only = false
list = false
port = 1873 (this changes according to what the server has configured
for each computer)
I then run services.bat, and verify that the service is running. I've set up
Windows firewall to unblock port 1873 (or the respective port). The problem
is, when I go to run BackupPC I check the XferLOG for the computer, and I get
an "inet connect: Connection" refused error on port 1873.
I've narrowed the problem down to this:
I run "netstat -a" from the Windows computer and see that TCP computer:1873 is
not even listed. However, TCP computer:873 is in the listening state.
Disabling the rsyncd service removes that line, and enabling it brings it
back. It
seems that even though I specified in rsyncd.conf, port = 1873, the daemon
still listens on 873.
Any ideas on how to resolve this issue?
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/