Date: Sun, 30 Dec 2001 13:10:39 -0500 (EST) From: Tim Kellers <timothyk@serv1.wallnet.com> To: Gabriel Ambuehl <gabriel_ambuehl@buz.ch> Cc: <questions@FreeBSD.ORG> Subject: Re[3]: "Cluster" administration software... Message-ID: <20011230125718.J70028-100000@serv1.wallnet.com> In-Reply-To: <19189743296.20011230184827@buz.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
rsync has the ability to exclude files/directories. You can sync /etc/* and exclude master.passwd, for example. If you are pushing addon programs across your network,though, you would probably be syncing /usr/local/*. It shouldn't hit any of your password files that way. I was going to quote the man page for rsync, here, but rsync isn't installed on this laptop i'm using. Here is a snippet, though, from rsync on one of my servers: (from man rsync) Here are some exclude/include examples: o --exclude "*.o" would exclude all filenames match- ing *.o o --exclude "/foo" would exclude a file in the base directory called foo o --exclude "foo/" would exclude any directory called foo o --exclude "/foo/*/bar" would exclude any file called bar two levels below a base directory called foo o --exclude "/foo/**/bar" would exclude any file called bar two or more levels below a base direc- tory called foo (end man rysnc) There's a whole lot more in that man page, you may find that it does what you need. Tim Kellers CPE/NJIT On Sun, 30 Dec 2001, Gabriel Ambuehl wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > Hello Tim, > > 30 Dec 2001, 18:35:25, you wrote: > > > at first I did this on boxen that were identical hardware (Dell > > Poweredge 2500's), I subsequently rsynced folders on different > > hardware (Poweredge 1300, 1400, 1400SC, and an Optiplex, just for > > good measure) and I had zero erros or inconsistencies among these > > boxes. > > > I also heavily use Webmin for the "little" stuff for maintaing our > > server forest. I does exactly what I need it to do. > > > How do you go about saving the passwords on the boxes? I once wanted > to use rsync for mirroring purposes, but I seriously disliked the > idea > of saving the root pw of one machine on the other... > > > Best regards, > Gabriel > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.5i > > iQEVAwUBPC9FX8Za2WpymlDxAQGUuwf/UNM0KCJaTlJ6sytxuMdpYSjwRxiGdyYV > 2F52fDXWmEhNdiRNOmyPaadc0Mcu3I2YAUhJCq6/xeAJW8NY1XZEpI69bGZmFDFE > 8+dITNC/C93jYacySfM2nfFGc2dEZesTo+/j5vXN16mPVboZMb12l2uMdycpeYUN > SLbuthIN5sYiz2cvqGRbfQqY0eJsa+ZifETECJoaiKb2a+QubhyXUKpVbxNBFHvs > RvbjDGoBZtTzNchlBGomoVil/aHXT9dxH1H33eJhywSVktbn2M/7UpTAta84fOd5 > Y+puXtM7Q0vB/FY/yJizvRnPUplJymYsGx3/qY+PbzBIQ3lz91ZJLw== > =PT2e > -----END PGP SIGNATURE----- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011230125718.J70028-100000>