Discussion:
[rancid] recovering or examining old cisco configs?
Thomison, Lee
2011-02-04 21:40:16 UTC
Permalink
We're using rancid with svn. Is it possible (and easy) to examine a cisco config from an arbitrary time period ago?

Thanks
Gavin McCullagh
2011-02-04 22:25:25 UTC
Permalink
Post by Thomison, Lee
We're using rancid with svn. Is it possible (and easy) to examine a
cisco config from an arbitrary time period ago?
As long as you were using rancid & svn within the arbitrary time in
question, yeah, that should be fine.

You just need to do a checkout with the right date, eg.

sudo -u rancid svn checkout -r '{2011-02-02}' file:///var/lib/svn/rancid

I needed to run this as rancid (hence the sudo -u rancid) because the
archive is owned by the rancid user. Depending how you've set things up,
you may need to do something similar. The subversion side of it is fairly
simple though.

Gavin
john heasley
2011-02-04 22:33:36 UTC
Permalink
Post by Thomison, Lee
We're using rancid with svn. Is it possible (and easy) to examine a cisco config from an arbitrary time period ago?
Thanks
google for cvsweb and see the cvs manpage.
Alex DEKKER
2011-02-04 22:30:16 UTC
Permalink
Post by Thomison, Lee
We're using rancid with svn. Is it possible (and easy) to examine a cisco
config from an arbitrary time period ago?
I used Trac for this [trac.edgewall.org]. It has other features like a wiki
and issue tracking that may be of interest.

alexd

Loading...