Shoretel Backup & Restore Process HQ & DVM589
Pages:
1
![]() |
LiquidLayer private msg quote post Address this user | |
See Source Post Here Shoretel Backup & Restore Process HQ & DVM Servers 07-24-2014, 06:15 PM The information below should be used at your own discretion. The intent of this information is to share how I successfully back up and restore Servers regularly. This is not the only way to do a backup, but it is the most common method for myself. Please PM me if you care to edit or add to this information Backup and Restore process of the Main HQ ShoreTel and any Distributed Voicemail Server or Server’s This process does not show, or explain how to pre prepare your OS for shoretel software. Please do not attempt any steps listed without at least preparing your server first. The suggested process below is what has worked best for me for migrating from 1 server to another. This process will involve doing a back of the old server and running a restore to the new server (main server only). To replace a DVM will require a simpler process of stopping all shoretel services and then copying the: Shoreline Data folder from the original DVM to the new DVM. All the new replacement servers must use the same ip’s as the originals they are replacing. To avoid problems and confusion I going to begin my explanation for replacing a DVM first. DVM’s tend to be a lot easier to replace, and are usually less critical, most of the time. If you do not have a DVM I would Skip to Part 2 of this explanation (Part 1) Back Up & Restore of a DVM First off, be sure to allocate enough time to do this process as it may take longer than you expect. Account for copying, moving, and an actual reinstall of the remote software to your new server. The process below will not damage your existing DVM. The intent of the instructions below is to create a complete copy without affecting your existing content. This process is also a good way to move from 2003 to 2008/2012 As a reference, if you are on a 2003 machine your file structure will be labeled as: C:Program Files If you are on a 2008 machine or higher your file structure will be labeled as: C:Program Files (x86) Now on to the Back Up instructions for a DVM Navigate to C:Program FilesShoreline CommunicationsShoreWare ServerScripts Double click hq_shoretel-stop-svcs.bat Now copy C:Shoreline Data Turn off the original dvm Assign the same ip to your new DVM that your original DVM had. Paste C:Shoreline Data to the new dvm in the same directory as the original Make sure you have the remote install software for your current build Once you run the exe the rest is a matter of putting in the main server ip and rebooting the new dvm. Once you have complete the DVM migration I always cycle my local switches to clear any referenced ARP tables that may retain the old server MAC address information. If you need to keep using the old DVM be sure to re enable the services by double clicking hq_shoretel-start-svcs.bat. This is located in C:Program FilesShoreline CommunicationsShoreWare ServerScripts (Part 2) Back Up & Restore of a Main Shoretel Server This process does not show, or explain how to pre prepare your OS for shoretel software. Please do not attempt any steps listed without at least preparing your server first. The suggested steps below is what has worked best for me for migrating from 1 server to another. This process will involve doing a back of the old server and running a restore to the new server. This procedure is only intended for the main server only. All the new replacement servers must use the same ip’s as the originals they are replacing. As a reference, if you are on a 2003 machine your file structure will be labeled as: C:Program Files If you are on a 2008 machine or higher your file structure will be labeled as: C:Program Files (x86) Back Up instructions for a HQ Navigate to C:Program Files (x86)Shoreline CommunicationsShoreWare ServerScriptsSample_Backup_Restore and right click open with ( notepad ) sw_backup_restore.ini Upon opening sw_backup_restore.ini you should see a whole bunch of information, and for this example I am going to have you edit the server ip only. This can be found right after the following text: VMB.ip.list = 10.1.1.157. Where 10.1.1.157 is, put your HQ ip there Now Save sw_backup_restore.ini Open CMD aka Windows Command prompt This next step will take down the server to do a backup, so please make sure you are prepared to move on. From within CMD Type the following: (each space is a return stroke) cd cd Program FilesShorelineCommunicationsShoreWareServerScri ptsSample_Backup_Restore cscript.exe shoreware_backup.wsf hq all 6. 400+ seconds later a folder will be created called Shoreware Backup. The default location for this is C:Shoreware Backup. You should also see a message saying backup complete 7. Save your Shoreware Backup folder and your currently installed shoretel version to your new server in the same locations Restoring the HQ Server with your Backup Make sure your old HQ server is powered off Manually assign your HQ ip to the new server, the same Ip you have always used Confirm you have placed your backup in the designated location, the default location is: C:Shoreware Backup Confirm you have the shoretel executable for your installed shoretel version. For a reference when you do a backup a file named swversion.txt gets created, within this file you will see your build information After you are sure you have everything you need you are ready to install a fresh clean copy of shoretel. That is correct, a fresh, empty, clean copy….NO DATA Once the new installation has completed, reboot the server and login to http://localhost/ShoreWareDirector and skip thru everything to make sure all services and functions are operating. Basically once you know everything is good move on to the next step. Navigate to C:Program Files (x86)Shoreline CommunicationsShoreWare ServerScriptsSample_Backup_Restore and right click open with ( notepad ) sw_backup_restore.ini Upon opening sw_backup_restore.ini you should see a whole bunch of information and for this example I am going to have you edit the server ip only. This can be found right after the following line of text: VMB.ip.list = 10.1.1.157. Where 10.1.1.157 is put your HQ ip there Now Save sw_backup_restore.ini Open CMD aka Windows Command prompt This next step will begin doing the restore. From within CMD Type the following: (each space is a return stroke) cd cd Program FilesShorelineCommunicationsShoreWareServerScri ptsSample_Backup_Restore cscript.exe shoreware_restore.wsf hq all 12. 400+ seconds later a message saying backup complete should be visible from CMD 13. Now open Internet Explorer and Navigate to http://localhost/ShoreWareDirector from your newly restored machine, you should have all your existing data and keys. In some cases you may have to re-register your system. Do so once you have confirmed all is well As a best practice, please reboot all related equipment to clear any referenced ARP tables that may not clear on their own, after all we just changed where everything points. Thank you Lance System Administrator for www.btxchange.com www.shoretelforums.com www.sticknstuck.com See Source Post Here Liquid Layer Networks | Performance Cloud Hosting http://www.LiquidLayer.net |
||
Post 1 IP flag post |
![]() |
LiquidLayer private msg quote post Address this user | |
Using above scripts inside of windows task manager to backup data, response by Lance via ShoreTelForums / btxchange.com In order to prevent sql from writing over the data you are backing up you have to turn off the services. I have seen customers that run double sql servers to copy hot data but I have never tried it myself. If you own a SBE server supplied from shoretel it runs a similar backup copy nightly every single day on its own... but its not 100% complete, so we ignore it until we have run it on our own. Normally a shoretel server is very resilient and stopping and starting services should have no major permanent affect on a healthy working system. If this action renders the server un functional it would have been a matter of time for it to happen anyway. There is a rare case where after running a backup that services do not re enable... or do not start...but this is an easy fix. just right click and run the bat show below (drop the x86 if you have a 32 bit os): C:Program Files (x86)Shoreline CommunicationsShoreWare ServerScriptshq_shoretel-enable-svcs.bat after running that script the service should be set to automatically start, rebooting from here is a good idea just incase. As far as autobackups go you can use the supplied scripts with task scheduler.....assuming the sw_backup_restore.ini has been edit to match your server. Hope this was a little helpful. Lance |
||
Post 2 IP flag post |
Pages:
1