From owner-freebsd-net Thu Feb 17 6:58:59 2000 Delivered-To: freebsd-net@freebsd.org Received: from vidle.i.cz (vidle.i.cz [193.179.36.138]) by hub.freebsd.org (Postfix) with ESMTP id 115EF37B734 for ; Thu, 17 Feb 2000 06:58:57 -0800 (PST) (envelope-from mm@i.cz) Received: from ns.i.cz (brana.i.cz [193.179.36.134]) by vidle.i.cz (Postfix) with ESMTP id 0DB5A30701 for ; Thu, 17 Feb 2000 15:58:56 +0100 (CET) Received: from woody.i.cz (woody.i.cz [192.168.18.29]) by ns.i.cz (Postfix) with ESMTP id CC38036415 for ; Thu, 17 Feb 2000 15:58:54 +0100 (CET) Content-Length: 882 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200002161938.OAA78246@khavrinen.lcs.mit.edu> Date: Thu, 17 Feb 2000 15:58:54 +0100 (MET) Reply-To: mm@i.cz From: Martin Machacek To: net@freebsd.org Subject: RE: Synchronizing two (or more) machines over the network Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 16-Feb-00 Garrett Wollman wrote: > Does anyone have a good method for keeping two machines absolutely > identical-but-for-a-few-symlinks that works reliably and securely over > the network? I have looked at rdist6, but it doesn't understand file > flags. (NFS is out of the running, since it is neither reliable nor > secure.) Are there any other options that people have found to their > liking? I'm using rsync over ssh together with mtree. I first build completely image of target filesystem on the master machine (incorporating all target machine specific modifications) then rsync it to the target and finally run mtree to fix ownership and permissions. The whole process is driven by relatively primitive shell script. Works fine for a network of cca. 40 nameservers, mailservers and firewalls running FreeBSD 2.2.8 and 3.3. Martin --- [PGP KeyID F3F409C4] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message