For those of you who’ve followed this blog for some time, I used to have a link to a script from Curt Corwin’s blog here. He seems to have removed the script. Likely because it doesn’t work, or some other reason. I’ve meant to update this post forever to remedy this and give some alternate methods of backing up the server and just haven’t gotten around to it.
Backup Options for ShoreTel
ShoreTel is fairly forgiving for the most part in restoring data. You just need to keep a few basic things in mind when you plan your backup strategy.
- The OS on the new server needs to be exactly the same as the OS that was installed on the crashed server. I have, in the past ignored this. Not recommended though.
- The ShoreTel version needs to be exactly the same (your partner can usually get old versions for you if you aren’t super up to date)
- IP Address and Host Name need to be the same on the new server as they were on the old. This is extremely important.
- Join it to the domain, and all that as directed by your partner. You can usually do this when you set the server up, but sometimes they’ll want you to wait
The easiest method to manually back up your ShoreTel Data is to go into the Quick Look, click on your Main Server on the right and get into the services. Click the Create Snapshot button, click yes when asked. Wait several minutes, then stop all the services and then copy your “Shoreline Data” folder off to an external destination. This folder is usually in your “C:’ drive but results may vary depending on version and how your Server was set up. Then just start your services back. You may need to repeat this for every server in your organization if you have multiples.
I’ve done this myself several times. It works. It isn’t perfect and can take forever. That’s essentially what every script I’ve ever seen posted do, and the sample scripts that ShoreTel used to include with the Server installation did.
Automated Backup Options
ShoreTel has a backup method posted on their site here: https://support.shoretel.com/kb/view.php?id=kA1C0000000L39DKAS
This method uses some scripts included with the ShoreTel software. They are configured to run at certain times of day and basically do what I describe above in the manual section. I have read in several places that this method doesn’t work terribly well for everyone. This is probably due to some configuring the scripts incorrectly. The article has been updated as of December 2015 so it’s possible that something small changes every few versions and the configuration needs to be tweaked.
Another method is automatic and I haven’t really seen any problem with it. Though I suspect in a 24/7 operation it might cause some issues. That’s good old Windows Server Backup. If you’re running Windows Server 2008 R2 or higher you can easily configure it to do a full server back up once per day to a network share. I would not have it do just the Shoreline data folder though. Since ShoreTel takes automatic snapshots every day at roughly 5am. You’ll mostly just lose a day or so work if you do a full server backup every night. You could always just take a manual database snapshot after you’re done with a lot of changes though. The disadvantage here is that it will take up several more gigabytes of data. The advantage is you should be able to just restore the entire server from scratch with this method.
If you are running on a virtualized environment you’ve got a lot more options. VMWare has few full server backup options. There are also third-party options like Veaam that are very fast and can do multiple backups and replication to other hosts if things go wrong.
There are two options to restoring ShoreTel after a crash. Both of them really should involve your ShoreTel partner, if not TAC. They aren’t hard, don’t typically take too long, but having been on both sides of this multiple times, it’s good to have them around. This is also for versions of ShoreTel you have on premises, hosted and cloud versions this, obviously won’t work for. Very new versions also might work differently.
If you have a full bare metal backup of your server, typically you can just restore that to a new box and it should work without much issue. You’ll probably have to fiddle with your AD integration. In theory. I’ve never done it this way. I can’t see why it would be a problem though. I have plugged in old servers where we’d built a new one for a client, that new box crashed and we hooked their old one in for a short time until we fixed it and they hardly even knew it happened. The only issue was the phones had to be rebooted and the switches had to be added again.
The other process is you build a new box with EXACTLY the same OS as you had before. Follow ShoreTel’s documentation for what roles/features it needs installed or get your partner to do that. I’ve seen some scripts floating around online for Server 2008 and 2012 that will do 90% of this for you. Then you copy the ShoreLine Data folder from your backup to the server and install the same version of ShoreTel you had before to the server.