cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
829
Views
0
Helpful
3
Replies

Configuration Bankup on ASA

Jesutofunmi O
Level 1
Level 1

Hello, 

 

I run a scheduled EEM script on my ASA to backup the running-config which works just fine except for a minor issue. When the file gets backs up, it replaces the former file there because of same name. This works in contrast with what I have running on my other iOS routers which I use "archive" for for the config backup. It automatically renames each file that's being backed up by adding date and time but the ASA backup does not work as such. 

 

I need help with adding time stamps to the backup so new backups don't replace the old. Script below;

 

event manager applet BackupASAConfig
event timer absolute time 21:55
action o cli command "copy /noconfirm running-config ftp://10.12.9.14/ASAConfigs/ASA_01"
output none

 

 

Anticipating help. 

 

Thank you

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

I used the below when i was testing: please check if that is useful :

 

https://www.balajibandi.com/?p=1554

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks Balaji. 

I tried this solution but it didn't work. For example, the ASA does not have the "puts" or "regexp" commands. I have been manually renaming my backup files since I posted this. 

sure EEM has limited in ASA.

that is the reason i use outof the box backup from Linux as below :

https://www.balajibandi.com/?s=backup

look below thread also helpful - copy to flash and rename with time and date and upload to backup

https://community.cisco.com/t5/network-security/asa-backup-using-cli/m-p/3927658

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help