将Content db从一次场迁移到其他场? [英] Migrate the Content db to from once farm to ohter farm ?

查看:96
本文介绍了将Content db从一次场迁移到其他场?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

将数据库从一个服务器场迁移到另一个服务器场,然后将内容数据库安装到SharePoint Web应用程序,并在该操作下创建新的网站集,但并没有获得原始内容,而是仅显示列表中的新网站显示 迁移的数据库内容.  

am migrating the DB from one farm to other farm and mount the content DB to SharePoint web application and under that creating new site collection but am not getting the content of original but its showing the list new site only not showing the migrated DB contents.  

迁移的数据库名称为SP13BIPROD

migrated db name is SP13BIPROD

New-SPContentDatabase-名称$ ContentDatabaseName -DatabaseServer $ DatabaseInstance -WebApplication $ WebApplicationURL

New-SPContentDatabase -Name $ContentDatabaseName -DatabaseServer $DatabaseInstance -WebApplication $WebApplicationURL

New-SPSite< https://edu.com/bi/global " -OwnerAlias"Farm_account"; -名称"Global"; -ContentDatabase "SP13BIPROD" -模板"BICENTERSITE"

New-SPSite "https://edu.com/bi/global" -OwnerAlias "Farm_account" -Name "Global" -ContentDatabase  "SP13BIPROD" -Template "BICENTERSITE"

请让我知道,以反映网站集中的更改.

please let me know to reflect changes in the site collection.

Srinivas

推荐答案

您是否在新的SQL Server上看到两个数据库?数据库实例名称正确吗?

are you seeing two database on the new SQL Server? Databaseinstance name is correct?

我在想什么,好像您创建了一个新的内容数据库,而不是附加迁移的数据库.

What i am thinking, looks like you created a new content db rather attach the migrated one.

我会做以下事情:

  • 如果我看到两个名称相同或几乎相同的数据库,请检查SQL Server
  • 从中央管理员从Web应用程序中删除所有数据库
  • 现在将迁移的数据库附加到Web中央管理员或pwoershell应用程序.
  • Check the SQL server if i am seeing two DB with same name or almost same
  • Detach the all database from web application from central admin
  • Now attach the migrated database to Web application either central admin or pwoershell.
Mount-SPContentDatabase "MyDatabase" -DatabaseServer "MyServer" -WebApplication http://sitename

  • 现在检查您是否正在查看旧站点.

  • 这篇关于将Content db从一次场迁移到其他场?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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