A-19
CLI Reference Guide for the Cisco Secure Access Control System 5.1
OL-18996-01
Appendix A ACS Command Reference
EXEC Commands
Syntax Description
Defaults
No default behavior or values.
Command Modes
EXEC
Usage Guidelines
Restores an ACS configuration from one ACS node to another. The restoration is performed from a
temporary directory (the repository).
If you are restoring an primary ACS node configuration to a secondary, you must configure the
secondary to local mode before you use this command (deregister from the primary node).
Caution
The
acs restore
command causes ACS to reboot.
If you are restoring the backup file on a node that was part of the ACS deployment when the backup was
performed, ACS replaces the database (including the old certificates and certificate request, if any
exists), database password file, and viewer database, but not the prikeypwd.key (as this file can be
associated only with the private keys of the original ACS primary node).
Note
In ACS 5.1, the ACS database does not contain the prikeypwd.key; it is available only in the file system.
You need not restore the backup file on a node that was
not
part of the deployment when the backup was
performed, as the new ACS node might not have any local certificates to associate with.
After a restoration is complete, you must use the ACS web interface to designate an ACS node as a log
collector.
backup-file-name
Name of backup file. Up to 100 alphanumeric characters.
A time stamp in the format -
yymmdd-hhMM
.tar.gpg is added to the backup
filename to generate a unique backup filename, where:
•
yy—Two-digit representation of the year (the last two digits).
•
mm—Two-digit representation of the month. Single-digit months are
preceded by zero (0).
•
dd—Two-digit representation of the day of the month. Single digit
months are preceded by zero (0).
•
hh—Two-digit representation of the hour of the day of a 24-hour clock.
Single-digit hours are preceded by zero (0).
•
MM—Two-digit representation of the minute of the hour. Single-digit
minutes are preceded by zero (0).
For example, if you type
dailyBackup
as the filename, the resulting file may
be named dailyBackup-080229-2335.tar.gpg.
repository
Repository command.
repository-name
Location where files should be restored from. Up to 30 alphanumeric
characters.