Cisco Physical Access Manager Appliance User Guide, Release 1.1.0
Backing Up and Restoring Data
Downloads: This chapterpdf (PDF - 634.0KB) The complete bookPDF (PDF - 36.19MB) | Feedback

Backing Up and Restoring Data

Table Of Contents

Backing Up and Restoring Data

Contents

Backup the Cisco PAM Database

Archiving the Historical Events Database

Restoring the Backup Database File


Backing Up and Restoring Data


This appendix describes how to backup and restore the Cisco PAM database.

Create at least one data backup during the initial server configuration and after every upgrade. Data is backed up to a .zip file and automatically stored on the server disk drive. The file can also be downloaded to a workstation or network drive.

You can restore the data from a .zip archive only when the server is stopped.


Note You must have at least one backup to restore the server software using the recovery CD. See Reinstalling the Cisco PAM Server Software from a Recovery CD, page B-7 for more information.


Contents

Backup the Cisco PAM Database

Archiving the Historical Events Database

Restoring the Backup Database File

Backup the Cisco PAM Database

The backup function backs up all Cisco PAM data and configurations, including live events and historical events.


Note Data can be restored to a server with a different serial number, but the high-availability (HA) configuration must be the same on both the original server, and the new server.



Tip To remove historical events from the main database and reduce the size of the backup file, complete the instructions in Archiving the Historical Events Database.


To backup the Cisco PAM data and configurations, do the following:


Step 1 Log on to the Cisco PAM appliance as described in Logging on to the Cisco PAM Server Administration Utility, page 4-2.

Step 2 Select the Setup tab, and then select Backup, as shown in Figure A-1.

Figure A-1 Backup Window in the Cisco PAM Server Administration Utility

Step 3 Enter and re-enter the administrator password.

Step 4 Click Start Backup to begin the backup process and create a new .zip backup file. When complete, the new file is added to the top of the screen. The file name includes the date and the server software version number.

For example: May 12, 2009 11:28:10 AM PDT


Note The five most recent backup files are saved. When a new backup file is added, the oldest file is deleted.


Step 5 To save the file to another location, right-click the filename and select a save option from the browser menu.


Archiving the Historical Events Database

When you copy and prune old events (as described in Archiving Historical Events, page 12-39) the events are moved to a separate Cisco PAM database. Although the events are no longer displayed in Events and Alarms, they are still included in the backup file (see Backup the Cisco PAM Database).

Archiving these historical events removes them from the database and saves them to .zip file that can be saved to another location. The file includes a password-protected SQL script, and can be run on an offline database to view the purged events. Archiving historical events also improves system performance and reduces the size of the backup file.

Complete the following instructions to archive the historical events.


Step 1 Copy and prune the events, as described in Archiving Historical Events, page 12-39.


Tip To automatically copy and prune historical events based on a schedule, see Creating an Automated Rule to Archive Historical Events, page 12-43.


Step 2 Log on to the Cisco PAM appliance (see Logging on to the Cisco PAM Server Administration Utility, page 4-2).

Step 3 Select the Setup tab, and then select Archive (Figure A-2).

Figure A-2 Archive Window in the Cisco PAM Server Administration Utility

Step 4 Enter and re-enter the administrator password.

Step 5 Click the calendar icon to select the Archive Date & Time. Any events older than the selected date & time are included in the archive.

Step 6 Click Start Archive to begin the archive process and create a new .zip file. When complete, the new file is added to the top of the screen. The file name includes the Archive Date & Time.

For example: June 01, 2009 11:16:08 AM PDT.


Note The five most recent archive files are saved. When a new archive file is added, the oldest file is deleted.


Step 7 To save the file to another location, right-click the filename and select a save option from the browser menu. The saved file includes the date (mm/dd/year), the Cisco PAM version number, and other information. The following file includes events from June 01, 2009 and earlier.

cpam-06012009-1116081.1.0_0.2.415.archive.zip


Restoring the Backup Database File

You can restore data from a backup file, or from an archive file.

Note the following when restoring a backup or archive file:

Data can be restored only when the server is stopped.

Backup files include the Cisco PAM configuration and other data. See Backup the Cisco PAM Database.

Data can be restored to a server with a different serial number, but the high-availability (HA) configuration must be the same on both the original server and the new server.

Data is restored from a backup following a system recovery. See Reinstalling the Cisco PAM Server Software from a Recovery CD, page B-7.

Archive files include only historical events that were removed from the database using the Archive function. Data is restored from an archive file so the historical events can be viewed using Cisco PAM events and reports. See Archiving the Historical Events Database for more inforamtion.

To restore the data from a backup or archive file, do the following:


Step 1 Log on to the Cisco PAM appliance, as described in Logging on to the Cisco PAM Server Administration Utility, page 4-2.

Step 2 Select the Commands tab, and then select Stop Server.

Step 3 (Optional) Select Monitoring and verify that the server state is Down.

Step 4 Select the Setup tab, and then select Restore.

Step 5 Enter and re-enter the administrator password, as shown in Figure A-3.

Figure A-3 Restore Window in the Cisco PAM Server Administration Utility

Step 6 Click Browse to locate and select the .zip backup file.

Step 7 If the file is an archive file, select the Is Archived File checkbox.

Step 8 Click Restore.

Step 9 If restoring a backup file, wait for the server to automatically restart. If the Cisco PAM Server Administration utility disconnects, a browser error message may be shown. Wait approximately five minutes for the server to restart, and then refresh your browser to log in again.

Step 10 When the server restarts, a message appears asking if you want to change the database password. Click Cancel or OK. This password is a security measure used for troubleshooting and technical support. It does not impact user operation,