ip ftp source-interface
ip ftp username nms
ip ftp password nms
file prompt quiet
!
kron policy-list backup
cli copy running-config ftp://10.1.5.98
!
kron occurrence daily-backup at 0:30 recurring
policy-list backup
There is another script running on my Linux host to post these config files to Spark using the Spark Message API. Good thing for Spark is it is persistent, and I can store the config files there as long as I want.
I do it for my development source code too, similar concept.
A script will be executed every night using the linux box cron job to get this done. Or do it manually, by asking my chatbot to do it.
No comments:
Post a Comment