Cisco – Automatic configuration backup
Posted by Josh on Mon 16 Apr 2007Categories: Cisco , Cisco Routers , Windows - [24] Comments
The Cisco IOS configuration archive is intended to provide a mechanism to store, organize, and manage an archive of Cisco IOS configuration files in order to enhance the configuration rollback capability provided by the configure replace command. – Cisco.com This tutorial also demonstrates installing an ftp server on Windows 2000/XP/2003.
Click Image to play tutorial:


April 16th, 2007 at 8:15 am
thank u very much….it’s really helpful
where are u learn this tips for cisco?
thanks again
April 16th, 2007 at 2:58 pm
Great tip !!!!
Keem them comming !
April 29th, 2007 at 9:34 am
I had never heard of either the archive feature or “config replace” before. Keep up the good work!
May 27th, 2007 at 7:42 am
[...] Cisco – Automatic configuration backup [...]
July 23rd, 2007 at 6:58 am
Good utility works fine !
July 31st, 2007 at 10:49 pm
Cisco’s documentation refers to being able to optionally time stamp the archive, instead of using a sequence number. Any ideas on how this is done?
http://www.cisco.com/en/US/products/ps6441/products_command_reference_chapter09186a00804a8ca0.html#wp1136524
August 1st, 2007 at 12:37 am
This is a new one to me. I will look into it though.
August 8th, 2007 at 11:29 pm
[...] This tutorial combines a couple previous tutorials: Automatic configuration backups with ftp and How To use SCP with Cisco routers. [...]
September 26th, 2007 at 1:02 am
Is it possible to make same at 6500 series?
There is no archive command:
core(config)#ar?
arap arp
October 14th, 2007 at 4:34 am
this ios versions only
12.3(4)T, 12.2(25)S, 12.3(14)T, 12.2(27)SBC, 12.2(33)SRA
March 26th, 2008 at 9:24 pm
[...] Cisco – Automatic configuration backup [...]
July 27th, 2008 at 11:15 pm
To use the timestamps you have to append “$t” to your filename. However it puts the time format in the following:
Jul-28-05:10:23.794
Thus windows will not read this, all you will get is “23.794″ followed but -1 or whatever sequence number you are upto.
When I deployed this a month ago I was having great difficulty with the “time-period” command, it never worked
Here is how I managed to get scheduling working:
kron occurrence backup at 2:30 1 recurring
policy-list backup
!
kron policy-list backup
cli archive config
This backs up my config on the 1st of every month at 2:30am. You can also use the EEM (embedded event manager) to do something similar.
Hope this helps
July 30th, 2008 at 11:16 pm
[...] videos on brainbump.net last Friday and noticed a different take on a tutorial I did regarding automatic configuration backups with the ‘archive’ command. While watching the video, I learned a new trick. The file name in the ‘path’ [...]
July 31st, 2008 at 6:03 pm
what was the trick?
August 2nd, 2008 at 10:19 pm
Darren,
The trick was that I didn’t know you could use the $h and $t variables in the path command.
Very nice for staging templates.
Josh
August 3rd, 2008 at 7:37 pm
Josh,
I didn’t know about the $h variable. Very handy to save from typing in the hostname lol.
Cheers mate
August 26th, 2008 at 11:07 pm
Hi, Thanks for your information. Keep it up bro.
March 31st, 2009 at 12:58 am
How can i autoconfiguration Cisco 2950 with IOS versio 12.1?Any help?
Thanks
March 5th, 2010 at 2:41 pm
[...] http://www.blindhog.net/cisco-automatic-configuration-backup/ [...]
June 25th, 2010 at 6:39 am
Hi Guys,
Is there a way to make it work using sftp instead of ftp? Seems like impossible but whould appreciate any help.
Thanks.
February 8th, 2011 at 7:43 am
hello darren i saw your message it look like what i would like to do with a big network that i m in charge of but if i use this:
kron occurrence backup at 2:30 1 recurring
policy-list backup
!
kron policy-list backup
cli archive config
where will be stolen the configuration file?
is any where we can plan for an automatic backup using ftp server(3CDAEMON) cause the time-period for the archive method doesn`t work.
Thanks for any help
February 18th, 2011 at 8:20 am
does some one knows if i can install the kron command on many devices in a big network at the same time!like an script when you run it on one device like the backbone switch then it will repeat the same command on all remaining routers and swtiches?
February 23rd, 2011 at 8:55 am
chris,
You may be able to accomplish this with kron or EEM and the ability to pass commands with ssh…
http://www.blindhog.net/ios-passing-commands-with-ssh/
Josh
February 3rd, 2012 at 4:26 am
Hi Josh,
This is great and very easy to setup on many types of cisco’s.
Works with filezilla ftp server.!
Josh many thanks for sharing this knowledge with us.