cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
1589
Views
0
Helpful
3
Replies

Automatic Configuration Backup

rmeans
Level 3
Level 3

I am looking for a way to automatically save my MSA and WSA configurations to an off-appliance location.  From the GUI, saving the configuration is pretty easy but requires manual intervention.  The best way I have found so far (with the CLI) is to either saveconfig followed by transferring the file via FTP or use the mailconfig option.

Does anyone have any one-step options?  E-mail is okay but not for daily backups.

3 Replies 3

jahasan
Cisco Employee
Cisco Employee

You can run preconfigured  CLI scripts along with windows schedular to automate the configuration back up. The following KB provides the procedure for the ESA appliance but also should apply to the WSA and the MSA.

http://tinyurl.com/rodtu

Unfortunately no one step procedure is yet available.

I have tried to the suggestion you noted in the tinyurl but failed.  I am running OS 7.x on my MSA and WSA.  It appears that when you make a connection on port 22 to the appliance, you are automatically put into the CLI shell.  I haven't been able to get to a classic Unix directory structure (./configuration) to be able to find the config file.  If I used FTP (not SCP) I would be able to do so, but I prefer to not use FTP.

Juan Ramos
Cisco Employee
Cisco Employee

I am not too well versed in CURL but someone posted this some time ago just for the WSA:


## Logs into the appliance and saves the session to cookies.txt
curl --insecure -b cookies.txt -c cookies.txt -d "username=admin&password=ironport&action=Login"
"https://vmw005-wsa02.run:8443/login"

## Downloads the config file into config.xml
curl --insecure -o config.xml -b cookies.txt -c cookies.txt -d "operation=download&filename=system&action=Save"
"https://vmw005-wsa02.run:8443/system_administration/configuration/configuration_file"

I believe they scripted this to save the configuration file at regular intervals.