rsync and excludes

From: Bernd Schemmer (Bernd.Schemmer@gmx.de)
Date: Thu Jul 14 2005 - 18:57:41 EDT


Hi,

We're using rsync to synchronize our Solaris Installation server.

One server, the master server, holds all packages in
/usr/sys/inst.images/SunOS
The other server get the packages from the master server via rsync

The other servers should get all or only some of the packages from the
master server using rsync.

We want to hold the configuration (which server can access which
packages) completely on the master server running the rsync daemon.

Is it possible to configure the rsync daemon on the master server so
that for example

    server1.test.net can rsync all packages

and

   server2.test.net can only rsync some of the packages (e.g.
common.pkg, test1.pkg and test2/test2.pkg)

and

   server3.test.net can only rsync some other packages (e.g.
common.pkg, test3.pkg, test4/test4.pkg )

without changing something on the rsync client. The clients should only
do a rsync -avz /usr/sys/inst.images/SunOS
 They shouldn't care about the packages they can access or not.

 And they should NOT be able to copy a package via rsync if it is not
allowed on the server - even if they try.

Can this be done with rsync?

regards

Bernd

-- 
Bernd Schemmer, Frankfurt am Main, Germany
http://home.arcor.de/bnsmb/index.html
Mas temprano que tarde el mundio cambiara
                        Fidel Castro
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:07 EDT