Chapter 1
Managing the CSS Software
Archiving Files to the Archive Directory
Note
OL-5647-02
Archiving is useful when you update software and want to save a startup-config
file, running-config file, log, or script from a previous release of software. The
archive directory on the CSS disk stores the archive files. Use the archive
command and options to archive the specific files residing on the CSS.
The syntax for this command is:
archive [[startup-config|log log_filename|script script_filename]
archive_filename}|running-config archive_filename]
The options for this command are as follows:
archive startup-config - Archives the startup-config file
•
archive running-config - Archives the running-config file
•
archive log - Archives a log file
•
archive script - Archives a script or user-profile file
•
To display the contents of the archive directory, enter show archive ?. Archive
files include running-config and startup-config files, scripts, and user profiles.
You must archive your startup-config file, custom scripts, and user-profile files
before you upgrade the CSS software or these files will be overwritten during the
upgrade. Once the CSS completes the upgrade and reboots, use the restore
command to restore these files from the archive directory.
This section includes the following topics:
Archiving the Startup-Config File
•
Clearing the Archive Directory
•
Archiving the Running-Config File
•
Archiving Scripts
•
If you booted your CSS from a network-mounted system and your hard drive does
not work, the CSS suspends all archive-related functions.
Archiving Files to the Archive Directory
Cisco Content Services Switch Administration Guide
1-25