Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Using kron scheduler to backup a CME running config file

I would like to use the kron command to schedule a backup of a CME configuration to an FTP server. How do I specify the host FTP server? I'm using the following link as a reference:

Backup Configuration to a TFTP Server:

This example is to save the running config to a TFTP server ( every Sunday at 23:00:

Router(config)#kron policy-list Backup

Router(config-kron-policy)#cli show run | redirect
Router(config)#kron occurrence Backup at 23:00 Sun recurring
Router(config-kron-occurrence)#policy-list Backup

Everyone's tags (1)

Re: Using kron scheduler to backup a CME running config file

i think if you use EEM will be easier

try the follwoing:

event manager applet backup

event timer cron name "sundays" cron-entry " 0 0 * * 0"  ---trigger script midnight once a week on Sunday

action 1.0 cli command "enable"
action 2.0 cli command "config t"
action 3.0 cli command "file prompt quiet"
action 4.0 cli command "end"
action 5.0 cli command "copy running tftp://serverIP"   use normal CLI copmmands
action 6.0 cli command "config t"
action 7.0 cli command "no file prompt quiet"
action 8.0 cli command "end"

if you still have issues i would recomnd you to open this discussion under network managment section

good luck

if helpful Rate