python is terribly dificult to decipher, you're right stanislav.

it is as it is, not more, not less, there's two paths to adapt, the right amount of comments, and you must run the configtree.py to get an idea of the traversal of the tree for building the configuration data.

if you prefer git rather than SVN, it's probably 3 lines to adapt, haven't checked.

Le 11 janv. 2012 à 19:07, Stanislav Sinyagin a écrit :

a 4-page script with no documentation, no revision control, and hardcoded paths?
Some people call it a dirty hack :)

For a real software, have a look at

It's not released yet, but already used in a couple of production installations. Plenty of documentation is available. Config backup is just a small part of what it can do :)

cheers
stan



From: Philippe Strauss <philou@philou.ch>
To: swinog@lists.swinog.ch
Sent: Wednesday, January 11, 2012 3:55 PM
Subject: Re: [swinog] aside from my economical warfare problems: a simple, python pexpect based cisco config archiver to SVN (not using SFTP but the CLI).

yuk must be difficult to get one single dime from a cisco config archiver :-)

more seriously, I prefer a 4 pages code I can comprehend and bend at my taste.

it was sent to this list when doing some housekeeping of my HDD and oohh, this one may still be usefull to someone else.

Le 11 janv. 2012 à 14:34, Peter Siegrist a écrit :

for a few dollars more ... take a look at the *MyConf* Cisco config backup, archive and copmpare tool at http://www.myport-tools.ch/
Its not using cvs or svn like rancid but using its own archive structure and in addition it has a graphical web interface.

kind regards
sigi



Philippe Strauss wrote:
code is small enough to be bende according to your taste:

http://www.philou.ch/cisco-term-backup.html





_______________________________________________
swinog mailing list
swinog@lists.swinog.ch
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog

--
Philippe Strauss