Backup:
$mmsApplication = Get-SPServiceApplication | ?
{$_.TypeName –eq “Managed Metadata Service”}
$mmsProxy = Get-SPServiceApplicationProxy | ?
{$_.TypeName –eq “Managed Metadata Service Connection”}
Export-SPMetadataWebServicePartitionData
$mmsApplication.Id –ServiceProxy $mmsProxy –Path “C:\Temp\mmsbackup.cab”
Restore:
$mmsApplication = Get-SPServiceApplication | ?
{$_.TypeName –eq “Managed Metadata Service”}
$mmsProxy = Get-SPServiceApplicationProxy | ?
{$_.TypeName –eq “Managed Metadata Service Connection”}
Import-SPMetadataWebServicePartitionData
$mmsApplication.Id –ServiceProxy $mmsProxy –Path “C:\Temp\mmsbackup.cab”
–OverwriteExisting
No comments:
Post a Comment