Reporting Service 遷移: 從2005到2008

 

1、系統描述 數據庫

源系統:服務器

Windows Server 2003 Standard Edition SP2網站

SQL Server 2005 Standard Editionthis

 

目標系統:spa

Windows Server 2003 Standard Edition SP2server

SQL Server 2008 Standard Edition blog

 

2、備份原SQL Server 2005ip

1, 備份數據庫文件:ReportServer和ReportServerTempDBci

2, 備份Encryption keys it

 

具體操做: 

 

1, 備份數據庫

採用全(Full)備份分別備份ReportServer和ReportServerTempDB(略)兩個數據庫。

 

 

2, 備份Encryption Keys 

這個主要是用來遷移Datasource, Subscription 等相關數據。 打開Reporting Service Configuration Manager,備份 

 

 

 將備份好的Database文件和Encryption Key文件拷到目標服務器以備用:

 

 

3、遷移到SQL Server 2008

 1, 還原(Restore) Report Server數據庫

2, 還原Encryption Keys 

 

 1, 還原Report Server兩個數據庫:ReportServer和ReportServerTempDB(略):

 

 

 2, 還原Encryption Keys

打開Reporting Service Configuration Manager, 選擇Database爲ReportServer,和設好相關的配置,還原Encryption Keys:

 

 

還原以後咱們查看Scale-out Deployment,會發現有兩個實例,一個是如今SQL Server 2008的,另外一個是咱們還原產生的原SQL Server 2005,在咱們瀏覽Report網站時會產生一個錯誤,見下圖,所以咱們須要將2005的刪除, 可是當咱們選擇2005那個實例卻沒法刪除,這裏咱們會用到rskeymgmt這個命令。

錯誤:"Scale-out deployment" is not supported in this edition of Reporting Services。 

 

 

 

 rskeymgmt 命令

-l  list              Lists the report servers announced in the report server
                      database

-r  installation ID   Remove the key for the specified installation ID 

 

咱們使用-r參數來刪除2005實例名:

 C:\Documents and Settings>rskeymgmt -r 54bdb244-7430-4084-addd-49a6cc5

90c58
Are you sure you want to delete this key? Yes (Y)/ No (N): y
 
The command completed successfully

 

刪除以後,咱們的Reports網站成功運行,全部Report和Datasource都在,不須要從新配置一遍了。

 

相關文章
相關標籤/搜索