Cisco Cisco Clean Access 3.5
13-20
Cisco Clean Access Manager Installation and Administration Guide
OL-7044-01
Chapter 13 Administration
Back Up the Configuration
4.
In the file download dialog, select the save file to disk option. The file can then be saved to your
local computer with the name you provide.
local computer with the name you provide.
To restore the Clean Access Manager to the configuration state of the snapshot, click the Restore (
)
button. At that point, the existing configuration is overridden by the configuration in the snapshot.
To remove the snapshot from the snapshot list, click the Delete (
) button.
Apply a Configuration from a Downloaded File
If the snapshot was downloaded to a remote computer, it can be uploaded to the list again as follows:
1.
Go to Administration > Backup and click the Browse button next to the Snapshot to Upload field.
Find the file in the directory system.
Find the file in the directory system.
2.
Click Upload Snapshot and confirm the operation. The snapshot now appears in the snapshot list.
3.
Click the Restore button next to the snapshot to overwrite the current configuration with the
snapshot’s configuration.
snapshot’s configuration.
4.
Confirm the operation.
The configuration has now been restored to the configuration state recorded in the snapshot.
Manual Database Backup from SSH
If the web admin console becomes inaccessible, you can perform a manual database backup as follows:
1.
Login as
root
on the Clean Access Manager box.
2.
Switch user to postgres by typing:
su – postgres
3.
Create the dump of the database by typing:
pg_dump –h 127.0.0.1 controlsmartdb –D –f
sm_back_092004.sql
4.
This command creates a file called
sm_back_092004.sql
in the
/var/lib/pgsql
directory.
5.
You can SCP that file.
Database Recovery Tool
The Database Recovery tool is a new command line utility (3.5(3) and above) that can be used to restore
the database from the following types of backup snapshots:
the database from the following types of backup snapshots:
•
Automated daily backups (the most recent 30 copies)
•
Backups made before and after software upgrades
•
Backups made before and after failover events
•
Manual snapshots created by the administrator via the web console
Although the web console already allows you to manually create and upload snapshots (via
Administration > Backup), the CLI tool presents additional detail. The tool provides a menu that lists
the snapshots from which to restore, and the uncompressed size and table count. Note that a file which
is corrupt or not in the proper format (e.g. not .tar.gz) will show a remediation warning instead of an
uncompressed size and a table count.
Administration > Backup), the CLI tool presents additional detail. The tool provides a menu that lists
the snapshots from which to restore, and the uncompressed size and table count. Note that a file which
is corrupt or not in the proper format (e.g. not .tar.gz) will show a remediation warning instead of an
uncompressed size and a table count.