05-26-2020 04:17 AM
Hi All,
How to do backup of running config on change (wr) to disk0?
I think this is possible with event manager?
Eero
05-26-2020 09:45 AM
- Below is a thread of example tools which can do this , Cisco Prime will offer a more dedicated solution which can make config-backups of other cisco equipment too. Note that the question as such on advisory note is undefined and or has drawbacks - if this is intended to work on an instant config change. Then 'config change' may not correlate to final intended config change such as IT staff working on a series of maintenance changes of the config (for instance). A final saved config may then contain errors (too). And or ii is usually better to save the config on scheduled intervals, such as daily at night , for instance.
M.
05-26-2020 10:06 AM
I wrote my own solution.
Event manager applet dailybackup
event timer absolute time 00:00:00
action 0 cli command "enable"
action 1 cli command "copy /noconfirm run disk0://daily-backup"
Event manager applet weeklybackup
event timer watchdog time 604800
action 0 cli command "enable"
action 1 cli command "copy /noconfirm run disk0://weekly-backup"
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