Backing Up The Mysql Database; The Mysqldump Utility; Backing Up The Database; Restoring From A Backup - Nortel Call Center Set Up And Operation Manual

Reporting for call center
Hide thumbs Also See for Call Center:
Table of Contents

Advertisement

260
Upgrading to Reporting for Call Center

Backing up the MySQL Database

The mysqldump Utility

mysqldump is a utility included in the MySQL\bin folder of the MySQL installation on the Web
Host PC. This can be used to create a file which contains all of the SQL statements required to
re-create the Nortel Networks Reporting for Call Center statistical and configuration database. It
can also be used to restore the backed up data.

Backing Up the Database

You can use mysqldump to create a backup of your database using the following syntax. Note
that the following should all be typed on one line, and should be entered in a Command Prompt
window, from the MySQL\bin folder.
mysqldump --add-drop-table --user=webhost --password=r338cm3.6! CCRDB >
CCRDBbackup.sql
CCRDBbackup.sql is the file to which the backup should be written. This can be named
whatever you like. Substitute the name you wish to use for CCRDBbackup.sql in the above
command.

Restoring from a Backup

To restore the contents of a backup to the Nortel Networks Reporting for Call Center statistical
and configuration database use the following command. Note that the following should all be
typed on one line, and should be entered in a Command Prompt window, from the MySQL\bin
folder.
You should be certain that you wish to restore the backup before you enter
!
this command.
mysql --user=root --password='YR46L43!' CCRDB < CCRDBbackup.sql
Note: The restore command uses the word 'mysql' but the backup command uses the word
'mysqldump'.
Note: There are single quotes around the password in the restore command, but NOT in the
backup command.
Note: There are two hyphens in front of the --user, --password and --add-drop-tables options.
Note: Substitute the name of the backup file you wish to restore for the CCRDBbackup.sql in
the example restore command.
Reporting for Call Center Setup and Operations Guide
9
Issue 02 (15)

Advertisement

Table of Contents
loading

Table of Contents