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

Automating Backups using EEM - ASA 5515-X

mikepultz
Level 1
Level 1

Hello,

I have a pair of ASA 5515-X's, and I'm trying to automate the backup command using EEM.

 

event manager applet backup
 description Backup the VPN config daily
 event timer absolute time 01:00:00
 action 0 cli command "copy /noconfirm running-config tftp://192.168.10.131"
 output file new

The command listed there works fine when I run it manually.

I can see the event fire as expected at 1AM, but the compression process fails for some reason:

vpn1(config-applet)# more disk0:/eem-backup-20180228-140900.log
Reason for log file generation:
absolute timer expired
------------------ backup /noconfirm location tftp://192.168.10.131 @ 2018/02/28 14:09:00 ------------------

Begin backup ...
Backing up [ASA Version] ... Done!
Backing up [Running Configurations] ... Done!
Backing up [Startup Configurations] ...
Copy in progress...C Done!
Compressing the backup directory ...ERROR: Operation not permitted
 Failed!
Cleaning up ... Done!

Backup finished!

This device is currently running 9.3.3; I have another identically configured device running 9.9.1, and it fails as well, although, the error message is slightly different:

vpn1(config-applet)# more disk0:/eem-backup-20180228-150100.log
Reason for log file generation:
absolute timer expired
------------------ backup /noconfirm location tftp://66.207.221.131 @ 2018/02/28 15:01:00 ------------------
Begin backup ...
Backing up [ASA Version] ... Done!
Backing up [Running Configurations] ... Done!
Backing up [Startup Configurations] ... Done!
Backing up [WebVPN Data] ... Done!
Compressing the backup directory ...ERROR: No such file or directory
 Failed!
Cleaning up ... Done!

Backup finished!

Does anybody have any idea why EEM process might have a problem with compressing the content, or why this issue might be happening?

 

Thanks!

 

Mike

0 Replies 0
Review Cisco Networking for a $25 gift card