Automatic Configuration Backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2011 06:31 AM
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.
- Labels:
-
Web Security
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2011 05:03 PM
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.
Unfortunately no one step procedure is yet available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2011 12:49 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2011 04:43 AM
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.
