从生产到开发还原共享点数据库 [英] Restoring sharepoint database from Production todevelopment

查看:81
本文介绍了从生产到开发还原共享点数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

 开发服务器中的共享网站存在问题.共享点网站指向的开发数据库崩溃了.因此,我们必须安装数据库的新实例.我们无法附加旧实例的mdf和ldf文件. 因此,我们无法还原诸如Appmanagement,Content Portal,Content Admin等共享点数据库.是否可以从Prod服务器还原Appmanagement,Content Portal,Content Admin等数据库?我们有sharepoint网站的备份 从开发服务器.如果我尝试从dev还原共享点备份,那么从Prod还原数据库时,它将以任何方式触及prod网站吗?因为如果我在dev中还原备份并且如果命中了prod服务器,它将关闭prod服务器 如有任何错误,请访问sharepoint网站.

  We have an issue in share point website in dev server. The development database where the sharepoint website was pointing to crashed. So we had to install a new instance of the Database. We are not able to attach the mdf and ldf files of the old instance. So we could not restore the sharepoint databases like Appmanagement , Content Portal , Content Admin etc.  Can we restore the databases like Appmanagement , Content Portal , Content Admin from the Prod server? We have backup of the sharepoint website from the dev server. If I try to restore the sharepoint backup from dev, will it in any way hit the prod website as the databases are restored from Prod? Because if I restore the backup in dev and if it hits the prod server it will bring down the prod server sharepoint website in case of any error.

我的意思是,如果我在开发服务器中运行以下查询,它将命中 http://prodsharepointsite/ 是否以任何方式在生产服务器中?我不想尝试,因为它会直接影响生产服务器.

What I mean is , if I run the below query in dev server will it hit the http://prodsharepointsite/ in production server in any way? I do not want to try without knowing as it will directly impact the production server.

Add-PSSnapin Microsoft.SharePoint.Powershell

Add-PSSnapin Microsoft.SharePoint.Powershell

Restore-SPSite -身份 http://devsharepointsite/ -路径 D:\ SharePointBackups \ DEV_To_PRD.bak -强制 -确认: $ false

Restore-SPSite -Identity http://devsharepointsite/ -Path D:\SharePointBackups\DEV_To_PRD.bak -Force -Confirm:$false

致谢

拉杰什

Rajesh Kumar

Rajesh Kumar

推荐答案

嗨Rajesh.

Hi Rajesh.

您可以将内容还原到生产环境中,但是我建议您在其他Web应用程序下执行此操作,以避免对生产数据产生任何潜在影响.

You can restore the contents to the production environment, but I' recommend you to do that under a different web application, in order to avoid any kind of potential impact on the production data.

再见.


这篇关于从生产到开发还原共享点数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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