{"id":1087,"date":"2012-03-30T22:27:58","date_gmt":"2012-03-31T05:27:58","guid":{"rendered":"http:\/\/blog.brainlitter.com\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/"},"modified":"2012-03-30T22:27:58","modified_gmt":"2012-03-31T05:27:58","slug":"renaming-the-sharepoint-2010-managed-metadata-database","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/","title":{"rendered":"Renaming the SharePoint 2010 Managed Metadata Database"},"content":{"rendered":"<p>For whatever reason, Microsoft doesn&#8217;t provide very clear instructions regarding renaming the Managed Metadata Service Application Database on TechNet. <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/ff851878.aspx\">In fact, for a number of the service applications, they go into decent detail about the steps here<\/a>, but then they wimp out on the Managed Metadata Service with this\u2026<\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image001.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"clip_image001\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image001_thumb.png\" alt=\"clip_image001\" width=\"459\" height=\"23\" border=\"0\" \/><\/a><\/p>\n<blockquote><p>And in that, they don&#8217;t mention renaming the database at all.<\/p><\/blockquote>\n<p>So, I took to the Google\u2026 and I came across a bunch of folks with pretty strange ideas and approaches many of which were either unclear, referenced other articles but with no clear examples, etc. So, I documented what I needed to do myself tonight and figured I&#8217;d share it.<\/p>\n<h1>High Level Steps<\/h1>\n<ol>\n<li>Prepare for the change<\/li>\n<li>Stop the Managed Metadata Service<\/li>\n<li>Backup the existing Managed Metadata Service Database<\/li>\n<li>Restore it as the new name<\/li>\n<li>Point the database at the managed metadata service application<\/li>\n<li>Restart Managed Metadata Service and ensure it is healthy<\/li>\n<li>Blow away the old database when you are satisfied<\/li>\n<\/ol>\n<h2>Prepare for the change<\/h2>\n<p>Of course communicating your plan and timeline is part of preparing, but I&#8217;m going to dive into the technical bits and part of that means cataloging the settings that are important. In my case, I wanted to know what service application I was changing, what the old database name is and what I want it to be.<\/p>\n<p><strong>So let&#8217;s do that first\u2026<\/strong><\/p>\n<ul>\n<li>Name of Managed Metadata Service Application: <strong>Managed Metadata Service<\/strong><\/li>\n<li>Old Name: <strong>Managed Metadata Service_522cdb15ed864f8da416521c87a5cb68<\/strong><\/li>\n<li>New Name: <strong>itgrooveSP_ManagedMetadataDB<\/strong><\/li>\n<\/ul>\n<p>Right, let&#8217;s get started&#8230;<\/p>\n<h3>Stop the Managed Metadata Service<\/h3>\n<p>First off, stop the Managed Metadata Web Service in Central Admin:<\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image002.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"clip_image002\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image002_thumb.png\" alt=\"clip_image002\" width=\"240\" height=\"115\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image003.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"clip_image003\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image003_thumb.png\" alt=\"clip_image003\" width=\"240\" height=\"56\" border=\"0\" \/><\/a><\/p>\n<h2>Backup the existing Managed Metadata Service Database<\/h2>\n<p>Next, in SQL Studio Manager, take a backup of your database. I prefer this method as I&#8217;m not just renaming the database but I&#8217;m also renaming the database files. If I just rename the database, the files (Database and log) will still have the old name, which would be messy in a disaster recovery type situation, among other things\u2026<\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image004.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"clip_image004\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image004_thumb.png\" alt=\"clip_image004\" width=\"240\" height=\"143\" border=\"0\" \/><\/a><\/p>\n<p>Restore it as the new name<\/p>\n<p>Hazaa! This is where I get to give it a new name (and possibly a new location if desired).<\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image005.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"clip_image005\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image005_thumb.png\" alt=\"clip_image005\" width=\"240\" height=\"185\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image006.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"clip_image006\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image006_thumb.png\" alt=\"clip_image006\" width=\"240\" height=\"216\" border=\"0\" \/><\/a><\/p>\n<h2>Point the database at the managed metadata service application<\/h2>\n<p>Now we just need to SharePoint know of our dirty little secret.<\/p>\n<p>Open the SharePoint 2010 Management Shell (run as Administrator) and run the following:<\/p>\n<div id=\"codeSnippetWrapper\">\n<div id=\"codeSnippet\">\n<pre><span id=\"lnum1\" style=\"color: #606060\">   1:<\/span> $newdatabasename = <span style=\"color: #006080\">\"itgrooveSP_ManagedMetadataDB\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre><span id=\"lnum2\" style=\"color: #606060\">   2:<\/span> Set-SPMetadataServiceApplication -Identity <span style=\"color: #006080\">\"Managed Metadata Service\"<\/span> -DatabaseName $newdatabasename<\/pre>\n<p><!--CRLF--><\/p>\n<\/div>\n<\/div>\n<h2>Restart Managed Metadata Service and ensure it is healthy<\/h2>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image0021.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"clip_image002[1]\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image0021_thumb.png\" alt=\"clip_image002[1]\" width=\"240\" height=\"115\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image007.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 0px;padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"clip_image007\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image007_thumb.png\" alt=\"clip_image007\" width=\"240\" height=\"150\" border=\"0\" \/><\/a><\/p>\n<h2>Blow away the old database when you are satisfied<\/h2>\n<p>Finally, clean up your mess. No point in keeping that old stuff around now is there?<\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image008.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"clip_image008\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/03\/clip_image008_thumb.png\" alt=\"clip_image008\" width=\"240\" height=\"190\" border=\"0\" \/><\/a><\/p>\n<p>That&#8217;s it, hope it helps someone out there in the Interweb.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For whatever reason, Microsoft doesn&#8217;t provide very clear instructions regarding renaming the Managed Metadata Service Application Database on TechNet. In fact, for a number of the service applications, they go into decent detail about the steps here, but then they wimp out on the Managed Metadata Service with this\u2026 And in that, they don&#8217;t mention &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[76,5,14,334],"tags":[555,585],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Renaming the SharePoint 2010 Managed Metadata Database - Brainlitter - Inside the mind of Sean Wallbridge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Renaming the SharePoint 2010 Managed Metadata Database - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"For whatever reason, Microsoft doesn&#8217;t provide very clear instructions regarding renaming the Managed Metadata Service Application Database on TechNet. In fact, for a number of the service applications, they go into decent detail about the steps here, but then they wimp out on the Managed Metadata Service with this\u2026 And in that, they don&#8217;t mention &hellip;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2012-03-31T05:27:58+00:00\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/\",\"url\":\"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/\",\"name\":\"Renaming the SharePoint 2010 Managed Metadata Database - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\"},\"datePublished\":\"2012-03-31T05:27:58+00:00\",\"dateModified\":\"2012-03-31T05:27:58+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"https:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Renaming the SharePoint 2010 Managed Metadata Database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/\",\"name\":\"Brainlitter - Inside the mind of Sean Wallbridge\",\"description\":\"Dad. Husband. Drummer. Learner of Things.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Renaming the SharePoint 2010 Managed Metadata Database - Brainlitter - Inside the mind of Sean Wallbridge","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":"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/","og_locale":"en_US","og_type":"article","og_title":"Renaming the SharePoint 2010 Managed Metadata Database - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"For whatever reason, Microsoft doesn&#8217;t provide very clear instructions regarding renaming the Managed Metadata Service Application Database on TechNet. In fact, for a number of the service applications, they go into decent detail about the steps here, but then they wimp out on the Managed Metadata Service with this\u2026 And in that, they don&#8217;t mention &hellip;","og_url":"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2012-03-31T05:27:58+00:00","author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/","url":"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/","name":"Renaming the SharePoint 2010 Managed Metadata Database - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"https:\/\/regroove.ca\/brainlitter\/#website"},"datePublished":"2012-03-31T05:27:58+00:00","dateModified":"2012-03-31T05:27:58+00:00","author":{"@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/regroove.ca\/brainlitter\/2012\/03\/30\/renaming-the-sharepoint-2010-managed-metadata-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"https:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"Renaming the SharePoint 2010 Managed Metadata Database"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/brainlitter\/#website","url":"https:\/\/regroove.ca\/brainlitter\/","name":"Brainlitter - Inside the mind of Sean Wallbridge","description":"Dad. Husband. Drummer. Learner of Things.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/1087"}],"collection":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/comments?post=1087"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/1087\/revisions"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=1087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=1087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=1087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}