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.
Содержание 500 Series
Страница 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Страница 45: ...P A R T 1 Getting Started and General Information ...
Страница 46: ......
Страница 277: ...P A R T 2 Configuring the Firewall ...
Страница 278: ......
Страница 354: ...17 38 Cisco Security Appliance Command Line Configuration Guide OL 12172 03 Chapter 17 Configuring NAT NAT Examples ...
Страница 561: ...P A R T 3 Configuring VPN ...
Страница 562: ......
Страница 891: ...P A R T 4 System Administration ...
Страница 892: ......
Страница 975: ...P A R T 5 Reference ...
Страница 976: ......