[rancid] Re: Clear Rev History

john heasley heas at shrubbery.net
Wed Feb 3 17:41:55 UTC 2010


Tue, Feb 02, 2010 at 10:05:47PM -0600, Stephen Kone:
> I am not familiar with CVS, but would like to clear out all the previous
> versions of my configs and start from scratch.  I could create a new network
> group, but I would like to use the existing group.  I tried removing all my
> devices from the db and then running rancid again and it appeared to work
> and moved everything into the attic, but once I added the routers back into
> the db file it did not reset the rev number.  Is there an easy way to start
> all over in CVS, but keep the same group name?

see cvs admin -o

or remove the device from router.db, run rancid, rm
/var/rancid/CVS/<group>/configs/Attic/<devicename>,v then put the device
back into router.db


More information about the Rancid-discuss mailing list