code is small enough to be bende according to your taste:
http://www.philou.ch/cisco-term-backup.html
cheers.
-- Philippe Strauss http://www.philou.ch/
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
cheers.
-- Philippe Strauss http://www.philou.ch/
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
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
cheers.
-- Philippe Strauss http://www.philou.ch/
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
-- Philippe Strauss http://www.philou.ch/
surely I fully agree with you (the 4 page code) but an ios by cisco isnt an ios by cisco ... is a world full of surprises ;-)
sigi
Philippe Strauss wrote:
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
cheers.
-- Philippe Strauss http://www.philou.ch/
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
swinog mailing list swinog@lists.swinog.ch mailto:swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
-- Philippe Strauss http://www.philou.ch/
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
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
https://github.com/ssinyagin/gerty
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
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 https://github.com/ssinyagin/gerty
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:
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
-- Philippe Strauss http://www.philou.ch/
On Jan 11, 2012, at 3:55 PM, Philippe Strauss wrote:
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.
I totally agree. I'm using my own scripts (mostly shell scripts) for config backup (Cisco, Extreme and others) and only for config back-up. Archiving is done by real revision control software (SVN in my case) and diff is done by nice tools like websvn or any other common SVN client.
I would never use a proprietary tool like "MyConf" for configuration revision control and spend money on that. I simply don't have time to use different WebGUIs for each task in my network and periodically check all the those tools if they are working properly.
I can easily integrate the simple scripts into Nagios / Icinga and monitor the backups and changes.
I'm planning to check out gerty as it seems promising and look like a good approach to combine and centralize some serious tasks while keeping the modularity and customization options like monitoring integration, custom revision control, etc.
If anyone wants my scripts, just contact me. But it's just another "hack" with hardcodes stuff :-), perfectly doing its job though.
regards Marco
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
cheers.
-- Philippe Strauss http://www.philou.ch/
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
-- Philippe Strauss http://www.philou.ch/
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
I probably forgot to mention the vendor-specific plugins: https://github.com/ssinyagin/gerty-plugins
From: Marco Fretz marco.fretz@gmail.com
I'm planning to check out gerty as it seems promising and look like a good approach to combine and centralize some serious tasks while keeping the modularity and customization options like monitoring integration, custom revision control, etc.