首页 > 代码库 > Restore content database in sharepoint
Restore content database in sharepoint
sometimes, we need backup content database about sharepoint site, then restore it one day. of course, we can backup the contetn database in SQL, then restore it in Sharepoint Central Admin, but it often failed to restore DB using Central Admin, I didn‘t find the reason.so I had to find a good way to around it. the best is Powershell cmd.
here is my steps:
1. firsty, we need dismount the old DB
Dismount-SPContentDatabase “OldContentDatabaseName"
2. then, attach the newe DB
Mount-SPContentDatabase Migrated_WSS_Content -DatabaseServer "SQLServerClusterName" -WebApplication <a target=_blank href=http://www.mamicode.com/"http://siteurl">http://siteurl
Restore content database in sharepoint
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。