12-26-2013 11:35 PM - edited 03-03-2019 07:15 AM
Hi,
Today, i configure Kron method for auto backup on my one switch 2960G version 12.2 but it can't work, below are the configurations we have
_______________________________________________________________
#kron policy-list SaveConfig
#cli copy system:/running-config tftp://192.168.0.209/Meeting_sw.txt
#kron occurrence SaveConfigSchedule
at 11:00 fri recurring
#policy-list SaveConfig
_______________________________________________________________
Meeting_SW#sh kron schedule
Kron Occurrence Schedule
saveconfigschedule inactive, will run again in 0 days 22:44:42 at 11:00 on Fri
______________________________________________________________________
Testing of TFTP server;
Meeting_SW#show run | redirect tftp://192.168.0.209/RBackup.cfg
!
can anyone help me on this issue.....
Regards,
Faisal Naseem Khan
12-29-2013 02:36 PM
Hi,
kron doesn't support interactive command so you should replace
cli copy system:/running-config tftp://192.168.0.209/Meeting_sw.txt
by
cli show running-config | redirect tftp://192.168.0.209/Meeting_sw.txt
Regards
Alain
Don't forget to rate helpful posts.
12-29-2013 10:06 PM
Thanks Cadet, its working with cli show running-conf....
Can u explain one more thing...
how to configure auto schedule backup on ASA 5550...
12-30-2013 01:48 AM
Hi,
take a look here:https://supportforums.cisco.com/thread/2135564
Regards
Alain
Don't forget to rate helpful posts.
03-26-2017 11:44 PM
Hi Faisal,
Can you please help me with the command to get output for multiple show commands in a single text file like show vlan brief, show interface trunk, show ip eigrp neighbor and so on. Thanks.
12-29-2013 03:14 PM
Another way to backup your config would be the archive-function. That would probably be the right tool for the job.
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
04-13-2018 10:03 PM
Hi Everyone,
I created a piece of technical documentation that should help everyone out. I have automated daily backups for running-configs and startup-configs. Please let me know what you think.
https://www.slideshare.net/TravisKench/automate-cisco-switch-configuration-backups-with-kron
Travis
04-24-2018 06:43 AM
That's really helpful. Thanks for sharing.
Quick question: Is there a way to add the timestamp in the .txt file name?
04-02-2019 12:44 PM
Yes, please. Im trying to keep multiple versions of a config. Date and time stamp would be great. That way it doesnt over write the same file every time. Ive tried using the $h-$t variables. but that doesnt seem to do anything for Cisco IOS XE.
Thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide