共用方式為


移轉 Reporting Services 安裝 (SharePoint 模式)

如果您無法完成 Reporting Services SharePoint 模式環境的就地升級,您可以在不同的 SharePoint 環境之間移轉報表項目和組態。 特定的步驟可能會因為您移轉的來源版本而有所不同。 如需有關 SharePoint 模式升級及移轉案例的詳細資訊,請參閱<升級和移轉 Reporting Services>。 如需有關移轉 原生模式部署的詳細資訊,請參閱<移轉 Reporting Services 安裝 (原生模式)>。

SharePoint 2013 不支援就地升級。 不過,支援資料庫附加升級的程序。 此行為與升級至 SharePoint 2010 不同,後者的客戶可以在兩種基本升級方法中選擇:就地升級與資料庫附加升級。

如果您擁有與 SharePoint 2010 整合的 Reporting Services 安裝,就無法就地升級 SharePoint 伺服器。 不過,您可以將內容資料庫和伺服器應用程式資料庫從 SharePoint 2010 伺服器陣列移轉至 SharePoint 2013 伺服器陣列。 本主題是完成資料庫附加升級以及完成 Reporting Services 相關移轉所需步驟的概觀。

提示提示

如果您需要從原生模式部署移轉到 SharePoint,請參閱下列資源:

[!附註]

如需有關升級 SharePoint 2013 的詳細資訊,請參閱下列主題:

本主題內容:

  • Migrate from SQL Server versions prior to SQL Server 2012

  • Migrate from a SQL Server 2012 deployment

  • Additional Resources

從 SQL Server 2012 之前的 Reporting Services 版本移轉

您不能在不同的 SharePoint 伺服器陣列之間移轉,因為每一個伺服器陣列都有不同的識別碼,例如 SiteID。

首先,安裝 SharePoint 必要安裝程式、SharePoint 伺服器、SQL Server 2012 Reporting Services SharePoint 模式來建立新的 SharePoint 環境。 如需詳細資訊,請參閱<將 Reporting Services SharePoint 模式安裝為單一伺服器陣列>。

如果您想要搭配 SharePoint 2010 將 SQL Server 2012 Database Engine 用於內容、組態或 Reporting Services 目錄資料庫,也需要 SharePoint 2010 Service Pack 1 (SP1)。

**僅移轉 Reporting Services 內容:**因為伺服器陣列中的資料庫目錄及其他項目具有相關聯的 SiteID,在新的伺服器陣列中無法辨認,所以無法只將 Reporting Services 目錄資料庫移至新的伺服器陣列。 如果您需要將內容移到新的伺服器陣列,您需要使用類似 rs.exe 的工具將內容複製到新的 SharePoint 安裝。

**完整移轉:**如果您要將 SharePoint 內容資料庫連同 Reporting Services 目錄資料庫一併移轉到新的伺服器陣列,可以使用本主題摘錄的一系列備份及還原選項。 在某些情況下,還原階段所使用的工具必須與備份階段所使用的工具不同。 例如,您可以使用 Reporting Services 組態管理員從舊版 Reporting Services 備份加密金鑰,但是您必須使用 SharePoint 管理中心或 PowerShell 將加密金鑰還原到 SQL Server 2012 Reporting Services SharePoint 模式安裝。

搭配回到頁首連結使用的箭頭圖示Top

完成的移轉中將會看到的資料庫

下表描述在您成功移轉 Reporting Services SharePoint 安裝之後,與 Reporting Services 相關的 SQL Server 資料庫:

資料庫

範例名稱

目錄資料庫

ReportingService_[服務應用程式 GUID] (*)

使用者移轉。

暫存資料庫

ReportingService_[服務應用程式 GUID]TempDB (*)

使用者移轉。

警示資料庫

ReportingService_[服務應用程式 GUID]_Alerting

在建立 Reporting Services 服務應用程式時建立。

(*) 表格中顯示的範例名稱會依據您建立新的 SSRS 服務應用程式時 SSRS 所使用的命名慣例。 如果您從不同的伺服器移轉,您的目錄和暫存資料庫所擁有的名稱將會來自原始安裝。

搭配回到頁首連結使用的箭頭圖示Top

備份作業

本節描述您需要移轉的資訊類型,以及完成備份所使用的工具或程序。

SSRS SharePoint 移轉的基本圖

物件

方法

注意

1

Reporting Services 加密金鑰。

Rskeymgmt.exe 或 Reporting Services 組態管理員。 請參閱<備份與還原 Reporting Services 加密金鑰>。

  • 所指的工具可用於備份,但是在還原作業中,您將使用 Reporting Services Reporting Services 服務應用程式管理頁面或 PowerShell。

2

SharePoint 內容資料庫。

備份資料庫,並卸離資料庫。

請參閱決定升級方法 (SharePoint Server 2010) (https://technet.microsoft.com/zh-tw/library/cc263447.aspx) 中的<資料庫附加升級>一節。

3

屬於 Reporting Services 目錄資料庫的 SQL Server 資料庫。

SQL Server 資料庫備份和還原

SQL Server 資料庫卸離和附加。

4

Reporting Services 組態檔。

簡單檔案複製。

只有當您對 rsreportserver.config 做了自訂之後,才需要複製這個檔案。

檔案預設位置的範例:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\Reporting

  • Rsreportserver.config

  • Rssvrpolicy.config

  • 報表伺服器 ASP.NET 應用程式的 Web.config。

  • ASP.NET 的 Machine.config。

搭配回到頁首連結使用的箭頭圖示Top

還原作業

本節描述您需要移轉的資訊類型,以及完成還原所使用的工具或程序。 您用於還原的工具可能與備份所使用的工具不同。

在您完成還原步驟之前,您需要安裝及設定新的 SharePoint 2010 伺服器陣列和 Reporting Services SharePoint 模式。 如需有關 Reporting Services SharePoint 模式之基本安裝的詳細資訊,請參閱<將 Reporting Services SharePoint 模式安裝為單一伺服器陣列>。

物件

方法

注意

1

將 SharePoint 內容資料庫還原到新的伺服器陣列。

SharePoint 的「資料庫附加升級」方法。

基本步驟:

  1. 在新的伺服器上還原資料庫。

  2. 藉由指示 URL 將內容資料庫附加到 Web 應用程式。

  3. Get-SPWebapplication 會列出所有 Web 應用程式和 URL。

請參閱決定升級方法 (SharePoint Server 2010) (https://technet.microsoft.com/zh-tw/library/cc263447.aspx) 中的<資料庫附加升級>一節及連結資料庫並升級為 SharePoint Server 2010 (https://technet.microsoft.com/en-us/library/cc263299.aspx)

2

還原原本為 Reporting Services 目錄資料庫 (ReportServer) 的 SQL Server 資料庫。

SQL 資料庫備份及還原。

附加及卸離的 SQL Server 資料庫。

初次使用此資料庫時,Reporting Services 將會視需要更新資料庫結構描述,好讓它能夠搭配 SQL Server 2012 環境使用。

如需使用 SharePoint 管理中心的詳細資訊,請參閱安裝適用於 SharePoint 2013 的 Reporting Services SharePoint 模式中的<步驟 3:建立 Reporting Services 服務應用程式>一節。

如需使用 PowerShell 的範例,請參閱 Reporting Services SharePoint 服務和服務應用程式 (SharePoint 模式)中的<使用 PowerShell 建立 Reporting Services 服務應用程式>一節。

3

建立新的 Reporting Services 服務應用程式。

SharePoint 管理中心。

當您建立新的服務應用程式時,請將它設定為使用複製的報表伺服器資料庫。

4

還原 Reporting Services 組態檔。

簡單檔案複製。

檔案預設位置的範例:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\Reporting。

5

還原 Reporting Services 加密金鑰。

使用 Reporting Services 服務應用程式的 “SystemSettings” 頁面還原金鑰備份檔。

PowerShell。

請參閱<管理 Reporting Services 服務應用程式>主題的<金鑰管理>一節。

搭配回到頁首連結使用的箭頭圖示Top

其他組態

根據之前 SharePoint 環境的設定方式,您可能需要完成下列其中一項或多項作業:

  1. 為 Reporting Services 服務應用程式設定 NTLM 驗證。 如需詳細資訊,請參閱<設定 Reporting Services 服務應用程式的電子郵件

  2. 設定或啟用資料延伸模組。

    如果之前的 Reporting Services 安裝使用您在 rsreportserver.config 組態檔中手動設定的延伸模組,您需要在 SQL Server 2012 環境中使用 PowerShell 加以啟用。 SQL Server 2012  Reporting Services 架構不會將延伸模組資訊儲存在 rsreportserver.config 檔案中。

    如需有關使用 PowerShell 和 指令程式 New-SPRSExtension 的詳細資訊,請參閱<PowerShell 指令程式 (Reporting Services SharePoint 模式)>。

從 SQL Server 2012 部署移轉

在多伺服器陣列中,使用者在不同電腦上可能會擁有內容資料庫和目錄資料庫,此時您只需要將已安裝 Reporting Services 服務的新伺服器加入至 SharePoint 伺服器陣列,然後移除舊的伺服器。 您應該不需要複製資料庫。

備份作業

  1. 備份 Reporting Services 加密金鑰。

  2. 使用 SharePoint 管理中心 (或 PowerShell) 備份 Reporting Services 服務應用程式。 這樣也會在 SharePoint 中備份服務應用程式資料庫。 請參閱<備份與還原 Reporting Services 服務應用程式>主題

  3. 如果您擁有自動執行帳戶 (UEA) 和 Windows 驗證,請記下認證,好讓您在還原程序中使用認證。

搭配回到頁首連結使用的箭頭圖示Top

還原作業

  1. 使用 SharePoint 管理中心還原 Reporting Services 服務應用程式。 您也可以使用 PowerShell。

  2. 還原 Reporting Services 加密金鑰。

    請參閱<管理 Reporting Services 服務應用程式>主題的<金鑰管理>一節。

  3. 在服務應用程式上設定 UEA 和 Windows 認證。

搭配回到頁首連結使用的箭頭圖示Top

其他資源

搭配回到頁首連結使用的箭頭圖示Top

請參閱

概念

升級和移轉 Reporting Services

移轉 Reporting Services 安裝 (原生模式)