Cisco Prime Collaboration Analytics Guide, 9.5
Backup and Restore
Downloads: This chapterpdf (PDF - 183.0KB) The complete bookPDF (PDF - 694.0KB) | Feedback

Backup and Restore

Table Of Contents

Backup and Restore

Performing a Backup for Analytics without Service Pack I

Performing a Backup for Analytics with Service Pack I


Backup and Restore


Backup and restore for Prime Collaboration Analytics can be done only with root user privileges.

We recommend you:

To not take backup of the files in the same machine because the data for Prime Collaboration Analytics is huge. We recommend you to take backup on archive Linux server where you can create NFS mount.

To do Prime Collaboration Assurance backup first and then the Prime Collaboration Analytics backup.

During the Prime Collaboration Analytics backup and restore, the postgres database is shutdown. So the Prime Collaboration Analytics GUI may not display the data during this period.

Performing a Backup for Analytics without Service Pack I

To back up the data,


Step 1 On archive server, login as root and create a backup directory for backup storage and setup mounting point for remote access.

a. To create a folder for the backup, enter the following command:

mkdir /opt/backup

b. Open the file /etc/exports in the VI editor and add the following line:

/opt/backup *(rw,sync,no_subtree_check,no_root_squash)

c. You need to restart the nfs services. Run this command in the archive server to restart the nfs services.

service nfs restart

d. Run the following command to stop the progress of IP tables that are currently active.

service iptables stop

Step 2 On Prime Collaboration Assurance server, create a backup directory, which mounts the archive server.

a. Login as root using SSH with port 26.

b. To check if the remote mount point is set, enter the following command:

showmount -e <remote archive server ip>

c. Enter the following command to create a folder for the backup.

mkdir /backup

d. Enter the following command to mount the backup folder:

mount <archive server ip>:/opt/backup /backup

Step 3 To backup the Prime Collaboration Assurance server, start the backup as root user.

a. Enter the goemsam command.

b. Enter the following command from the location specified in the backup server.

./bin/adv_reporting_backup.sh <backup dir>

Step 4 On restore Prime Collaboration Assurance server, restore the backup as root user.

a. If the restore Prime Collaboration Assurance server is different from the backup Assurance server, then setup the remote mounting point as defined in Step 2.

b. Enter the goemsam command.

c. Enter the following command:

./bin/adv_reporting_restore.sh <backup dir>

d. After restore, restart the Prime Collaboration Assurance server:

./bin/cpcmcontrol.sh stop
./bin/cpcmcontrol.sh start

Performing a Backup for Analytics with Service Pack I

To back up the data,


Step 1 On archive server, login as root and create a backup directory for backup storage and setup mounting point for remote access.

a. To create a folder for the backup, enter the following command:

mkdir /opt/backup

b. Open the file /etc/exports in the VI editor and add the following line:

/opt/backup *(rw,sync,no_subtree_check,no_root_squash)

c. You need to restart the nfs services. Run this command in the archive server to restart the nfs services.

service nfs restart

d. You need to make the firewall setup for remote access. Open the file /etc/sysconfig/iptables in VI editor and add the following line as first "-A INPUT" statements.

-A INPUT -s <Assurance server IP Address> -m state --state NEW -p udp -j ACCEPT
-A INPUT -s <Assurance server IP Address> -m state --state NEW -p tcp -j ACCEPT

e. Run the following command to restart the progress of the IP tables.

service iptables restart

Step 2 On Prime Collaboration Assurance server, create a backup directory, which mounts the archive server.

a. Login as root using SSH with port 26.

b. To check if the remote mount point is set, enter the following command:

showmount -e <remote archive server ip>

c. Enter the following command to create a folder for the backup.

mkdir /opt/postgres/9.2/backup

d. Enter the following command to mount the backup folder:

mount <archive server ip>:/opt/backup /opt/postgres/9.2/backup

Step 3 To back up the Prime Collaboration Assurance server, start the backup as root user.


Note You do not have to stop the Prime Collaboration Assurance services during the Prime Collaboration Analytics backup. However, you must complete the Prime Collaboration Analytics backup before performing the Prime Collaboration Assurance backup (if backup is needed).


a. Enter the goemsam command.

b. Enter the following command:

./bin/adv_reporting_backup.sh /opt/postgres/9.2/backup

Step 4 On restore Prime Collaboration Assurance server, restore the backup as root user.

a. If the restore Prime Collaboration Assurance server is different from the backup Assurance server, then setup the remote mounting point as defined in Step 2.


Note Ensure the firewall is also set properly on the archive server, that is, the restore server ip is configured in /etc/sysconfig/iptables on the archive server.


b. Enter the goemsam command.

c. Enter the following command:

./bin/adv_reporting_restore.sh /opt/postgres/9.2/backup

d. After restore, restart the Prime Collaboration Assurance server:

./bin/cpcmcontrol.sh stop
./bin/cpcmcontrol.sh start