Installation guide

232 Planning and Installation Guide ShoreTel 14.2
ShoreTel Server Installation Upgrading Servers from Windows 2008 R2 32-bit to Windows 2012 64-bit
11
CDR database
C:\Program Files\Shoreline Communications\
ShoreWare Server\MySQL\MySQL Server\Examples\backupCDR.bat
Configuration database
C:\Program Files\Shoreline Communications\
ShoreWare Server\MySQL\MySQL Server\Examples\backupConfig.bat
WebBridge database
C:\Program Files\Shoreline Communications\ShoreWare Server\
MySQL\MySQL Server\Examples\backupWebBridge.bat
Archive database on ShoreTel 12.3 and before: (If your system has an archived database, run
the following command.)
C:\Program Files\Shoreline Communications\ShoreWare Server\
MySQL\MySQL Server 5.0\bin\mysql.exe --user=root --
password=shorewaredba --port=4309 --database databasename >
"c:\ArchiveCDRdump.sql" 2>>C:\\RestoreArchiveCDR.log
Archive database on ShoreTel 13 and above: (If your system has an archived database, run
the following command.)
C:\Program Files (x86)\Shoreline Communications\ShoreWare Server\
MySQLConfig\MySQL Server\bin\mysql.exe --user=root --
password=shorewaredba --port=4309 --database databasename >
"c:\ArchiveCDRdump.sql" 2>>C:\\RestoreArchiveCDR.log
5. For all the backups, be sure the file size is greater than 0 KB.
6. Stop and disable all ShoreTel services by running the following batch file:
C:\Program Files\Shoreline Communications\ShoreWare Server\
Scripts\hq_shoretel-stop-svcs.bat
7. Confirm that all ShoreTel services have stopped.
Note
The default location for the database dumps is C:\.
Note
Before you back up the CDR database, stop archiving on the headquarters server.
Note
The \Database folder is excluded from the backup because, in a few rare cases, Windows 2008 is
unable to read database files after they are moved from Windows 2003. To avoid this scenario,
ShoreTel recommends that you backup and restore the databases.