How to take backup of Manged Metadata Service application using powerhsell

adil 1,431 Reputation points
2020-09-11T14:06:07.15+00:00

Hi I have a SharePoint 2013 Dev farm and one Manged Metadata Service application , i want to create another managed metadata service application in same farm with the backup of existing managed metadata service application. here i want to

How to take backup of Manged Metadata Service application using powerhsell 2.Restore in Same farm with another Name. Purpose is i want to use the same Groups,TermSets and Terms for another web applications site collection.

Microsoft 365 and Office | SharePoint Server | For business
{count} votes

Accepted answer
  1. Sharath Kumar Aluri 3,071 Reputation points
    2020-09-11T14:56:28.013+00:00

    Take a backup of the database and restore with a different name to be safe, and then delete the service application with out deleting the database attached to it and then recreate the service application with a new name by placing earlier existing database details. below article will help you to do in step by step.

    http://alstechtips.blogspot.com/2015/06/sharepoint-2013-how-to-restore-managed.html

    Thanks & Regards,

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. trevorseward 11,711 Reputation points
    2020-09-12T16:45:34.983+00:00

    I fully support backing up just the database and restoring that, though you will lose a couple of the MMS settings (i.e. Content Type hub location). If you want to grab that information along with the MMS database, you can use this to backup MMS:

    Backup-SPFarm -Item 'Farm\Shared Services\Shared Services Applications\Managed Metadata Service Application' -Directory \\server\shareName -BackupMethod Full  
    

    To make sure you're backing up the correct item, you can use Backup-SPFarm -ShowTree.

    See Backup-SPFarm for more information on how to use the cmdlet.

    1 person found this answer helpful.
    0 comments No comments

  2. JoyZ 18,111 Reputation points
    2020-09-15T09:52:36.757+00:00

    Hi @adil ,

    As trevor said, we could backup the Managed Metadata Service Application using powershell .

    However per my test, it is not possible to restore it to another Managed Metadata Service Application in the same farm.

    If you don't specify the original Managed Metadata Service Application, it will show as follows:

    24748-image.png

    So backup and restore could not achieve your purpose.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.