[rancid] Changing hostnames

Alan McKinnon alan.mckinnon at gmail.com
Wed Nov 6 18:25:22 UTC 2013

On 06/11/2013 19:02, Jason Lixfeld wrote:
> Hi,
> Is there any provision in RANCID to compensate for hostname changes?  That is, if router.db is populated with device hostnames, backups and CVS bits are named relative to it's corresponding router.db entry.  If a hostname is changed in router.db, CVS will attic the CVS bits for that entry which longer exists.  Is there any way for RANCID to tell CVS that a hostname has changed and have CVS update itself accordingly, or is that beyond the design intention and/or scope of CVS?
> Thanks.

The FAQ lists how to do this properly and move the entire history if
using CVS. The doc is in the download tarball.

It's easy enough that you could automate it with a script. Just make
sure you respect the lockfile in /tmp

Alan McKinnon
alan.mckinnon at gmail.com

More information about the Rancid-discuss mailing list