03-24-2021 11:28 AM
I am looking for a solution to back up the running-config to a management server using Event Manager. Those I have found use copy-command and tftp. But I would really would like a solution that utilizes the rotate function in the event manager that you have in the 'output file rotate'-command.
With this in place you can easily set up a weekly backup with where you keep x number of total backups. No filling up disks or renaming of filenames.
Regards,
FinnE
03-24-2021 12:26 PM
Hope this device managed by FMC, why not manage backup using FMC ? (just thought ?)
03-24-2021 04:47 PM
Hi Balaji,
We only have one single Cisco unit (other network equipment handled through another mgmt application) and all I need is the backup (we use ASDM/cli for config etc), I know it can be done using copy and tftp, but I kind of hoped that it was possible to utilize the nice and clean functionality in EM even though I have not seen any solutions describing it. Maybe a combination of 'Ouput file' command and a 'copy..tftp' will work?
My experience with Cisco is limited I should add.
Regards,
Finn Erik
03-24-2021 05:24 PM
simple EEM
event manager applet my-backup
event timer absolute time 00:01:10 <- change the time as per the requirement
action 0 cli command "copy /noconfirm running-config tftp://x.x.x.x/myasa-cfg.cfg"
output none
other option based on the config change :
event manager applet backup-asa description Backup ASA upon saving config event syslog id 111004 action 0 cli command "backup /noconfirm location tftp://x.x.x.x/configs/" output none
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