Chapter 1
Managing the CSS Software
Archiving Scripts
Clearing the Archive Directory
Restoring Files from the Archive Directory
OL-5647-02
Use the archive script command to archive a script file or user-profile file. The
syntax for this command is:
archive script script_filename {archive_filename}
The variables are as follows:
•
script_filename - The filename of the script to archive. To see a list of scripts,
enter archive script ?.
archive_filename - (Optional) The name you want to assign to the archive file.
•
Enter an unquoted text string with a maximum of 32 characters.
Use the clear archive command to clear a file in the archive directory. Enter the
archive filename as the name of the archive file to clear. To list the archive files,
enter clear archive ?. The syntax for this command is:
clear archive archive_filename
The archive directory resides on the CSS disk (hard or Flash disk) to store logs,
scripts, and startup-config files. Use the restore command to restore files
previously archived in the CSS archive directory.
The syntax for this command is:
restore archive_filename [log {log_filename} |script
{script_filename}|startup-config]
Restoring Files from the Archive Directory
Cisco Content Services Switch Administration Guide
1-27