Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Shoretel Backup & Restore Process HQ & DVM Servers

    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
    1. Navigate to C:\Program Files\Shoreline Communications\ShoreWare Server\Scripts Double click hq_shoretel-stop-svcs.bat
    2. Now copy C:\Shoreline Data
    3. Turn off the original dvm
    4. Assign the same ip to your new DVM that your original DVM had.
    5. Paste C:\Shoreline Data to the new dvm in the same directory as the original
    6. Make sure you have the remote install software for your current build
    7. 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 Files\Shoreline Communications\ShoreWare Server\Scripts


    (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
    1. Navigate to C:\Program Files (x86)\Shoreline Communications\ShoreWare Server\Scripts\Sample_Backup_Restore and right click open with ( notepad ) sw_backup_restore.ini
    2. 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
    3. Now Save sw_backup_restore.ini
    4. Open CMD aka Windows Command prompt
    5. 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 Files\ShorelineCommunications\ShoreWareServer\Scri pts\Sample_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
    1. Make sure your old HQ server is powered off
    2. Manually assign your HQ ip to the new server, the same Ip you have always used
    3. Confirm you have placed your backup in the designated location, the default location is: C:\Shoreware Backup
    4. 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
    5. 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
    6. 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.
    7. Navigate to C:\Program Files (x86)\Shoreline Communications\ShoreWare Server\Scripts\Sample_Backup_Restore and right click open with ( notepad ) sw_backup_restore.ini
    8. 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
    9. Now Save sw_backup_restore.ini
    10. Open CMD aka Windows Command prompt
    11. This next step will begin doing the restore. From within CMD Type the following: (each space is a return stroke)

    cd\
    cd Program Files\ShorelineCommunications\ShoreWareServer\Scri pts\Sample_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


    Last edited by Lance; 02-12-2018, 04:49 PM.
    Lance Paddock
    BTX | Business Telephone eXchange
    1(800) 289-0299
Working...
X