Backup and Restore Procedures
Backup and Restore Procedures
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
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.
2-1
Chapter 2
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.
--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:
2-2
OL-14925-01
Chapter 2
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
Backup the following configuration files from C:\Program Files\Cisco\Unified Videoconferencing
Manager\CUVCMRM\jboss\bin:
vcs-cdr-config.xml
vsc-config.xml
vcs-core.properties
vnex.properties
adminconfig folder
config folder
2-3
Chapter 2
Procedure Overview
The restoring procedure includes the following stages:
Restore the configuration filessee the Restoring Configuration Files, page 2-5.
Restore the Branding and Sound Filessee the Restoring Branding and Sound Files, page 2-5.
Restore the License Filessee the Restoring the License, page 2-5.
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.
2-4
OL-14925-01
Chapter 2
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
2-5
Chapter 2
2-6
OL-14925-01