Date: Tue, 5 Nov 2002 14:11:37 -0600 (CST) From: Jamie <jamie@gnulife.org> To: freebsd-isp@freebsd.org Subject: Problems with rdist Message-ID: <20021105140229.V59324-100000@floyd.gnulife.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021105140229.V59324-100000>