41-10
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 41 Managing Software, Licenses, and Configurations
Backing Up Configuration Files
The CLI lets you back up and restore individual elements of your configuration using the
export
and
import
commands. To back up these files, for example, those imported via the
import
webvpn
command or certificates, follow these steps:
Step 1
Issue the appropriate
show
command(s). For example.
hostname # show import webvpn plug-in
ica
rdp
ssh,telnet
vnc
hostname#
Step 2
Issue the
export
command for the file you want to back up, in this example the rdp file.
hostname # export webvpn plug-in protocol rdp tftp://tftpserver/backupfilename
hostname #
Using a Script to Back Up and Restore Files
You can use a script to back up and restore the configuration files on your security appliance, including
all of the extensions you import via the
import webvpn
CLI, the CSD configuration XML files, and the
DAP configuration XML file. For security reasons, we do not recommend that you perform automated
backups of digital keys and certificates or the Local CA key.
This section provides instructions for doing so, and includes a sample script that you can use as is or
modify as your environment requires. The sample script is specific to a Linux system. To use it for a
Microsoft Windows system, you need to modify it using the logic of the sample.
Note
The existing CLI lets you back up and restore individual files using the
copy
,
export
, and
import
commands. It does not, however, have a facility that lets you back up all ASA configuration files in one
operation. Running the script facilitates the use of multiple CLIs.
Prerequisites
To use a script to back up and restore an ASA configuration, first perform the following tasks:
•
Install Perl with an Expect module.
•
Install an SSH client that can reach the ASA.
•
Install a TFTP server to send files from the ASA to the backup site.
Another option is to use a commercially available tool. You can put the logic of this script into such a
tool.
Summary of Contents for 500 Series
Page 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Page 45: ...P A R T 1 Getting Started and General Information ...
Page 46: ......
Page 277: ...P A R T 2 Configuring the Firewall ...
Page 278: ......
Page 561: ...P A R T 3 Configuring VPN ...
Page 562: ......
Page 891: ...P A R T 4 System Administration ...
Page 892: ......
Page 975: ...P A R T 5 Reference ...
Page 976: ......