• Cloud Services

    Get into the cloud, or do more with the cloud

  • Coaching Services

    Sessions to help you make the most out of the cloud

  • Blog

    Technology tips and commentary on industry trends

  • Success Stories

    Some of our favourite case studies

  • Testimonials

    A word from our clients

  • Careers

    Join our diverse and talented team

  • About Us

    Who we are and what we do

  • Contact

    Let's get in touch

Contact Us

Brainlitter » Renaming the SharePoint 2010 Managed Metadata Database

Renaming the SharePoint 2010 Managed Metadata Database

Sean Wallbridge
March 30, 2012

For whatever reason, Microsoft doesn’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…

clip_image001

And in that, they don’t mention renaming the database at all.

So, I took to the Google… 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’d share it.

High Level Steps

  1. Prepare for the change
  2. Stop the Managed Metadata Service
  3. Backup the existing Managed Metadata Service Database
  4. Restore it as the new name
  5. Point the database at the managed metadata service application
  6. Restart Managed Metadata Service and ensure it is healthy
  7. Blow away the old database when you are satisfied

Prepare for the change

Of course communicating your plan and timeline is part of preparing, but I’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.

So let’s do that first…

  • Name of Managed Metadata Service Application: Managed Metadata Service
  • Old Name: Managed Metadata Service_522cdb15ed864f8da416521c87a5cb68
  • New Name: itgrooveSP_ManagedMetadataDB

Right, let’s get started…

Stop the Managed Metadata Service

First off, stop the Managed Metadata Web Service in Central Admin:

clip_image002

clip_image003

Backup the existing Managed Metadata Service Database

Next, in SQL Studio Manager, take a backup of your database. I prefer this method as I’m not just renaming the database but I’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…

clip_image004

Restore it as the new name

Hazaa! This is where I get to give it a new name (and possibly a new location if desired).

clip_image005

clip_image006

Point the database at the managed metadata service application

Now we just need to SharePoint know of our dirty little secret.

Open the SharePoint 2010 Management Shell (run as Administrator) and run the following:

   1: $newdatabasename = "itgrooveSP_ManagedMetadataDB"

   2: Set-SPMetadataServiceApplication -Identity "Managed Metadata Service" -DatabaseName $newdatabasename

Restart Managed Metadata Service and ensure it is healthy

clip_image002[1]

clip_image007

Blow away the old database when you are satisfied

Finally, clean up your mess. No point in keeping that old stuff around now is there?

clip_image008

That’s it, hope it helps someone out there in the Interweb.

  • managed metadata
  • Rename Database

One response to “Renaming the SharePoint 2010 Managed Metadata Database”

  1. Ponnarasu says:
    January 17, 2013 at 8:19 pm

    Very nice. Do you know any PS for taking backup and restore the managed metadata

Comments are closed.

Navo - The company directory for the connected workplace.

Centrally organize all key company bookmarks to keep your team connected to the right resources, across workspaces and devices.

LEARN MORE

We help businesses of all sizes harness the potential of Cloud Technologies by providing the blueprint, a talented service delivery team and ongoing care and support.

Connect with us

© 2026 Regroove Solutions Inc.
Privacy Policy | Legal

Newsletter sign-up