BackupPC-users

Re: [BackupPC-users] cygwin-rsyncd outdated No recent version ?

2013-07-11 13:02:09
Subject: Re: [BackupPC-users] cygwin-rsyncd outdated No recent version ?
From: "Ray.Frush" <ray.frush AT avagotech DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 11 Jul 2013 10:55:23 -0600

As I mentioned earlier,  use the Nullsoft Scriptable Install System to build a rsyncd install package for our PCs.

Assumptions:
We needed a simple rsyncd service that would install with MINIMAL user interaction.  Our install does NOT use SSL keys, but instead relies on a simple rsyncd password (rsyncd.secret).

Acknowledgements:
The NSIS config file I used was leveraged heavily from ITeF!x Consulting from the cwRsyncd package they released.  The following is based on v2.0.3
See http://www.itefix.no/ for the original authors ongoing work.  His current package, while excellent, doesn't lend itself to automated installs.

Disclaimers:  Use at your own risk.  I had to hack this up to remove my company's specific information, and as delivered won't build a package that works for anyone without some modifications.   You must read and understand all of the text files included, especially:

"backuppc_rsync-server.nsi" : The NSIS  script
"notify.bat" : executed by install package to call 'blat' to send email to our call ticketing system.
"rsyncd.conf" : leveraged ITeF!x version,  with some changes we found to be good in our environment.
"rsyncd.secrets" : will contain your rsyncd password used in $Conf{RsyncdPasswd}


Requirements:
To create your own package from scratch you'll need to download and install packages from these sites:
NSIS:  The install package builder:  http://www.blat.net/?docs/license.txt  (version 2.46 used)
Cygwin:  http://cygwin.com   (file versions vary.  My installation was from April-2012)
BLAT:  (for Notifications)  http://www.blat.net/

I copied the key files from Cygwin and Blat packages into the build tree as follows:

Directory of C:\rsyncd.backuppc
     backuppc_rsync-server.nsi
     [bin]
          blat.dll         blat.exe
          blat.lib         cygiconv-2.dll   cygpopt-0.dll    cygrunsrv.exe
          cygwin1.dll      notify.bat       rsync.exe
     [doc]
         rsync.html         rsyncd.conf.html
     [etc]
         fstab
     license.txt
     rsyncd.conf
     rsyncd.secrets
 

Files I wrote/modifed were:
"backuppc_rsync-server.nsi" : The NSIS  script
"notify.bat" : executed by install package to call 'blat' to send email to our call ticketing system.
"rsyncd.conf" : leveraged ITeF!x version,  with some changes we found to be good in our environment.
"rsyncd.secrets" : will contain your rsyncd password used in $Conf{RsyncdPasswd}



--
Ray Frush               "Either you are part of the solution
T:970.288.6223               or part of the precipitate."
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Avago Technologies, Inc. | Technical Computing | IT Engineer

Attachment: backuppc_rsync-server.nsi
Description: Text document

Attachment: rsync_nsis_source.zipfile
Description: Binary data

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>