Table Of Contents
Backup and Restore Procedures
Overview
How to Perform Backup Procedure
Backing Up the Database
Backing Up Configuration Files
Database Connectivity Property File
Configuration Files
LDAP Configuration Files
Network Manager Configuration Files
Backing Up Branding and Sound Files
Backing Up the License
Backing Up the Internal Gatekeeper Configuration File
How to Perform Restore Procedure
Procedure Overview
Restoring the Database
Restoring Configuration Files
Restoring Branding and Sound Files
Restoring the License
Restoring the Internal Gatekeeper Configuration File
Backup and Restore Procedures
This section is intended to assist system administrators to back up and restore the Cisco Unified Videoconferencing Manager database and configuration files.
•
Overview
•
How to Perform Backup Procedure
•
How to Perform Restore Procedure
Overview
There are many reasons for performing system backups on a regular basis. While it is usually assumed that backups are necessary only in cases of disk crashes or other physical disasters, most such cases are application-related. For example:
•
User mistakes
•
Application bugs
•
Power failure
•
Disk corruption
•
Any other kind of physical disaster
To restore Cisco Unified Videoconferencing Manager data, stop the Cisco Unified Videoconferencing Manager service before restoring the database, configuration files, branding and sound files. Restart the Cisco Unified Videoconferencing Manager service after restoration is complete.
How to Perform Backup Procedure
•
Backing Up the Database
•
Backing Up Configuration Files
•
Backing Up Branding and Sound Files
•
Backing Up the License
•
Backing Up the Internal Gatekeeper Configuration File
Backing Up the Database
The database backup procedure supports MySQL database version 4.0.21. This section describes how to back up MySQL database version 4.0.21.
Procedure
Step 1
Open a DOS window and modify the current directory so that the default path points to the MySQL bin directory.
The default MySQL installation path is:
C:\Program Files\MySQl\mysql-4.0.21-win\bin
Step 2
Run the following DOS command to dump the contents of the MySQL database to a file called mydump:
mysqldump -u root --all-databases --add-drop-table --single-transaction > mydump
where
•
-u root indicates that the user account "root" is used to run this command. "Root" is the default administrator created during MySQL installation.
•
--all-databases means that all databases are to be backed up.
•
--add-drop-table ensures that drop table SQL statements are generated for every dumped table.
•
--single-transaction ensures that you do not need to stop the MySQL service when you back up the database.
•
By default, you do not need to provide a password for local "root" login. However, if you change the root user password, you should add the text "-p password" to the command line. For example:
mysqldump -u root -p rootpassword --all- databases --add-drop-table --single-transaction >mydump
Step 3
Save the mydump file to a safe location.
Backing Up Configuration Files
This section describes how to back up the following files by copying them to a different physical location:
•
Database Connectivity Property File
•
Configuration Files
•
LDAP Configuration Files
•
Network Manager Configuration Files
•
Backing Up Branding and Sound Files
Database Connectivity Property File
Place the mysql-ds.xml file under the JBOSS_HOME\server\all\deploy directory where JBOSS_HOME is the hold directory of the JBOSS application server used in Cisco Unified Videoconferencing Manager.
By default, JBOSS_HOME is C:\Program Files\Cisco\Unified Videoconferencing Manager\CUVCMRMjboss.
Note
This is the default JBOSS_HOME directory for Cisco Unified Videoconferencing Manager version 5.1. For older versions, the JBOSS_HOME directory may be different.
Configuration Files
Place the following files under the directory JBOSS_HOME\bin:
•
vcs-cdr-config.xml
•
vcs-config.xml
•
vcs-core.properties
•
vnex.properties
LDAP Configuration Files
Place the following files under the directory JBOSS_HOME\bin\configFiles:
•
All files (if any) under this directory.
Network Manager Configuration Files
Place the following under the JBOSS_HOME\server\default\deploy\vcs.ear\nms.war\WEB-INF\classes\ directory
•
adminconfig folder
•
config folder
Backing Up Branding and Sound Files
Back up all files (if any) located under the JBOSS_HOME\server\all\deploy\branding.war\image directory to a different physical location.
Backing Up the License
Go to My Computer > HKEY_LOCAL_MACHINE > SOFTWARE > Cisco > Resource Manager component of CUVC-M\4.0" directory, and save the value under "license".
Backing Up the Internal Gatekeeper Configuration File
Go to the Web interface of the internal gatekeeper on port 8011 and click Export to save the configuration files of the internal gatekeeper.
How to Perform Restore Procedure
This section describes how to restore Cisco Unified Videoconferencing Manager data. This section includes the following topics:
•
Procedure Overview
•
Restoring the Database
•
Restoring Configuration Files
•
Restoring Branding and Sound Files
•
Restoring the License
•
Restoring the Internal Gatekeeper Configuration File
Procedure Overview
The restoring procedure includes the following stages:
•
Stop the Cisco Unified Videoconferencing Manager service
–
Go to Control Panel > Administrative Tools > Servicesbu.
–
Find the service named "Cisco Unified Videoconferencing Manager" and stop it.
•
Restore the database—see the Restoring the Database.
•
Restore the configuration files—see the Restoring Configuration Files.
•
Restore the Branding and Sound Files—see the Restoring Branding and Sound Files.
•
Restore the License Files—see the Restoring the License.
•
Start the Cisco Unified Videoconferencing Manager service.
Restoring the Database
The database backup procedure supports MySQL database version 4.0.21. This section describes how to restore MySQL database version 4.0.21.
Procedure
Step 1
Open a DOS window and modify the current directory so that the default path points to the MySQL bin directory.
The default MySQL installation path is:
C:\Program Files\MySQl\mysql-4.0.21-win\bin.
Step 2
Copy the mydump file to this directory where mydump is the name of the database backup file.
Step 3
In the DOS window, enter the "mysql -u root" command to access the MySQL database command line user interface.
The command link prompt changes to mysql>.
Step 4
Run the following command to restore the content that has been dumped into the backup file to the database:
mysql> source mydump
Step 5
Run the following command to exit the MySQL command line window:
mysql > exit
Restoring Configuration Files
Restore the configuration files listed in the Backing Up Configuration Files.
Restoring Branding and Sound Files
Refer to the Backing Up Branding and Sound Files.
Restoring the License
Go to Start > Programs > Cisco > Cisco Unified Videoconferencing Manager > Update License, and enter the backup license.
Restoring the Internal Gatekeeper Configuration File
Go to the Web interface of the internal gatekeeper on port 8011 and click Import to import the configuration backup of the internal gatekeeper.