BackupPC-users

Re: [BackupPC-users] Changing rsyncd listen port on Windows XP computers.

2009-03-02 18:25:44
Subject: Re: [BackupPC-users] Changing rsyncd listen port on Windows XP computers.
From: Cory Rivera <kdxkawirider02 AT sbcglobal DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 2 Mar 2009 15:22:56 -0800 (PST)
Adam,

I just tried your suggestion and that seems to work too (simpler to do, even).  Thank you for the quick response.


--- On Mon, 3/2/09, Adam Goryachev <mailinglists AT websitemanagers.com DOT au> wrote:
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
Subject: Re: [BackupPC-users] Changing rsyncd listen port on Windows XP computers.
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Monday, March 2, 2009, 3:10 PM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Cory Rivera wrote:
> 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?

Try moving the port = 1873 into the global config portion of the
rsyncd.conf file (above the [data[ section.

Also, another option is to have your router map port 1873 on the
external interface to port 873 on the internal PC, etc... That way the
workstations all use the standard rsync port number....

Also, you might consider allocating a range of ports for your rsync
usage, otherwise you may run out of port numbers, and or fall into
needing a port number which is used for another purpose.... Overall,
shouldn't really matter.... just a thought :)

Hope that helps.

Regards,
Adam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmsZ00ACgkQGyoxogrTyiWKlACbBup6avjsbQSxi/eQIKO/CWQb
e/AAoLZfbstGdXKuII3Sn3IMG/mcI59N
=fvDi
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
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/
------------------------------------------------------------------------------
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
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/