Cisco Cisco NAC Appliance 4.1.0

Page of 506
Cisco NAC Appliance - Clean Access Manager Installation and Administration Guide
OL-12214-01
Chapter 15      Administration
Backing Up the CAM Database
Creating Manual Backup
1.
In the Administration > Backup page, type a name for the snapshot in the Database Snapshot Tag 
Name
 field. The field automatically populates with a filename that incorporates the current date and 
time (e.g 
MM_DD_YY-hh-mm_snapshot
). You can either accept the default name or type another. 
2.
Click Create Snapshot. The Clean Access Manager generates a snapshot file, which is added to the 
snapshot list. The Version column automatically lists the CAM software version for the snapshot.
Figure 15-21
Backup Snapshot
Note that the file still physically resides on the Clean Access Manager machine. For archiving 
purposes, it can remain there. However, to back up a configuration for use in case of system failure, 
the snapshot should be downloaded to another computer. 
3.
To download the snapshot to another computer, click either the Download icon or the Tag Name of 
the snapshot that you want to download.
4.
In the File Download dialog, Save the file to your local computer. 
To remove the snapshot from the snapshot list, click the Delete (
) button. 
Backing Up Snapshots to Another Server via FTP
The 
/perfigo/control/bin/pg_backup 
script on the CAM takes the database snapshot and backs it up 
on to another server using FTP.
You can set up a cron job to run this script on a regular basis to obtain OFF-SERVER copies of the 
backup snapshot. To execute the script:
1.
SSH to the CAM
2.
Execute the following script:
 ./pg_backup <FTPserver> Username Password
The script uses the Postgres pg_dump utility to create an instant database snapshot and then export it to 
the FTP server specified. This snapshot is essentially the same as a snapshot created manually using the 
CAM web console. You can set up a cron job  to run this script daily.