Automatic Backup Cisco Configuration file to a TFTP Server

Here is a simple method to automate a backup of a Cisco router via a TFTP Server (for example, every Sunday at 11:00 pm):


Route(config)#kron policy-list Backup

Router(config-kron-policy)#cli show run | redirect tftp://1.1.1.1/router.cfg
Router(config-kron-policy)#exit
!
Router(config)#kron occurrence Backup at 23:00 Sun recurring
Router(config-kron)occurrence)#policy-list Backup

Leave a Reply