1-17
Cisco ASA Series CLI Configuration Guide
Chapter 1 Managing Software and Configurations
Backing Up Configurations or Other Files
Backing up the Single Mode Configuration or Multiple Mode System
Configuration
In single context mode or from the system configuration in multiple mode, you can copy the startup
configuration or running configuration to an external server or to the local flash memory as follows:
• To copy to a TFTP server, enter the following command:
hostname# copy {startup-config | running-config} tftp://server[/path]/filename
• To copy to a FTP server, enter the following command:
hostname# copy {startup-config | running-config}
ftp://[user[:password]@]server[/path]/filename
• To copy to local flash memory, enter the following command:
hostname# copy {startup-config | running-config} {flash:/ | disk0:/ |
disk1:/}[path/]filename
Note Be sure that the destination directory exists. If it does not exist, first create the directory using
the mkdir command.
Backing Up a Context Configuration or Other File in Flash Memory
Copy context configurations or other files that are on the local flash memory by entering one of the
following commands in the system execution space:
• To copy to a TFTP server, enter the following command:
hostname# copy disk{0 | 1}:/[path/]filename tftp://server[/path]/filename
• To copy to a FTP server, enter the following command:
hostname# copy disk{0 | 1}:/[path/]filename
ftp://[user[:password]@]server[/path]/filename
• To copy to an SMB file-system, enter the following command:
hostname# copy disk{0 | 1}:/[path/]filename
smb://[user[:password]@]server[/path]/filename
• To copy from the ASA using HTTPS, enter the following URL in your browser:
https://ASA_IP/disk{0 | 1}/filename
• To copy to local flash memory, enter the following command:
hostname# copy disk{0 | 1}:/[path/]filename disk{0 | 1}:/[path/]newfilename
Note Be sure that the destination directory exists. If it does not exist, first create the directory using
the mkdir command.