Mitel Complete System Backup Planning

June 29, 2020

Having backups of your VoIP PBX is a critical planning step for any business. Let’s take a moment to discuss how to best prepare for disaster recovery of the Mitel PBX platform.

Backup Methods

Hypervisor Snapshots

With virtualized servers, taking what is called a “snapshot” captures the current state of the server. These snapshots can be restored in the event of server security compromise or if something has otherwise broken on the PBX server. Mitel does not recommend relying on snapshots for system restoration since the Mitel configuration and historical call data are in live-updating SQL databases. Taking a snapshot while these databases are still writing lines of data can cause corruption issues or incomplete captures of data.

If you would like to utilize snapshots as your backup method it is recommended to run the Mitel created a batch file to stop all PBX services on the Headquarters server, take the snapshot, and then restart the services with a second batch file. This will temporarily interrupt Headquarters server reliant functionality such as Auto-Attendant menus, Workgroup services, and Voicemail functionality so it is recommended to do this after business hours.

The scripts to stop and start the ShoreTel services is located on your Headquarters server on whichever drive you installed the Shoreline Communications folder to in the following directory:

X:\Program Files (x86)\Shoreline Communications\ShoreWare Server\Scripts

  • Stop Services: hq_shoretel-stop-svcs.bat
  • Start Services: hq_shoretel-start-svcs.bat

Important: These scripts stop and start the services in a specific order to avoid permission issues. The batch files should be run with Administrator privileges. Please use caution when running any scripts on the servers as these affect the functionality of the server. Domain server group policies can affect services. Please work with our support team to make sure your environment is in compliance to utilize snapshots.

Note: There is a similar set of service start/stop scripts on any Distributed Voice Servers as well. They will be labeled ‘rs_shoretel-start-svcs.bat’ and ‘rs_shoretel-stop-svcs.bat’.

Mitel Batch Script Backups

The Mitel system’s configuration, call data, historical connectivity, and web bridge data is all stored in SQL databases. A backup of these databases is required to fully restore the system if migration to a new server is needed. This does not include the files for the user’s voicemail box recordings, auto-attendant prompts, or voicemails. Please see the File Structure Backups section below for instructions on how to back up the system audio files.

Mitel includes batch files for creating a backup of these SQL databases. These are located on your Headquarters server on whichever drive you installed the Shoreline Communications folder to in the following directory:

X:\Program Files (x86)\Shoreline Communications\ShoreWare Server\MySQL\MySQL Server\Examples

  • Historical Call Data: BackupCDR.bat
  • Configuration: BackupConfig.bat
  • Monitoring: BackupMonitoring.bat
  • Web Bridge: BackupWebBridge.bat

Running these batch files will create an SQL dump file on the root of the C: drive. The files should then be moved to another folder for safekeeping. The batch files should be run with Administrator privileges. Please use caution when running any scripts on the servers.

File Structure Backups

On the Headquarters server or any Distributed Voice servers where mailboxes are being hosted, there is a set of folders that need to be backed up to ensure that all Auto-Attendant prompts, Voicemail messages, Voicemail greetings, and Certificates are saved.

These folders are located on your Headquarters server or any applicable Distributed Voice servers that host mailboxes on whichever drive you installed the Shoreline Data folder to in the following directory:

X:\Shoreline Data

  • Auto-Attendant Recordings: \Prompts
  • Voicemails: \Vms
  • User Mailbox Data: \UserData
  • Certificates: \keystore
  • Optional: \IMArchives, \Logs

These folders should be backed up for use in a complete system restore, or to facilitate the migration to a new server. Please use caution when copying any files on the servers.

Full System Backup and Restore

For a complete system backup, the folders and files mentioned in both the Mitel Batch Script Backups and File Structure Backups sections should be saved/replicated to a safe storage location. This would ideally be on another server drive or on a network backup drive.

Restoration of the system requires installing the same version of the Mitel PBX software, restoring the SQL backups, and then copying in the Shoreline Data folders. These steps need to be done in a specific order to ensure everything is restored correctly. For Inflow customers, if system restoration is needed please reach out to our support team for assistance.

Inflow Cloud Backups

There is no such thing as too many backups. It is ideal to keep a set of backups on your own system, but we recommend having a backup plan to your backup plan. With an Inflow Communication support contract, we offer complimentary cloud backups of your ShoreTel/Mitel PBX system.

We do this by adding a task to perform the backup methods listed under the Mitel Batch Script Backups section nightly, moving those files to a centralized backup folder, and then utilizing a cloud backup tool to do nightly backups of the SQL dump folders, and all the above-listed Shoreline Data folders.

Not an Inflow customer?

You have a choice when it comes to your Mitel partnership. Let’s chat about your options today!

Related Posts

mitel tech resources
mitel tech resources
mitel tech resources