cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

8368
Views
17
Helpful
8
Replies
Beginner

Auto backup using Kron method

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

Everyone's tags (1)
8 REPLIES 8
Advisor

Auto backup using Kron method

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.

Don't forget to rate helpful posts.
Beginner

Re: Auto backup using Kron method

Thanks Cadet, its working with cli show running-conf....

Can u explain one more thing...

how to configure auto schedule backup on ASA 5550...

Advisor

Auto backup using Kron method

Hi,

take a look here:https://supportforums.cisco.com/thread/2135564

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Highlighted
Beginner

Hi Faisal,

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.

VIP Mentor

Auto backup using Kron method

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

Beginner

Re: Auto backup using Kron method

 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

Travis
Everyone's tags (2)
Beginner

Re: Auto backup using Kron method

That's really helpful. Thanks for sharing.

 

Quick question: Is there a way to add the timestamp in the .txt file name?

Beginner

Re: Auto backup using Kron method

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!

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards