Specifications
14-64
Cisco NAC Appliance - Clean Access Manager Configuration Guide
OL-28003-01
Chapter 14 Administering the CAM
Backing Up the CAM Database
Step 3 Upload the new tar file to the destination CAM/CAS for backup or to populate an HA-Standby
CAM/CAS.
[root@cam1]# scp authorization.tar.gz root@<IP address>
root@<IP address>'s password:
authorization.tar.gz 100% 1107 1.1KB/s 00:00
Step 4 Telnet or SSH to the command line interface of the secondary CAM/CAS, navigate to the /root/.perfigo/
directory, and extract the contents of the uploaded tar file.
[root@cam2]# cd /root/
[root@cam2]# cd .perfigo/
[root@cam2]# tar xvzf authorization.tar.gz
auth_nac_en.txt
auth_nac.txt
auth_warn_nac_en.txt
caCerts
Step 5 Verify that the files have been uploaded and extracted correctly.
[root@cam2]# ls -l
-rw-r--r-- 1 root root 0 Jul 21 11:09 auth_nac_en.txt
-rw-r--r-- 1 root root 80 Jul 21 11:09 auth_nac.txt
-rw-r--r-- 1 root root 16 Jul 21 11:09 auth_warn_nac_en.txt
-rw-r--r-- 1 root root 1346 Jul 20 21:49 caCerts
Step 6 Stop and Restart the secondary CAM/CAS to apply the duplicate settings.
[root@cam2]# service perfigo stop
Stopping High-Availability services:
[ OK ]
[root@cam2]# service perfigo start
Starting High-Availability services:
[ OK ]
Please wait while bringing up service IP.
Heartbeat service is running.
Service IP is up on the peer node.
Stopping postgresql service: [ OK ]
Starting postgresql service: [ OK ]
CREATE DATABASE
DROP DATABASE
CREATE DATABASE
DROP DATABASE
Database synced
[root@cam2]#
Note This example addresses a CAM HA-pair, but the same functions and process apply to a CAS HA-pair.
For more information on CAM and CAS HA-pairs, see the Cisco NAC Appliance Hardware Installation
Guide, Release 4.9(x).
Database Recovery Tool
The Database Recovery tool is a command line utility that can be used to restore the database from the
following types of backup snapshots:
• Automated daily backups (the most recent 30 copies)
• Backups made before and after software upgrades