[rancid] Re: Howto use backup files ??

john heasley heas at shrubbery.net
Tue Jan 5 17:43:31 UTC 2010


Tue, Jan 05, 2010 at 08:27:03AM -0500, Steve Teti:
> Andrea wrote:
> > I ask 'cause using viewvc, when i navigate through the cvsroot page to 
> > one of the configs directory, i see ( for each revision file ) only 
> > three links:
> >  -) view
> >  -) annotate
> >  -) select for diffs
> > 
> > ..Is there the possibility to have a "download" link in order to see in 
> > the browser page the selected file only ???
> 
> Take a look at the allowed_views option in viewvc.conf.  Adding "co" to 
> the list of views should add a "download" link to your viewvc pages.
> 
> > ...I also know that after that i have to parse the file 'cause i need a 
> > file "purged" from the non-rilevant part ( such as hardware and firmware 
> > part )..
> 
> I believe the non-relevant parts are prepended with a "!", which should 
> allow you to paste or TFTP the entire file into a Cisco router with no 
> ill effects.  Also, if you have FILTER_PWDS enabled in rancid.conf (I 
> believe it's enabled by default), all your passwords will have been 
> stripped out of the stored config files.  Make sure you have the 
> relevant passwords stored elsewhere to replace into the config file.

FILTER_PWDS is off (commented) by default.  caveat is that if you're
using a linux pkg, they may have changed the default to "help" you.

> Steve
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list