{"id":185,"date":"2020-11-09T12:36:00","date_gmt":"2020-11-09T11:36:00","guid":{"rendered":"https:\/\/trifectatelephony.com\/blog\/?p=185"},"modified":"2022-03-24T13:21:33","modified_gmt":"2022-03-24T12:21:33","slug":"shoretel-mitel-backup-scripts","status":"publish","type":"post","link":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts","title":{"rendered":"ShoreTel &#038; Mitel Backup Scripts"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This article will show you how to configure ShoreTel &amp; Mitel Backup scripts to work with a shared network drives. This tutorial will focus on setting scripts up for the primary HQ or DVS. As easy as this seems there are some syntax sensitive areas and the entire process needs to work flawlessly in order to work properly. Hopefully this tutorial will help save you some time!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Primary Backup Script<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Mitel backup script is located wherever you decided to install the Shoreline Communications folder, but here is documentation in the Administration Guide if you want more details about this topic. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;m going to go through what works for most customers. For my example we have installed the Shoreline Communications folder in D:\\ to prevent any OS issues from affecting our phone system installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<em><strong>D:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Remote Server\\Scripts\\Sample_Backup_Restore<\/strong><\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The default file to configure is called <em><strong>sw_backup_restore.ini<\/strong><\/em>. This file tells the scripts where to look for different drives and tools to accomplish the task. I personally like running my scripting per individual server and if I am backing up the HQ, then I will configure that script to only backup the HQ. If I am backing up a DVS, then I will only configure that specific DVS for backup. This prevents any possibilities of network connectivity issues and keeps everything local to that environment. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note that backing up conference bridges and v-switches cannot configured locally to those devices, but will be done by using these same backup scripts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If we look at this INI file, we can break down what each section is for. DO NOT copy and paste the below. I will attach finished files at the end of this article. Be aware you will have to use this article to update your script according to your scenario. I have marked certain areas in <strong>bold text<\/strong> to indicate which values you will likely be changing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have changed your username and password settings for your switches, then please update them below. Yes, it is in clear text.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Default Backup Script In Detail<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">[Windows]&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Where is the windows OS installed?<\/strong><br>Windows.Install.Drive = C:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ How many log file copies back to do you want to save?<\/strong><br>[Logging Options]&nbsp;<br>Logging.Max.File.Size = 1048576 ;bytes<br>Logging.Archive.Size = 3 ;files<br><br>[Backup Options]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Where are you backing up the files FROM and TO<\/strong><br>Backup.Drive = <strong>C:<\/strong>&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Where are you backing up the files to?<\/strong><br>Backup.Root.Directory = \\Shoreware Backup\\Backup&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Where are you backing up the files FROM?<\/strong><br>Backup.ShoreWare.Directory = Shoreline Data\\&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ How many copies back to do you want to save?<\/strong><br>Backup.Archive.Size = 2 ;folders&nbsp;<br><br>[Shoreware File Locations]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Where is the Shoreline Communication folders located?<\/strong><br>ShoreWare.Drive = <strong>C:&nbsp;<\/strong><br>ShoreWare.Scripts.Root.Directory = <strong>C:\\<\/strong>Program Files (x86)\\Shoreline Communications\\ShoreWare Server\\Scripts\\<br>ShoreWare.Scripts.DVM.Root.Directory = <strong>C:\\<\/strong>Program Files (x86)\\Shoreline Communications\\ShoreWare Remote Server\\Scripts\\<br>ShoreWare.SVCCLI.CMD = \/shoretel\/bin\/svccli<br>ShoreWare.Root.Directory = \\Program Files (x86)\\Shoreline Communications\\ShoreWare Server<br>ShoreWare.DVM.Root.Directory = \\Program Files (x86)\\Shoreline Communications\\ShoreWare Remote Server<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Where will the tools be located for the backup procedure?<\/strong><br>[Remote Command Tools]&nbsp;<br>PLINK.CMD = <strong>C:\\<\/strong>Program Files (x86)\\Shoreline Communications\\ShoreWare Server\\Scripts\\Sample_Backup_Restore\\plink<br>PSCP.CMD = <strong>C:\\<\/strong>Program Files (x86)\\Shoreline Communications\\ShoreWare Server\\Scripts\\Sample_Backup_Restore\\pscp<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ This is for backing up Voice Switches (50v, 90v etc.)<\/strong><br>[VMB]&nbsp;<br>VMB.user = <strong>admin<\/strong><br>VMB.password = <strong>ShoreTel<\/strong><br>VMB.Backup.Root.Directory = \\Shoreware Backup\\VMBBackup<br>VMB.Backup.Folder = VMB<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Place the IP&#8217;s of the devices here.<\/strong><br>VMB.ip.list = <strong>10.1.1.157<\/strong> ;comma-separated&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ This is for backing up the conference bridge (SA100, SA400, virtual Conference Bridge)<\/strong><br>[UCB]&nbsp;<br>UCB.user = <strong>admin<\/strong><br>UCB.password = <strong>ShoreTel<\/strong><br>UCB.Backup.Root.Directory = \\Shoreware Backup\\UCBBackup<br>UCB.Backup.Folder = UCB<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Place the IP&#8217;s of the devices here.<\/strong><br>UCB.ip.list = <strong>10.23.139.44<\/strong>;comma-separated&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ This is used to initiate DVS backups from server which this file sits.<\/strong><br>[DVS]&nbsp;<br>DVS.user = <strong>admin<\/strong><br>DVS.password = <strong>ShoreTel<\/strong><br>DVS.Backup.Root.Directory = \\Shoreware Backup\\DVSBackup<br>DVS.Backup.Folder = DVS<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Place the IP&#8217;s of the devices here.<\/strong><br>DVS.ip.list = <strong>10.23.139.44<\/strong>;comma-separated&nbsp;&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Custom Scripts<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In my scenario I want to be able to move the backup folders up off to server to a safe location. Below is an explanation of the script (Copy-to-Network-Drive.bat).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">D:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Remote Server\\Scripts\\Sample_Backup_Restore\\Copy-to-Network-Drive.bat<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">@echo off<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ This is where my network drive is located<\/strong><br>set &#8220;<strong>backupDir=\\\\HQ-FS01.XYZ\\Mitel Backup\\<\/strong>&#8221;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Create a new folder in my shared drive called HQ-10.100.50.10-backup- AND insert the current date into the filename<\/strong><br>md &#8220;<strong>\\\\HQ-FS01.XYZ\\Mitel Backup\\HQ-10.100.50.10-<\/strong>backup-%date:\/=%&#8221;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Copy the files from the backup location D:\\Shoreware Backup\\Backup\\ and move them to the new folder created HQ-10.100.50.10-backup-TODAYSDATE<\/strong><br>xcopy &#8220;<strong>D:\\Shoreware Backup\\Backup\\<\/strong>*&#8221; &#8220;<strong>\\\\HQ-FS01.XYZ\\Mitel Backup\\HQ-10.100.50.10-<\/strong>backup-%date:\/=%&#8221; \/s \/i&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Delete any remaining folders in the original backup location<\/strong><br>@RD \/S \/Q &#8220;<strong>D:\\Shoreware Backup\\Backup\\<\/strong>&#8221;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\/\/ Check the network share and make sure there are only 5 backup folders. If there are more than 5 folders, then delete the oldest folder.<\/strong><br>for \/f &#8220;<strong>skip=5<\/strong> delims=&#8221; %%a in (&#8216; dir &#8220;%backupDir%\\&#8221; \/b \/ad-h \/o-d&#8217;) do rd \/s \/q &#8220;%backupDir%\\%%a&#8221;&nbsp;&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Scheduling &amp; Configuring the backup task<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">It is important that you are able to access the shared drive from the local server first. Make sure you are using a backup user account to practice safe security. I usually also map the location to my server. This way if I am on that server doing work, then I can easily check the backup folder to ensure everything is there and also I can easily grab files or folders if I need to.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture50.png\" alt=\"my computer details\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It is also good practice to add your backup user to your Backup Operators group of your server. This ensures they have the permissions required to be running task scheduler.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture52.png\" alt=\"Local group permissions\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now we must open Windows Task Scheduler and create our scheduled task. We&#8217;re going to run our task daily to ensure we have the most up-to-date copy of our phone system.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture53.png\" alt=\"Windows Administrative Tools\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Task Scheduler<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture60.png\" alt=\"Task Scheduler Window 1\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture61.png\" alt=\"Task Scheduler Window 2\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s good to schedule the backup outside of the nightly system clean-up that happens automatically. I have chosen 03:30 here as I know all voicemail clean-up will be long done by then.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture62.png\" alt=\"Task Scheduler Window 3\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture63.png\" alt=\"Task Scheduler Window 4\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you are backing up your HQ, then choose hq_backup_all. Otherwise if you are backing up only your DVS, then you want to use dvm_backup_all.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture64.png\" alt=\"ShoreTel Backup Scripts\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture65.png\" alt=\"Task Scheduler Window 5\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Copy and paste the highlighted in blue and copy it in the &#8220;Start in (optional)&#8221; field. Be sure to not include the quotation marks.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture66.png\" alt=\"Task Scheduler Window 6\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture67.png\" alt=\"Task Scheduler Window 7\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Plan for the worst<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This step is not needed if everything goes well, but I always plan for when the worst possible scenario. This second script is used to start all of the services in the event our backup stops. A good reason for the backup process stopping would be no access to the shared network drive. We want to ensure everything is back online before business starts, so we will run the <em><strong>hq_shoretel-start-svc.bat<\/strong><\/em> if we are configuring our hq backup script. If we are running a dvs backup, then we want to use <em><strong>rs_shoretel-start-svc.bat<\/strong><\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture68.png\" alt=\"Task Scheduler Actions tab\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture69.png\" alt=\"Task Scheduler New Action\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This drive may be C:\\ depending where you installed your Shoreline Communications folder<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">D:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Remote Server\\Scripts\\<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture74.png\" alt=\"ShoreTel backup Scripts directory\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>OR<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture75.png\" alt=\"ShoreTel backup Scripts directory\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Just like above, copy and paste the highlighted in blue and copy it in the &#8220;Start in (optional)&#8221; field. Be sure to not include the quotation marks.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture76.png\" alt=\"Windows Task Scheduler Start a Program\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture72.png\" alt=\"Windows Task Scheduler Actions list\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now we want to add our custom script which will copy the backup files\/folders and move them to our shared drive.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture70.png\" alt=\"ShoreTel Backup Scripts Directory\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Just like above, copy and paste the highlighted in blue and copy it in the &#8220;Start in (optional)&#8221; field. Be sure to not include the quotation marks.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture71.png\" alt=\"Windows Task Scheduler New Action\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hit OK, and then let&#8217;s update the settings tab.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture73.png\" alt=\"Windows Task Scheduler Settings\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let&#8217;s make sure that we setup the task scheduler to run the task using our backup user. This is done automatically, so we will ensure that it can run the scripts without anyone being logged in.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture77.png\" alt=\"Windows Task Scheduler General\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once we are all done, we can hit OK and put in the password for our backup user.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture78.png\" alt=\"Windows Task Scheduler Requesting account credentials\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;Configuration is now Complete.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">It&#8217;s important to test the backup<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Once you are in your approved maintenance window (these steps will take down your phone system)<\/strong>, then you can run the task on demand to ensure everything works well.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture79.png\" alt=\"Windows Task Scheduler Main screen - Run program\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Here is what it looks like when it runs successfully<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First all of the services go disable and start stopping.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture80.png\" alt=\"Microsoft Windows ShoreTel Services\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then the backup process starts and is placing the files into our &#8216;Shoreware Backup&#8217; folder.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture54.png\" alt=\"Backup Directory\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Are services are restarted.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture83.png\" alt=\"Microsoft Windows ShoreTel Services\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A new folder is created on our network drive.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture81.png\" alt=\"Backup Directory\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Files are copied over to our new folder.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture55.png\" alt=\"Backup Directory\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The old local drive files in the &#8216;Shoreware Backup&#8217; folder are deleted.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/trifectatelephony.com\/images\/posts\/capture82.png\" alt=\"Backup Directory\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can download the <a href=\"https:\/\/trifectatelephony.com\/blog\/Copy-to-Network-Drive.txt\"><\/a><a href=\"https:\/\/trifectatelephony.com\/blog\/Copy-to-Network-Drive.txt\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" download=\"\">custom script here.<\/a> Be sure to rename the file from .txt to .bat<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it. Please contact us if you have any questions or you would like us to do this for you. You can reach us via out <a href=\"https:\/\/trifectatelephony.com\/contact\">Contact Us <\/a>page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> For more of our Mitel \/ ShoreTel related content, go <a href=\"\/blog\/tag\/shoretel\">here<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will show you how to configure ShoreTel &amp; Mitel Backup scripts to work with a shared network drives. This tutorial will focus on setting scripts up for the primary HQ or DVS. As easy as this seems there are some syntax sensitive areas and the entire process needs to work flawlessly in order&hellip; <a class=\"more-link\" href=\"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts\">Continue reading <span class=\"screen-reader-text\">ShoreTel &#038; Mitel Backup Scripts<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":190,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[26,28,14,24,23,36],"class_list":["post-185","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge-base","tag-automation","tag-backup","tag-mitel","tag-scripting","tag-shoretel","tag-troubleshooting","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Trifecta Telephony | ShoreTel &amp; Mitel Backup Scripts<\/title>\n<meta name=\"description\" content=\"How to configure ShoreTel \/ Mitel backup scripts that works with a network drive. This article will help you with that from the professionals.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Trifecta Telephony | ShoreTel &amp; Mitel Backup Scripts\" \/>\n<meta property=\"og:description\" content=\"How to configure ShoreTel \/ Mitel backup scripts that works with a network drive. This article will help you with that from the professionals.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts\" \/>\n<meta property=\"og:site_name\" content=\"Trifecta Telephony\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-09T11:36:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-24T12:21:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/trifectatelephony.com\/blog\/wp-content\/uploads\/2020\/11\/computer-screen-with-code.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"797\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Trifecta IT Group\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/trifectatelephony.com\/blog\/wp-content\/uploads\/2020\/11\/computer-screen-with-code.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Trifecta IT Group\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/shoretel-mitel-backup-scripts#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/shoretel-mitel-backup-scripts\"},\"author\":{\"name\":\"Trifecta IT Group\",\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/#\\\/schema\\\/person\\\/a699eb9fd9a5f492613bf8173043bbba\"},\"headline\":\"ShoreTel &#038; Mitel Backup Scripts\",\"datePublished\":\"2020-11-09T11:36:00+00:00\",\"dateModified\":\"2022-03-24T12:21:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/shoretel-mitel-backup-scripts\"},\"wordCount\":1540,\"image\":{\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/shoretel-mitel-backup-scripts#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/computer-screen-with-code.jpg\",\"keywords\":[\"Automation\",\"backup\",\"Mitel\",\"Scripting\",\"Shoretel\",\"troubleshooting\"],\"articleSection\":[\"Knowledge Base\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/shoretel-mitel-backup-scripts\",\"url\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/shoretel-mitel-backup-scripts\",\"name\":\"Trifecta Telephony | ShoreTel & Mitel Backup Scripts\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/shoretel-mitel-backup-scripts#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/shoretel-mitel-backup-scripts#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/computer-screen-with-code.jpg\",\"datePublished\":\"2020-11-09T11:36:00+00:00\",\"dateModified\":\"2022-03-24T12:21:33+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/#\\\/schema\\\/person\\\/a699eb9fd9a5f492613bf8173043bbba\"},\"description\":\"How to configure ShoreTel \\\/ Mitel backup scripts that works with a network drive. This article will help you with that from the professionals.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/shoretel-mitel-backup-scripts\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/shoretel-mitel-backup-scripts#primaryimage\",\"url\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/computer-screen-with-code.jpg\",\"contentUrl\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/computer-screen-with-code.jpg\",\"width\":1200,\"height\":797,\"caption\":\"computer-screen-with-code\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/\",\"name\":\"Trifecta Telephony\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/#\\\/schema\\\/person\\\/a699eb9fd9a5f492613bf8173043bbba\",\"name\":\"Trifecta IT Group\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6131bec655ddd0fd50aad88d24e8af3729653cf64fdcc55dc2916d30bc9f8fdf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6131bec655ddd0fd50aad88d24e8af3729653cf64fdcc55dc2916d30bc9f8fdf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6131bec655ddd0fd50aad88d24e8af3729653cf64fdcc55dc2916d30bc9f8fdf?s=96&d=mm&r=g\",\"caption\":\"Trifecta IT Group\"},\"sameAs\":[\"http:\\\/\\\/trifectatelephony.com\\\/blog\\\/\"],\"url\":\"https:\\\/\\\/trifectatelephony.com\\\/blog\\\/author\\\/kkelsey\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Trifecta Telephony | ShoreTel & Mitel Backup Scripts","description":"How to configure ShoreTel \/ Mitel backup scripts that works with a network drive. This article will help you with that from the professionals.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts","og_locale":"en_US","og_type":"article","og_title":"Trifecta Telephony | ShoreTel & Mitel Backup Scripts","og_description":"How to configure ShoreTel \/ Mitel backup scripts that works with a network drive. This article will help you with that from the professionals.","og_url":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts","og_site_name":"Trifecta Telephony","article_published_time":"2020-11-09T11:36:00+00:00","article_modified_time":"2022-03-24T12:21:33+00:00","og_image":[{"width":1200,"height":797,"url":"https:\/\/trifectatelephony.com\/blog\/wp-content\/uploads\/2020\/11\/computer-screen-with-code.jpg","type":"image\/jpeg"}],"author":"Trifecta IT Group","twitter_card":"summary_large_image","twitter_image":"https:\/\/trifectatelephony.com\/blog\/wp-content\/uploads\/2020\/11\/computer-screen-with-code.jpg","twitter_misc":{"Written by":"Trifecta IT Group","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts#article","isPartOf":{"@id":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts"},"author":{"name":"Trifecta IT Group","@id":"https:\/\/trifectatelephony.com\/blog\/#\/schema\/person\/a699eb9fd9a5f492613bf8173043bbba"},"headline":"ShoreTel &#038; Mitel Backup Scripts","datePublished":"2020-11-09T11:36:00+00:00","dateModified":"2022-03-24T12:21:33+00:00","mainEntityOfPage":{"@id":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts"},"wordCount":1540,"image":{"@id":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts#primaryimage"},"thumbnailUrl":"https:\/\/trifectatelephony.com\/blog\/wp-content\/uploads\/2020\/11\/computer-screen-with-code.jpg","keywords":["Automation","backup","Mitel","Scripting","Shoretel","troubleshooting"],"articleSection":["Knowledge Base"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts","url":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts","name":"Trifecta Telephony | ShoreTel & Mitel Backup Scripts","isPartOf":{"@id":"https:\/\/trifectatelephony.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts#primaryimage"},"image":{"@id":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts#primaryimage"},"thumbnailUrl":"https:\/\/trifectatelephony.com\/blog\/wp-content\/uploads\/2020\/11\/computer-screen-with-code.jpg","datePublished":"2020-11-09T11:36:00+00:00","dateModified":"2022-03-24T12:21:33+00:00","author":{"@id":"https:\/\/trifectatelephony.com\/blog\/#\/schema\/person\/a699eb9fd9a5f492613bf8173043bbba"},"description":"How to configure ShoreTel \/ Mitel backup scripts that works with a network drive. This article will help you with that from the professionals.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/trifectatelephony.com\/blog\/shoretel-mitel-backup-scripts#primaryimage","url":"https:\/\/trifectatelephony.com\/blog\/wp-content\/uploads\/2020\/11\/computer-screen-with-code.jpg","contentUrl":"https:\/\/trifectatelephony.com\/blog\/wp-content\/uploads\/2020\/11\/computer-screen-with-code.jpg","width":1200,"height":797,"caption":"computer-screen-with-code"},{"@type":"WebSite","@id":"https:\/\/trifectatelephony.com\/blog\/#website","url":"https:\/\/trifectatelephony.com\/blog\/","name":"Trifecta Telephony","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/trifectatelephony.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/trifectatelephony.com\/blog\/#\/schema\/person\/a699eb9fd9a5f492613bf8173043bbba","name":"Trifecta IT Group","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/6131bec655ddd0fd50aad88d24e8af3729653cf64fdcc55dc2916d30bc9f8fdf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6131bec655ddd0fd50aad88d24e8af3729653cf64fdcc55dc2916d30bc9f8fdf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6131bec655ddd0fd50aad88d24e8af3729653cf64fdcc55dc2916d30bc9f8fdf?s=96&d=mm&r=g","caption":"Trifecta IT Group"},"sameAs":["http:\/\/trifectatelephony.com\/blog\/"],"url":"https:\/\/trifectatelephony.com\/blog\/author\/kkelsey"}]}},"_links":{"self":[{"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":9,"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"predecessor-version":[{"id":210,"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/posts\/185\/revisions\/210"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/media\/190"}],"wp:attachment":[{"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trifectatelephony.com\/blog\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}