This is the message i use to setup the rsync.
i will try what you ask and send the report later.
|
|
rsync on NTFrom: "Mike McHenry" <[EMAIL PROTECTED]>
Subject: Rsync 2.3.1 WinNT binaries and instructions available
Date: Fri, 15 Oct 1999 02:53:30 +1000
Hello all,
I have created Windows NT binaries for rsync 2.3.1 and have decided to make
them available for others to download. These binaries have been tested on
Windows NT Server 4.0 SP5 and WILL run in daemon mode if you follow my
instructions below. I make no guarantees about these binaries, they have
however been working for me for weeks on several NT machines.
Binaries at ftp://ftp.minn.net/usr/mmchen/
Instructions for running in daemon mode:
1. You will need two files, rsync.exe and cygwin1.dll. Place rsync.exe
anywhere you like (I chose c:\program files\rsync\rsync.exe) and put
cygwin1.dll in c:\winnt\system32
2. You will need a program from the NT Server resource kit called
srvany.exe. This program allows you to run any executable as a service. If
you simply install the entire service pack it will be located in c:\ntreskit
3. Create a service for rsync by typing the following:
instsrv Rsync "C:\ntreskit\srvany.exe"
4. You should now have a new service called Rsync and you can verify by
looking in Start->Control Panel->Services DON'T START IT YET!
5. If you want to run rsync in daemon mode you will need a configuration
file. Here is the one I use, call it rsyncd.conf and place it in the same
directory as rsync (C:\Program files\rsync\rsyncd.conf)
use chroot = false
strict modes = false
hosts allow = *
[backup]
path = /
read only = yes
list = no
This example configuration will make one big anonymous anonymous rsync area
available, I use this to backup my NT machines from a central Unix machine.
This configuration might not be ideal for you, change to suit your tastes.
The first two lines are important for rsync to work on Windows NT however.
6. You are going to need to hack some keys in the registry to make it work.
Don't do this unless you are comfortable with the changes! Run regedit32 and
add the following keys and values (quotation marks ARE IMPORTANT):
HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Services->Rsync
Edit->Add Key-> Key Name: Paramaters
Edit->Add Value-> Value Name: AppDirectory Value: "C:\programfiles\rsync"
Edit->Add Value-> Value Name: Application Value: "C:\programfiles\rsync\rsync.exe"
Edit->Add Value-> Value Name: AppParamters Value: --config="C:\programfiles\rsync\rsyncd.conf" --daemon
7. That's it, you should be able to start and stop the rsync service at will
using the Services Control Panel. When running with the above configuration
you should be able to test by attempting to telnet to port 873 from a remote
machine.
telnet rsync.server.com 873 (replacing rsync.server.com with your own
server's address)
You should get a connection to the rsync daemon running on your NT box.
8. If you have problems you are on your own, sorry, I have enough to do :) I
would suggest triple-checking your spelling on EVERYTHING (filenames,
configs, reg keys). If you have any comments or suggestions I would be happy
to hear them at [EMAIL PROTECTED]
Mike McHenry
Systems Administrator
MinnNet Communications, Inc.
|
__________________________________________________
Fax: 770-420-3376
----- Original Message -----
Sent: Monday, September 30, 2002 12:06
PM
Subject: Re: off site backup with
rsync
ok, you have a proper rsyncd.conf for your application, good
job there. Now, how do you start the daemon? with --no-detach in a
bat file defining $CYGWINROOT handled by srvany? Manually running
it? Can you list the modules locally? After setting up the
daemon, "rsync localhost::" should come back with the "backup" module
name. set "list" to "yes" temporarily for the test. Even if
you leave list set to "no", it should run without error, rather than
saying something like " rsync localhost:: rsync: failed to connect to
localhost: Connection refused rsync error: error in socket IO (code 10) at
../../../../src/rsync-2.5.5rc1/clientserver.c(96) " If it fails,
that means your daemon isn't accessible. Try "rsync --daemon".
That should fork and return you to a prompt. At that point, do a
"ps", which should show a rsync process. Try the listing again. As an
aside, do you really intend to get just your cygwinroot ("/"), or do you
mean rather something like "/cygdrive/c", so that you would get the entire
C: drive?
Anyway, once we know it's working locally, we can tackle
issues with accessing it remotely, if any remain.
Tim Conway [EMAIL PROTECTED] reorder name
and reverse domain 303.682.4917 office, 303.921.0301 cell Philips
Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO
80501 Available via SameTime Connect within Philips, caesupport2 on
AIM "There are some who call me.... Tim?"
"William R.
Nash" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/28/2002
03:25 PM
To: Tim Conway/LMT/SC/PHILIPS@AMEC <[EMAIL PROTECTED]>
cc: <[EMAIL PROTECTED]>
Subject: Re: off site backup with
rsync Classification:
My config file for rsync that is on the windows NT 4.0
box rsyncd.conf use chroot = false strict
modes = false hosts allow = *
[backup] path = / read
only = yes list = no thanks
__________________________________________________ Best
Regards, William R. Nash.
Consultant Century Solutions
Group, INC.
Registered Linux User #269190
Tel:
770-420-5546 Cell: 678-910-4505 Fax: 770-420-3376
Web: www.Century Solutions Group
Web: www.William R. Nash Website
-----
Original Message ----- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Tuesday,
September 24, 2002 10:45 AM Subject: Re: off site backup with
rsync
Of course you can. It's done all the time. Set up your
rsyncd.conf in /etc under cygwin, start the server (rsync --daemon), and
read from it. If you've already done this, send more details (your
rsync.conf, output of
"ps ax" after starting the server, "rsync
localhost::" output, etc.).
Tim Conway [EMAIL PROTECTED] 303.682.4917
office, 303.921.0301 cell Philips Semiconductor - Longmont TC 1880
Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime
Connect within Philips, caesupport2 on AIM "There are some who call me....
Tim?"
<[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/24/2002
06:13 AM
To: <[EMAIL PROTECTED]>
cc: <[EMAIL PROTECTED]> (bcc: Tim
Conway/LMT/SC/PHILIPS)
Subject: off site backup with
rsync Classification:
Can anyone help me with rsync. I'm trying to set up
rsync on a windows nt 4.0 box so i can do off site backup with linux.
I followed the instruction from rsync.samba.org and i have rsync working on
windows nt. when i tried to use rsync with linux to connect to the windows
box i get a error invalid module. Is there anything i can do to get
rsync to work so i can do off site backup. thanks Bill
Nash
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before
posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before
posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
|