Darcy

如何做reporting services数据库的迁移

                       如何做reporting services数据库的迁移(翻译)
介绍:
本文描述如何从一台计算机迁移reporting services数据库到另外一台计算机并在目标计算机中运转。

更多信息:
由于个别的原因,您可能想将Reporting Services数据库从一台计算机迁移到另外一台计算机,比如,您在一台计算机的应用程序开发环境中使用Reporting Services建立报表,如果想迁移这些报表到一台计算机的产品环境中并使用它,你必须迁移Reporting Services数据库、Reporting Services Windows服务和Reporting Services Web服务,如果您想从一台计算机迁移Reporting Services数据库和Reporting Services服务到另外一台计算机,您不需要重新配置这些报表,您同样也不需要在目标计算机中重新装配Reporting Services。

根据不同的需要有下面两种解决方案:
一.将reporting services 数据库从一台计算机迁移到另外一台计算机,并将reporting services指向到那个数据库,按下面的步骤操作:
1. 从源计算机复制reporting services数据库和reporting services临时数据库。
 注:reporting services数据库的默认名称为ReportServer,reporting services临时数 据库的默认名称为ReportServerTempDB。
2. 将第一步复制的数据库还原到目标数据库适当的SQL Server实例。
3. 将reporting services指向第二步中还原的数据库,在命令提示符下运行下面的report server配置命令:
 RSConfig -c -s Server name -d Reporting Services database name -a Sql|Windows -u User name -p User password
 注:有关RsConfig.exe命令行的更多信息,在命令提示符下运行下面的命令:
 RSConfig /?

二.将Reporting Services数据库、Reporting Services Windows服务和Reporting Services Web服务从一台计算机迁移到另外一台计算机,您首先需要获得源计算机的密钥,您可以先将数据库从源计算机迁移到目标计算机,并在目标计算机恢复密钥。要做这些,请按下面步骤做:
1. 在源计算机,使用Rskeymgmt.exe命令行获得密钥,在命令提示符下运行下面的命令行:
 RSKeyMgmt.exe -e -f Path of file name -p Strong password
 有关Rskeymgmt.exe命令行的更多信息,在命令提示符下运行下面的命令:
 RSKeyMgmt /?
2. 在目标计算机,执行下面步骤:
a. 安装Reporting Services。
b. 停止Reporting Services Windows服务。
c. 停止IIS。
3. 将源计算机的reporting services数据库和reporting services临时数据库复制到目标数据库,并还原到适当的SQL Server实例。
 注:reporting services数据库的默认名称为ReportServer,reporting services临时数 据库的默认名称为ReportServerTempDB。
4. 在目标计算机,执行下面步骤:
a. 启动Reporting Services Windows服务。
b. 启动IIS。
c. 利用第三步复制到目标计算机的Reporting Services数据库,使用Rsconfig.exe配置report server实例,在命令提示符下运行下面的report server配置命令:
 RSConfig -c -s Server name -d Reporting Services database name -a Sql|Windows -u User name -p User password
 注:有关RsConfig.exe命令行的更多信息,在命令提示符下运行下面的命令:
 RSConfig /?
d. 通过第一步获得的密钥,使用Rskeymgmt.exe命令行在目标计算机应用密钥,在命令提示符下运行下面的命令(下面Path of file name和Strong password使用第一步中获得的):
 RSKeyMgmt -a -f Path of file name -p Strong password

环境:Windows2003+IIS6.0+Reporting Services Enterprise Edition

posted on 2005-11-14 12:45  Darcy  阅读(1251)  评论(0编辑  收藏  举报

导航