在两台机器上备份和恢复共享点内容数据库,软管我的共享点应用程序
我在两台计算机 A 和 B 上配置了共享点站点。我想从计算机 A 获取内容数据库并将其恢复到计算机 B 上的站点中。 我使用SQL备份备份机器A的数据库,并将其恢复到机器B,覆盖现有的内容数据库。但是,我的共享点站点变得无法访问 - 我会收到通用站点未找到错误。我是否还必须备份和恢复 SharePoint_Config 数据库? 这种场景的最佳实践是什么?
I have sharepoint sites provisioned on two machines A and B. I would like to take the content database from machine A and restore it into the site on machine B.
I used SQL backup to backup machine A's database, and restored it to machine B, overwriting the existing content database. However, my sharepoint site became unreachable - I would get a generic site not found error. Did I also have to back up and restore SharePoint_Config database too?
What is the best practices for this kind of scenario?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要告诉 sharepoint 您的新数据库在哪里。只需转到中央管理的内容数据库管理页面即可。在那里您将看到映射到 Web 应用程序的先前数据库。删除它和新数据库。它将把网络应用程序映射到它,然后您的网站就会回来。输入服务器和数据库名称时要小心,因为如果名称输入错误,您可能会创建一个新数据库,而不是连接到现有数据库
You need to tell sharepoint where your new database is. just go to the content database management page on central administration. there you will see your previous database mapped to the web application. remove it and and the new database. it will map the web app to it and your sites will come back. be careful when entering the server and database name, as you could create a new db instead of connecting to the existing one if you mistype the name