恢复我们的托管元数据数据库并恢复我们的企业维基站点,没有将托管元数据站点列与术语集链接 [英] Restore our Managed metadata database and Restore our Enterprise wiki site, did not link the managed metadata site columns with the term sets

查看:75
本文介绍了恢复我们的托管元数据数据库并恢复我们的企业维基站点,没有将托管元数据站点列与术语集链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是


我正在尝试将SharePoint 2013企业wiki网站集从测试转为实时,所以我尝试了以下步骤: -



1.因为我们的企业wiki网站集包含链接到术语集的托管元数据列,所以我备份了我们的托管元数据数据库,从测试中恢复它使用sql server管理工作室实现。



2.然后我运行以下命令将托管元数据服务与恢复的数据库链接: -

Hi,

I am trying to move our SharePoint 2013 enterprise wiki site collection from test to live, so i tried the following steps:-

1. as our enterprise wiki site collection contain managed metadata columns which are linked to term sets, so i backup-ed our managed metadata database from test and restore it inside the live using the sql server management studio.

2. then i run the following command to link the managed metadata service with the restored database:-

$app = Get-SPServiceApplication -Name "<ServiceApplicationName>"
Set-SPMetadataServiceApplication -Identity "<Name/GUID of service application>"  -DatabaseName "<DatabaseName>" 

我已正确复制所有术语集和术语。



3.然后我备份了我们的企业wiki网站集,并使用以下命令将其恢复到实时: -

and i got all the term sets and terms copied correctly.

3. then i took a backup of our enterprise wiki site collection , and i restore it inside live using this command:-

Restore-SPSite -Identity http://******/ -Path c:\wiki.bak  -force

并且网站集已经过简单恢复。但是当我编辑维基页面时,我发现所有托管元数据列都显示为灰色,如下所示: -

and the site collection was restored succsfully. but when i edit a wiki page i found that all the managed metadata columns are greyed out ,a s follow:-

当我检查托管元数据网站列时,我发现它们没有链接到任何术语集,如下所示: -

and when i checked the managed metadata site column i found that they are not linked to any term sets, as follow:-



所以任何人都可以为我所面临的问题而烦恼吗?虽然源和目标术语集和术语具有相同的名称GUID ...因此恢复的网站集的托管元数据列应链接到正确的术语集..这是正确的吗?


so can anyone adivce why i am facing is issue? although the source and destination term sets and terms got the same name an GUID... so the restored site collection's managed metadata columns should got linked to the correct terms sets.. is this correct?

推荐答案

嗨johnjohn11, 



比较两个农场的术语集和术语,Guid是否相同?
b
$
如果两个农场的术语集和术语的指导不同,托管元数据列,指向这些术语集将不再适用于您的新服务器场,因为它链接的术语集的GUID。



根据我的研究, 您可以使用PowerShell移动托管元数据并保留ID,请参阅以下步骤:
$


步骤1 - 导出术语库脚本

Hi johnjohn11, 

Compare the termsets and terms of both farms, Does the Guid are the same?

If the Guid of termsets and terms are different between two farms, your managed metadata columns, which point to those termsets won’t work anymore in your new farm because the GUID of the termset it links.

Per my research,  you can move your managed metadata and keep the ID using PowerShell, Refer to the following steps:

Step 1 - Export Term Store script


mmsApplication = Get-SPServiceApplication | ? {
mmsApplication = Get-SPServiceApplication | ? {


.TypeName -eq" Managed Metadata Service"}
.TypeName -eq "Managed Metadata Service"}


这篇关于恢复我们的托管元数据数据库并恢复我们的企业维基站点,没有将托管元数据站点列与术语集链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆