From owner-freebsd-isp Tue Nov 5 11:58: 9 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F27637B401 for ; Tue, 5 Nov 2002 11:58:07 -0800 (PST) Received: from floyd.gnulife.org (floyd.gnulife.org [199.86.41.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EC2A43E4A for ; Tue, 5 Nov 2002 11:58:06 -0800 (PST) (envelope-from jamie@gnulife.org) Received: by floyd.gnulife.org (Postfix, from userid 1000) id BE303432C9; Tue, 5 Nov 2002 14:11:37 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by floyd.gnulife.org (Postfix) with ESMTP id B0119432C6 for ; Tue, 5 Nov 2002 14:11:37 -0600 (CST) Date: Tue, 5 Nov 2002 14:11:37 -0600 (CST) From: Jamie To: freebsd-isp@freebsd.org Subject: Problems with rdist Message-ID: <20021105140229.V59324-100000@floyd.gnulife.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I am having some problems with rdist. I am trying to mirror my mail spool on another machine. When I run rdist though it is adding or changing any files that have been added or recently altered, but if I delete an account on the master server, it isn't deleted on the "slave". This is what my distfile looks like (buildup_mail.txt): MAIL = ( /var/mail /etc/mail/access /etc/mail/sendmail.cf ) UNIXBAX = ( unixbackup.foo.net ) ${MAIL} -> ${UNIXBAX} install -i /usr/backup/mail/; and I am running it like this: rdist -R -P /usr/local/bin/ssh1 -f ./buildup_mail.txt ...A snippet from the man page says my "-R" is in the right place: SYNOPSIS rdist [-nqbRhivwyD] [-P rshcmd] [-f distfile] [-d var=value] [-m host] [name ...] . . . -R Remove extraneous files. If a directory is being updated, any files that exist on the remote host that do not exist in the master directory are removed. This is useful for maintaining truly identical copies of directories. . . . ......What is particularily odd is that it works with a few files. I made a test directory with three files in it and used the same configuration on it. I then deleted one of the three files on the master and ran rdist again. I noticed it was deleted on the slave as it should be. Could it have something to do with the number of files I am trying to rdist? Any other ideas? Thanks, - Jamie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message