[rancid] How to create a backup folder for hierarchy?

heasley heas at shrubbery.net
Thu Mar 18 18:51:16 UTC 2021


Thu, Mar 18, 2021 at 08:15:47AM -0600, Kevin Morales:
> Hi, How can I do a hierarchy folder for backup configurations using Websvn?
> for example:
> 
> +ROUTER
>    +---- CISCO
>             +----SW
>             +----FW
>    +---- Juniper
>             +----SW
>             +----FW

if you split these between rancid groups, then i think that you use separate
locations like the config examples at
https://websvnphp.github.io/docs/install.html to create this heirarchy.

A simpler way might be just to use devices names that imply these cirteria:

	[sr]MN.domain

	s10.domain switch, 1=cisco, #0
	s20.domain switch, 2=junpier, #0

or use a cgi that reads the rancid router.db to create indexes of URLs
in the heirarchy that you desire.



More information about the Rancid-discuss mailing list