升級 DPM 安裝Upgrade your DPM installation

本文提供 System Center 2019 - Data Protection Manager (DPM) 的升級資訊。This article provides the upgrade information for System Center 2019 - Data Protection Manager (DPM).

升級至 DPM 2019Upgrade to DPM 2019

您可以在 Windows Server 2016 或 2019 上安裝 System Center - 2019 Data Protection Manager (DPM)。You can install System Center - 2019 Data Protection Manager (DPM) on Windows Server 2016 or 2019. 您可以從下列版本升級至 DPM 2019:You can upgrade to DPM 2019 from the following versions:

DPM 2019 的升級路徑Upgrade path for DPM 2019

如果您要從 DPM 2016 升級至 DPM 2019,請確定您的安裝具備下列必要的更新:If you upgrade from DPM 2016 to DPM 2019, make sure your installation has the following necessary updates:

  • 將 DPM 伺服器升級至 DPM 2019。Upgrade the DPM server to DPM 2019.
  • 更新受保護伺服器上的代理程式。Update the agents on the protected servers.
  • 升級所有實際執行伺服器上的 DPM 遠端系統管理員。Upgrade the DPM Remote Administrator on all production servers.
  • 您不需要重新啟動實際執行伺服器,備份即會繼續。Backups continue without rebooting your production server.

DPM 的升級步驟Upgrade steps for DPM

  1. 若要安裝 DPM,請按兩下 Setup.exe,以開啟 System Center 2019 精靈。To install DPM, double-click Setup.exe to open the System Center 2019 wizard.

  2. 按一下 [安裝] 下方的 Data Protection Manager 以開啟安裝精靈。Under Install, click Data Protection Manager to start the setup wizard. 同意授權條款和條件,並遵循安裝精靈的指示。Agree to the license terms and conditions and follow the setup wizard.

    如需安裝 DPM 的指示,請參閱安裝 DPM 一文。For instructions on installing DPM, see the article, Installing DPM.

在升級期間遷移 DPM 資料庫Migrate the DPM database during upgrade

您可能想在升級過程中移動 DPM 資料庫。You may want to move the DPM Database as part of an upgrade. 例如:For example:

  • 您要合併 SQL Server 的執行個體。You are merging instances of SQL Server.
  • 您要移動到功能更強大的遠端 SQL Server。You are moving to a remote more powerful SQL server.
  • 您想要使用 SQL Server 叢集,新增容錯功能,或是想要從遠端 SQL Server 移到本機 SQL Server,反之亦然。You want to add fault tolerance by using a SQL Server cluster; or you want to move from a remote SQL server to a local SQL server or vice versa.

DPM 2019 安裝程式可讓您在升級期間,將 DPM 資料庫遷移至不同的 SQL Server。DPM 2019 setup allows you to migrate the DPM database to different SQL Servers during an upgrade.

可能的資料庫移轉案例Possible database migration scenarios

下列狀況會發生於將 DPM 2016/1801/1807 升級至 DPM 2019 時,如果您:The following scenarios exist when you are upgrading DPM 2016/1801/1807 to DPM 2019 using a:

  1. 在安裝期間,使用本機執行個體並移轉至 SQL Server 的遠端執行個體。Local instance and migrating to a remote instance of SQL Server during setup.
  2. 在安裝期間,使用遠端執行個體並移轉至 SQL Server 的本機執行個體。Remote instance and migrating to a local instance of SQL Server during setup.
  3. 在安裝期間,使用本機執行個體並移轉至遠端 SQL Server 伺服器叢集。Local instance and migrating to a remote SQL Server Cluster instance during setup.
  4. 在安裝期間,使用本機執行個體並移轉至不同的 SQL Server 本機執行個體。Local instance and migrating to a different local instance of SQL Server during setup.
  5. 在安裝期間,使用遠端執行個體並移轉至不同的 SQL Server 遠端執行個體。Remote instance and migrating to a different remote instance of SQL Server during setup.
  6. 在安裝期間,使用遠端執行個體並移轉至遠端 SQL Server 伺服器叢集。Remote instance and migrating to a remote SQL Server Cluster instance during setup.

準備資料庫移轉Prepare for a database migration

如果您想要使用新的 SQL Server 來移轉 DPM 資料庫,在升級 DPM 之前,請先確定這兩個 SQL 伺服器具有相同的:If you want to use a new SQL server to migrate the DPM database, before you upgrade DPM, be sure both SQL Servers have the same:

  • SQL Server 需求SQL Server requirements
  • 安裝程式設定Setup configuration
  • 防火牆規則Firewall rules
  • DPM 支援檔案 (sqlprep)DPM Support files (sqlprep)

安裝 SQL Server 的新執行個體並備妥供 DPM 使用之後,您必須備份目前的 DPM 資料庫,並在新的 SQL Server 上還原。Once you have the new instance of SQL Server installed and prepared for DPM use, you must make a backup of the current DPM database and restore it on the new SQL Server.

升級前的步驟:備份 DPM 2016/1801/1807 資料庫並還原到新的 SQL 執行個體Pre-upgrade steps: Backup and restore DPM 2016/1801/1807 database to a new SQL instance

此範例會準備用於移轉的遠端 SQL Server 叢集。This example prepares a remote SQL Server cluster to use in a migration.

  1. 在 System Center Data Protection Manager 伺服器或裝載 DPM 資料庫的遠端 SQL Server 上,啟動 Microsoft SQL Management Studio 並連接到裝載目前 DPM DPMDB 的 SQL 執行個體。On the System Center Data Protection Manager server or on the remote SQL Server hosting the DPM database, start Microsoft SQL Management Studio and connect to the SQL instance hosting the current DPM DPMDB.

  2. 以滑鼠右鍵按一下 DPM 資料庫,然後在 [工作] 下,選取 [備份...] Right-click the DPM database, and under Tasks, select the Back Up… 選項。option.

    選取備份

  3. 新增備份目的地及檔案名稱,然後選取 [確定] 開始備份。Add a backup destination and file name, and then select OK to start the backup.

    確認

  4. 備份完成後,請將輸出檔案複製到遠端 SQL Server。After the backup is complete, copy the output file to the remote SQL Server. 如果這是 SQL 叢集,請將它複製到裝載您要用於 DPM 升級之 SQL 執行個體的作用中節點。If this is a SQL Cluster, copy it to the active node hosting the SQL instance you want to use in the DPM upgrade. 您必須先將 DPM 資料庫複製到共用叢集磁碟,才可以還原。Before you can restore the DPM database, you must copy it to the Shared Cluster disk.

  5. 在遠端 SQL Server 上,啟動 Microsoft SQL Management Studio 並連接到您要用於 DPM 升級的 SQL 執行個體。On the Remote SQL Server, start Microsoft SQL Management Studio and connect to the SQL instance you want to use in the DPM upgrade. 如果這是 SQL 叢集,請在您複製 DPM 備份檔案到其中的作用中節點上執行這項操作。If this is a SQL Cluster, do this on the Active node that you copied the DPM backup file to. 備份檔案現在應該位於共用的叢集磁碟。The backup file should now be located on the shared cluster disk.

  6. 以滑鼠右鍵按一下資料庫圖示,然後選取 [還原資料庫] Right-click the Databases icon, then select the Restore Database… 選項。option. 這樣會啟動還原精靈。This starts the restore wizard.

    選取還原資料庫

  7. 選取 [來源] 下的 [裝置] ,然後尋找上一個步驟中複製的資料庫備份檔案,並選取它。Select Device under Source, and then locate the database backup file that was copied in the previous step and select it. 確認還原選項和還原位置,然後選取 [確定] 開始進行還原。Verify the restore options and restore location, and then select OK to start the restore. 修正在還原成功前發生的任何問題。Fix any issue that arise until the restore is successful.

    還原資料庫

  8. 還原完成之後,您將在 [資料庫] 下看到具有原始名稱的還原資料庫。After the restore is complete, the restored database will be seen under Databases with the original name. 在升級期間,會使用此資料庫。This database will be used during the upgrade. 您可以結束 Microsoft SQL Management Studio 並在原始 DPM 伺服器上開始升級程序。You can exit Microsoft SQL Management Studio and start the upgrade process on the original DPM server.

    選取 DPMDB

  9. 如果新的 SQL Server 是遠端 SQL Server,請在 DPM 伺服器上安裝 SQL 管理工具。If the new SQL server is a remote SQL server, install the SQL management tools on the DPM server. SQL 管理工具必須符合裝載 DPMDB 之 SQL Server 的相同版本。The SQL management tools must be the same version matching the SQL server hosting the DPMDB.

開始升級以將 DPMDB 遷移至不同的 SQL ServerStart upgrade to migrate DPMDB to a different SQL Server

注意

如果共用 SQL 執行個體,請依序執行 DPM 安裝 (或升級)。If sharing a SQL instance, run the DPM installations (or upgrades) sequentially. 平行安裝可能會導致錯誤。Parallel installations may cause errors.

  1. 在移轉前的準備步驟都完成之後,開始 DPM 2019 安裝程序。After the pre-migration preparation steps are complete, start the DPM 2019 Installation process. DPM 安裝程式會顯示目前預先填入的 SQL Server 執行個體相關資訊。DPM Setup shows the information about current instance of SQL server pre-populated. 您可以在這裡選取不同的 SQL Server 執行個體,或變更到移轉中使用的叢集 SQL 執行個體。This is where you can select a different instance of SQL server, or change to a Clustered SQL instance used in the migration.

    DPM 安裝程式

  2. 變更 SQL 設定,以使用您還原 DPM 資料庫到其中的 SQL Server 執行個體。Change the SQL Settings to use the instance of SQL server you restored the DPM Database to. 如果是 SQL 叢集,您也必須指定用於 SQL Reporting 的個別 SQL Server 執行個體。If it’s a SQL cluster, you must also specify a separate instance of SQL Server used for SQL reporting. 它會假設防火牆規則和 SQLPrep 已經執行。It's presumed that firewall rules and SQLPrep are already ran. 您必須輸入正確的認證,然後按一下 [檢查並安裝] 按鈕。You have to enter correct credentials and then click the Check and Install button.

    安裝資料庫

  3. 必要條件檢查應該會成功,請按 [下一步] 繼續進行升級。Prerequisite check should succeed, click Next to continue with the upgrade.

    必要條件檢查

  4. 繼續處理精靈選項並完成安裝程式。Continue with the wizard options and complete the setup.

  5. 安裝程式完成之後,指定執行個體上的對應資料庫名稱現在會是 DPMPB_DPMServerName 。After the setup is complete, the corresponding database name on the instance specified will now be DPMPB_DPMServerName. 因為這可能與其他 DPM 伺服器共用,所以 DPM 資料庫的命名慣例現在會是:DPM2016$DPMDB_DPMServerName Because this may be shared with other DPM servers, the naming convention for the DPM database will now be: DPM2016$DPMDB_DPMServerName

新增適用於 Modern Backup Storage 的儲存體Add storage for Modern Backup Storage

為了有效率地儲存備份,DPM 2019 會使用磁碟區。To store backups efficiently, DPM 2019 uses Volumes. 您也可以使用磁碟來持續存放備份。Disks can also be used to continue storing backups.

新增磁碟區與磁碟Add volumes and disks

如果您在 Windows Server 上執行 DPM 2019,亦可使用磁碟區來儲存備份資料。If you run DPM 2019 on Windows Server, you can use volumes to store backup data. 磁碟區可節省儲存空間,備份也更快速。Volumes provide storage savings and faster backups. 您可以為磁碟區指定易記名稱,亦可變更這個名稱。You can give the volume a friendly name, and you can change the name. 您可以在新增磁碟區時套用易記名稱,或稍後選取所需磁碟區的 [易記名稱] 資料行加以套用。You apply the friendly name while adding the volume, or later by selecting the Friendly Name column of the desired volume. 您也可以使用 PowerShell 來新增或變更磁碟區的易記名稱。You can also use PowerShell to add or change friendly names for volumes.

若要新增系統管理員主控台中的磁碟區:To add a volume in the administrator console:

  1. 在 DPM 系統管理員主控台中,選取 [管理] 功能 > [磁碟儲存體] > [新增] 。In the DPM Administrator console, select the Management feature > Disk Storage > Add.

  2. 在 [新增磁碟儲存體] 對話方塊中,選取可用的磁碟區 > 按一下 [新增] > 鍵入磁碟區的易記名稱 > 按一下 [確定] 。In the Add Disk Storage dialog, select an available volume > click Add > type a friendly name for the volume > click OK.

    新增磁碟區

如果您想要新增磁碟,該磁碟必須和繼承儲存體一起屬於保護群組,If you want to add a disk, it must belong to a protection group with legacy storage. 而且磁碟僅可用於這些保護群組。Those disks can only be used for those protection groups. 如果 DPM 伺服器沒有繼承保護的來源,就不會顯示該磁碟。If the DPM server doesn't have sources with legacy protection, the disk won't appear. 如需新增磁碟的詳細資訊,請參閱新增磁碟以增加繼承儲存體主題。See the topic, Adding disks to increase legacy storage, for more information on adding disks. 您無法為磁碟指定易記名稱。You can't give disks a friendly name.

將工作負載指派給磁碟區Assign Workloads to Volumes

DPM 2019 可讓您指定要指派給特定磁碟區的工作負載類型。DPM 2019 allows you to specify the types of workloads to be assigned to specific volumes. 舉例來說,您可將支援高 IOPS 的昂貴磁碟區設定為儲存需要頻繁、大量備份的工作負載,例如含交易記錄的 SQL。For example, expensive volumes that support high IOPS can be configured to store only the workloads that require frequent, high-volume backups like SQL with Transaction logs.

若要更新 DPM 伺服器存放集區中的磁碟區屬性,請使用 Update-DPMDiskStorage 這個 PowerShell Cmdlet。To update the properties of a volume in the storage pool on a DPM server, use the PowerShell cmdlet, Update-DPMDiskStorage.

Update-DPMDiskStorageUpdate-DPMDiskStorage

語法Syntax

Parameter Set: Volume

Update-DPMDiskStorage [-Volume] <Volume> [[-FriendlyName] <String> ] [[-DatasourceType] <VolumeTag[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

UI 會反映您透過 PowerShell 所做的變更。The changes made through PowerShell are reflected in the UI.

將舊有的儲存體遷移至 Modern Backup StorageMigrate legacy storage to Modern Backup Storage

升級至 DPM 2019 並將作業系統升級至 Windows Server 2016/2019 之後,您可以將現有保護群組更新為全新的 DPM 2016 功能。After upgrading to DPM 2019 and the operating system to Windows Server 2016/2019, you can update your existing protection groups to the new DPM 2016 features. 保護群組預設會按照您的舊版 DPM 中的設定繼續運作而不會變更。By default, protection groups are not changed, and continue to function as they were configured in earlier version of your DPM. 您可以選擇性地將保護群組更新為使用 Modern Backup Storage。You can optionally update protection groups to use Modern Backup Storage, is optional. 若要更新保護群組,請以 [保留資料] 選項停止所有資料來源的保護,並將資料來源新增至新的保護群組。To update the protection group, stop protection of all data sources with Retain Data option, and add the data sources to a new protection group. DPM 會開始以新的方式來保護這些資料來源。DPM begins protecting these data sources the new way.

請使用下列步驟:Use the following steps:

  1. 在系統管理員主控台中,選取 [保護] 功能,然後在 [保護群組成員] 清單中,以滑鼠右鍵按一下成員,然後選取 [停止保護成員...] 。In the Administrator Console, select the Protection feature, and in the Protection Group Member list, right-click the member, and select Stop protection of member....

    停止保護

    [從群組移除] 對話方塊隨即開啟。The Remove from Group dialog opens.

  2. 在 [從群組移除] 對話方塊中,檢閱存放集區中的已使用磁碟空間及可用空間。In the Remove from Group dialog, review the used disk space and the available free space in the storage pool. 預設為在磁碟上保留復原點,讓這些復原點依照已與其建立關聯的保留原則自然到期。The default is to leave the recovery points on the disk and allow them to expire per their associated retention policy. 按一下 [確定] 。Click OK.

    如果您想要將已使用的磁碟空間立即返還給可用存放集區,請選取 [刪除磁碟上的複本] 。If you want to immediately return the used disk space to the free storage pool, select Delete replica on disk. 這麼做會刪除已與該成員建立關聯的備份資料 (與復原點)。This will delete the backup data (and recovery points) associated with that member.

    保留資料

  3. 建立使用 Modern Backup Storage 的保護群組,並包含未受保護的資料來源。Create a new protection group that uses Modern Backup Storage, and include the unprotected data sources.

新增磁碟以增加繼承儲存體Add Disks to increase legacy storage

如果您想要搭配使用 DPM 2019 和繼承儲存體,您可能需要新增磁碟以增加繼承儲存體。If you want to use legacy storage with DPM 2019, it may become necessary to add disks to increase legacy storage. 若要新增磁碟儲存體:To add disk storage:

  1. 在系統管理員主控台中,按一下 [管理] 。On the Administrator Console, click Management.

  2. 選取 [磁碟儲存體] 。Select Disk Storage.

  3. 在工具功能區上,按一下 [新增] 。On the tool ribbon click Add.

    [新增磁碟儲存體] 對話方塊隨即開啟。The Add Disk Storage dialog opens.

    新增磁碟

  4. 在 [新增磁碟儲存體] 對話方塊中,按一下 [新增磁碟] 。In the Add Disk Storage dialog, click Add disks.

    DPM 即會提供可用磁碟的清單。DPM provides a list of available disks.

  5. 選取磁碟,按一下 [新增] 以新增磁碟,然後按一下 [確定] 。Select the disks, click Add to add the disks, and click OK.

啟用雲端保護Enable Cloud Protection

您可以將 DPM 伺服器備份至 Azure。You can back up a DPM server to Azure. 高階步驟如下:The high level steps are:

  • 建立 Azure 訂用帳戶,Create an Azure subscription,
  • 向 Azure 備份服務註冊伺服器,Register the server with the Azure Backup service,
  • 下載保存庫認證和 Azure Backup Agent,Download vault credentials and the Azure Backup Agent,
  • 設定伺服器的保存庫認證和備份原則,Configure the server's vault credentials and backup policy,

如需將 DPM 備份至雲端的詳細資訊,請參閱準備使用 DPM 將工作負載備份到 Azure一文。For more information on backing up DPM to the cloud, see the article, Preparing to backup workloads to Azure with DPM.

重要

已不再支援此版本的 Data Protection Manager (DPM),建議升級至 DPM 2019This version of Data Protection Manager (DPM) has reached the end of support, we recommend you to upgrade to DPM 2019.

本文提供 System Center 1807 - Data Protection Manager (DPM) 的升級資訊。This article provides the upgrade information for System Center 1807 - Data Protection Manager (DPM).

更新到 DPM 1807Update to DPM 1807

您只能從 System Center Data Protection Manager (DPM) 1801 版更新 DPM 1807。You can update System Center Data Protection Manager (DPM) version 1807 only from DPM 1801. DPM 1807 是 System Center 半年通道 (SAC) 中的第二個版本。DPM 1807 is the second release in the System Center Semi-Annual Channel (SAC). 如果您想要從 DPM 2016 更新到 DPM 1807,您必須先使用升級 DPM 安裝一文中的步驟來安裝 DPM 1801。If you want to update to DPM 1807 from DPM 2016, you must first install DPM 1801 using the steps in the article Upgrade your DPM installation.

DPM 1807 的升級步驟Update steps for DPM 1807

  1. 若要安裝 DPM,請按兩下 Setup.exe,以開啟 System Center 1807 精靈。To install DPM, double-click Setup.exe to open the System Center 1807 wizard.
  2. 按一下 [安裝] 下方的 Data Protection Manager 以開啟安裝精靈。Under Install, click Data Protection Manager to start the setup wizard. 同意授權條款和條件,並遵循安裝精靈的指示。Agree to the license terms and conditions and follow the setup wizard.

重要

已不再支援此版本的 Data Protection Manager (DPM),建議升級至 DPM 2019This version of Data Protection Manager (DPM) has reached the end of support, we recommend you to upgrade to DPM 2019.

本文提供 System Center 1801 - Data Protection Manager (DPM) 的升級資訊。This article provides the upgrade information for System Center 1801 - Data Protection Manager (DPM).

升級至 DPM 1801Upgrade to DPM 1801

您可以在 Windows Server 2016 或 Windows Server 2012 R2 上安裝 System Center Data Protection Manager (DPM) 1801 版。You can install System Center Data Protection Manager (DPM) version 1801 on Windows Server 2012 R2, or on Windows Server 2016. DPM 1801 是 System Center 半年通道 (SAC) 中的第一個版本。DPM 1801 is the first release in the System Center Semi-Annual Channel (SAC). 您可以從 DPM 2012 R2 更新彙總套件 14 (UR14) 或 DPM 2016 更新彙總套件 4 (UR4) 升級至 DPM 1801。You can upgrade to DPM 1801 from either DPM 2012 R2 Update Rollup 14 (UR14), or from DPM 2016 Update Rollup 4 (UR4). 在升級或安裝 DPM 2016 之前,請先閱讀安裝必要條件Before you upgrade or install DPM 2016, read the Installation prerequisites.

DPM 1801 的升級路徑Upgrade path for DPM 1801

如果您要從 DPM 2012 R2 或 DPM 2016 升級至 DPM 1801,請確定您的安裝具備必要的更新:If you are going to upgrade from DPM 2012 R2 or DPM 2016, to DPM 1801, make sure your installation has the necessary updates:

  • 將 DPM 2012 R2 升級至 DPM 2012 R2 更新彙總套件 14。Upgrade DPM 2012 R2 to DPM 2012 R2 Update Rollup 14. 如果您要從 DPM 2016 升級,請先升級至 DPM 2016 更新彙總套件 4。If you are upgrading from DPM 2016, then first upgrade to DPM 2016 Update Rollup 4. 您可以從 Windows Update 下載更新彙總套件。You can download the Update Rollups from Windows Update.
  • 將 DPM 伺服器升級至 DPM 1801。Upgrade the DPM server to DPM 1801.
  • 更新受保護伺服器上的代理程式。Update the agents on the protected servers.
  • 升級所有實際執行伺服器上的 DPM 遠端系統管理員。Upgrade the DPM Remote Administrator on all production servers.
  • 您不需要重新啟動實際執行伺服器,備份即會繼續。Backups continue without rebooting your production server.

DPM 的升級步驟Upgrade steps for DPM

  1. 若要安裝 DPM,請按兩下 Setup.exe,以開啟 System Center 1801 精靈。To install DPM, double-click Setup.exe to open the System Center 1801 wizard.
  2. 按一下 [安裝] 下方的 Data Protection Manager 以開啟安裝精靈。Under Install, click Data Protection Manager to start the setup wizard. 同意授權條款和條件,並遵循安裝精靈的指示。Agree to the license terms and conditions and follow the setup wizard.

您必須具備 Windows Server 2016,才能使用 Modern Backup Storage 這類 DPM 1801 功能。Some DPM 1801 features, such as Modern Backup Storage, require Windows Server 2016. 您可以在具有 UR14 的 Windows Server 2012 R2 上執行 DPM 1801。You can run DPM 1801 on Windows Server 2012 R2 with UR14. 不過,若要使用 Modern Backup Storage 或 RCT 型 HYPER-V VM 備份等功能,您必須使用 Windows Server 2016。However, to use features such as Modern Backup Storage or RCT-based Hyper-V VM backup, you must use Windows Server 2016. 如需安裝 DPM 的指示,請參閱安裝 DPM 一文。For instructions on installing DPM, see the article, Installing DPM.

在升級期間移轉 DPM 資料庫Migrating the DPM database during upgrade

您可能想在升級過程中移動 DPM 資料庫。You may want to move the DPM Database as part of an upgrade. 例如,您要合併 SQL Server 的執行個體。For example, you are merging instances of SQL Server. 您要移動到功能更強大的遠端 SQL Server。You are moving to a remote more powerful SQL server. 您想要使用 SQL Server 叢集,新增容錯功能,或是想要從遠端 SQL Server 移到本機 SQL Server,反之亦然。You want to add fault tolerance by using a SQL Server cluster; or you want to move from a remote SQL server to a local SQL server or vice versa. DPM 1801 安裝程式可讓您在升級期間,將 DPM 資料庫移轉至不同的 SQL Server。DPM 1801 setup allows you to migrate the DPM database to different SQL Servers during an upgrade.

可能的資料庫移轉案例Possible database migration scenarios

下列狀況會發生於升級 DPM 2012 R2 或 DPM 2016 DPM 1801 時,如果您:The following scenarios exist when upgrading DPM 2012 R2 or DPM 2016 to DPM 1801 using a:

  1. 在安裝期間,使用本機執行個體並移轉至 SQL Server 的遠端執行個體。Local instance and migrating to a remote instance of SQL Server during setup.
  2. 在安裝期間,使用遠端執行個體並移轉至 SQL Server 的本機執行個體。Remote instance and migrating to a local instance of SQL Server during setup.
  3. 在安裝期間,使用本機執行個體並移轉至遠端 SQL Server 伺服器叢集。Local instance and migrating to a remote SQL Server Cluster instance during setup.
  4. 在安裝期間,使用本機執行個體並移轉至不同的 SQL Server 本機執行個體。Local instance and migrating to a different local instance of SQL Server during setup.
  5. 在安裝期間,使用遠端執行個體並移轉至不同的 SQL Server 遠端執行個體。Remote instance and migrating to a different remote instance of SQL Server during setup.
  6. 在安裝期間,使用遠端執行個體並移轉至遠端 SQL Server 伺服器叢集。Remote instance and migrating to a remote SQL Server Cluster instance during setup.

準備資料庫移轉Preparing for a database migration

如果您想要使用新的 SQL Server 來移轉 DPM 資料庫,在升級 DPM 之前,請先確定這兩個 SQL 伺服器具有相同的:If you want to use a new SQL server to migrate the DPM database, before you upgrade DPM, be sure both SQL Servers have the same:

  • SQL Server 需求SQL Server requirements
  • 安裝程式設定Setup configuration
  • 防火牆規則Firewall rules
  • DPM 支援檔案 (sqlprep)DPM Support files (sqlprep)

安裝 SQL Server 的新執行個體並備妥供 DPM 使用之後,您必須備份目前的 DPM 資料庫,並在新的 SQL Server 上還原。Once you have the new instance of SQL Server installed and prepared for DPM use, you must make a backup of the current DPM database and restore it on the new SQL Server.

升級前的步驟︰備份 DPM 2012 R2 DPM 資料庫並還原到新的 SQL 執行個體Pre-upgrade steps: Backup and restore DPM 2012 R2 DPM database to a new SQL instance

此範例會準備用於移轉的遠端 SQL Server 叢集。This example prepares a remote SQL Server cluster to use in a migration.

  1. 在 System Center Data Protection Manager 2012 R2 伺服器或裝載 DPM 資料庫的遠端 SQL Server 上,啟動 Microsoft SQL Management Studio 並連接到裝載目前 DPM 2012 R2 DPMDB 的 SQL 執行個體。On the System Center Data Protection Manager 2012 R2 server or on the remote SQL Server hosting the DPM database, start Microsoft SQL Management Studio and connect to the SQL instance hosting the current DPM 2012 R2 DPMDB.

  2. 以滑鼠右鍵按一下 DPM 資料庫,然後在 [工作] 下,選取 [備份...] Right-click the DPM database, and under Tasks, select the Back Up… 選項。option.

    選取備份

  3. 新增備份目的地及檔案名稱,然後選取 [確定] 開始備份。Add a backup destination and file name, and then select OK to start the backup.

    確認

  4. 備份完成後,請將輸出檔案複製到遠端 SQL Server。After the backup is complete, copy the output file to the remote SQL Server. 如果這是 SQL 叢集,請將它複製到裝載您要用於 DPM 升級之 SQL 執行個體的作用中節點。If this is a SQL Cluster, copy it to the active node hosting the SQL instance you want to use in the DPM upgrade. 您必須先將 DPM 資料庫複製到共用叢集磁碟,才可以還原。Before you can restore the DPM database, you must copy it to the Shared Cluster disk.

  5. 在遠端 SQL Server 上,啟動 Microsoft SQL Management Studio 並連接到您要用於 DPM 升級的 SQL 執行個體。On the Remote SQL Server, start Microsoft SQL Management Studio and connect to the SQL instance you want to use in the DPM upgrade. 如果這是 SQL 叢集,請在您複製 DPM 備份檔案到其中的作用中節點上執行這項操作。If this is a SQL Cluster, do this on the Active node that you copied the DPM backup file to. 備份檔案現在應該位於共用的叢集磁碟。The backup file should now be located on the shared cluster disk.

  6. 以滑鼠右鍵按一下資料庫圖示,然後選取 [還原資料庫] Right-click the Databases icon, then select the Restore Database… 選項。option. 這樣會啟動還原精靈。This starts the restore wizard.

    選取還原資料庫

  7. 選取 [來源] 下的 [裝置] ,然後尋找上一個步驟中複製的資料庫備份檔案,並選取它。Select Device under Source, and then locate the database backup file that was copied in the previous step and select it. 確認還原選項和還原位置,然後選取 [確定] 開始進行還原。Verify the restore options and restore location, and then select OK to start the restore. 修正在還原成功前發生的任何問題。Fix any issue that arise until the restore is successful.

    還原資料庫

  8. 還原完成之後,您將在 [資料庫] 下看到具有原始名稱的還原資料庫。After the restore is complete, the restored database will be seen under the Databases with the original name. 在升級期間,會使用此資料庫。This Database will be used during the upgrade. 您可以結束 Microsoft SQL Management Studio 並在原始 DPM 伺服器上開始升級程序。You can exit Microsoft SQL Management Studio and start the upgrade process on the original DPM Server.

    選取 DPMDB

  9. 如果新的 SQL Server 是遠端 SQL Server,請在 DPM 伺服器上安裝 SQL 管理工具。If the new SQL Server is a remote SQL server, install the SQL management tools on the DPM server. SQL 管理工具必須符合裝載 DPMDB 之 SQL Server 的相同版本。The SQL management tools must be the same version matching the SQL server hosting the DPMDB.

開始升級以將 DPMDB 移轉至不同的 SQL ServerStarting upgrade to migrate DPMDB to a different SQL Server

注意

如果共用 SQL 執行個體,請依序執行 DPM 安裝 (或升級)。If sharing a SQL instance, run the DPM installations (or upgrades) sequentially. 平行安裝可能會導致錯誤。Parallel installations may cause errors.

  1. 在移轉前的準備步驟都完成之後,開始 DPM 2016 安裝程序。After the pre-migration preparation steps are complete, start the DPM 2016 Installation process. DPM 安裝程式會顯示目前預先填入的 SQL Server 執行個體相關資訊。DPM Setup shows the information about current instance of SQL Server pre-populated. 您可以在這裡選取不同的 SQL Server 執行個體,或變更到移轉中使用的叢集 SQL 執行個體。This is where you can select a different instance of SQL Server, or change to a Clustered SQL instance used in the migration.

    DPM 安裝程式

  2. 變更 SQL 設定,以使用您還原 DPM 資料庫到其中的 SQL Server 執行個體。Change the SQL Settings to use the instance of SQL Server you restored the DPM Database to. 如果是 SQL 叢集,您也必須指定用於 SQL Reporting 的個別 SQL Server 執行個體。If it’s a SQL cluster, you must also specify a separate instance of SQL Server used for SQL reporting. 它會假設防火牆規則和 SQLPrep 已經執行。It's presumed that firewall rules and SQLPrep are already ran. 您必須輸入正確的認證,然後按一下 [檢查並安裝] 按鈕。You have to enter correct credentials and then click the Check and Install button.

    安裝資料庫

  3. 必要條件檢查應該會成功,請按 [下一步] 繼續進行升級。Prerequisite check should succeed, press NEXT to continue with the upgrade.

    必要條件檢查

  4. 繼續執行精靈。Continue the wizard.

  5. 安裝程式完成之後,指定執行個體上的對應資料庫名稱現在會是 DPMPB_DPMServerName。After setup is complete, the corresponding database name on the instance specified will now be DPMPB_DPMServerName. 因為這可能與其他 DPM 伺服器共用,所以 DPM 資料庫的命名慣例現在會是 DPM2016$DPMDB_DPMServerNameBecause this may be shared with other DPM servers, the naming convention for the DPM database will now be: DPM2016$DPMDB_DPMServerName

新增適用於 Modern Backup Storage 的存放裝置Adding Storage for Modern Backup Storage

為了有效率地儲存備份,DPM 2016 會使用磁碟區。To store backups efficiently, DPM 2016 uses Volumes. 若是 DPM 2012 R2,您也可以使用磁碟來持續存放備份。Disks can also be used to continue storing backups like DPM 2012 R2.

新增磁碟區與磁碟Add Volumes and Disks

如果您在 Windows Server 上執行 DPM 2016,亦可使用磁碟區來儲存備份資料。If you run DPM 2016 on Windows Server, you can use volumes to store backup data. 磁碟區可節省儲存空間,備份也更快速。Volumes provide storage savings and faster backups. 您可以為磁碟區指定易記名稱,亦可變更這個名稱。You can give the volume a friendly name, and you can change the name. 您可以在新增磁碟區時套用易記名稱,或稍後按一下所需磁碟區的 [易記名稱] 資料行以套用。You apply the friendly name while adding the volume, or later by clicking the Friendly Name column of the desired volume. 您也可以使用 PowerShell 來新增或變更磁碟區的易記名稱。You can also use PowerShell to add or change friendly names for volumes.

若要新增系統管理員主控台中的磁碟區:To add a volume in the administrator console:

  1. 在 DPM 系統管理員主控台中,選取 [管理] 功能 > [磁碟儲存體] > [新增] 。In the DPM Administrator console, select the Management feature > Disk Storage > Add.

  2. 在 [新增磁碟儲存體] 對話方塊中,選取可用的磁碟區 > 按一下 [新增] > 鍵入磁碟區的易記名稱 > 按一下 [確定] 。In the Add Disk Storage dialog, select an available volume > click Add > type a friendly name for the volume > click OK.

    新增磁碟區

如果您想要新增磁碟,該磁碟必須和繼承儲存體一起屬於保護群組,If you want to add a disk, it must belong to a protection group with legacy storage. 而且磁碟僅可用於這些保護群組。Those disks can only be used for those protection groups. 如果 DPM 伺服器沒有繼承保護的來源,就不會顯示該磁碟。If the DPM server doesn't have sources with legacy protection, the disk won't appear. 如需新增磁碟的詳細資訊,請參閱新增磁碟以增加繼承儲存體主題。See the topic, Adding disks to increase legacy storage, for more information on adding disks. 您無法為磁碟指定易記名稱。You can't give disks a friendly name.

將工作負載指派給磁碟區Assign Workloads to Volumes

DPM 2016 可讓使用者指定要將哪些類型的工作負載指派給哪些磁碟區。DPM 2016 allows the user to specify which kinds of workloads should be assigned to which volumes. 舉例來說,您可將支援高 IOPS 的昂貴磁碟區設定為儲存需要頻繁、大量備份的工作負載,例如含交易記錄檔的 SQL。For example, expensive volumes that support high IOPS can be configured to store only the workloads that require frequent, high-volume backups like SQL with Transaction Logs. 若要更新 DPM 伺服器存放集區中的磁碟區屬性,請使用 Update-DPMDiskStorage 這個 PowerShell Cmdlet。To update the properties of a volume in the storage pool on a DPM server, use the PowerShell cmdlet, Update-DPMDiskStorage.

Update-DPMDiskStorageUpdate-DPMDiskStorage

語法Syntax

Parameter Set: Volume

Update-DPMDiskStorage [-Volume] <Volume> [[-FriendlyName] <String> ] [[-DatasourceType] <VolumeTag[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

UI 會反映您透過 PowerShell 所做的變更。The changes made through PowerShell are reflected in the UI.

保護資料來源Protecting Data Sources

若要開始保護資料來源,請建立保護群組。To begin protecting data sources, create a Protection Group. 下列程序會醒目顯示 [新增保護群組精靈] 的變更或新增項目。The following procedure highlights changes or additions to the New Protection Group wizard.

若要建立保護群組:To create a Protection Group:

  1. 在 DPM 系統管理員主控台中,選取 [保護] 功能。In the DPM Administrator Console, select the Protection feature.

  2. 在工具功能區上,按一下 [新增] 。On the tool ribbon, click New.

    [建立新保護群組精靈] 隨即開啟。The Create new Protection Group wizard opens.

    建立保護群組

  3. 按一下 [下一步] ,前進至精靈的 [選取保護群組類型] 畫面。Click Next to advance the wizard to the Select Protection Group Type screen.

  4. 在 [選取保護群組類型] 畫面中,選取要建立的保護群組類型,然後按一下 [下一步] 。On the Select Protection Group Type screen, select the type of Protection Group to be created and then click Next.

    選擇伺服器或用戶端

  5. 在 [選擇群組成員] 畫面的 [可用成員] 窗格中,DPM 會列出具有保護代理程式的成員。On the Select Group Members screen, in the Available members pane, DPM lists the members with protection agents. 基於此範例的用途,請選取磁碟區 D:\ 和 E:\ 並將其新增至 [選取的成員] 窗格。For the purposes of this example, select volume D:\ and E:\ to add them to the Selected members pane. 在選取保護群組的成員之後,請按一下 [下一步] 。Once you have chosen the members for the protection group, click Next.

    選取保護群組的群組成員

  6. 在 [選擇資料保護方式] 畫面中,輸入保護群組的名稱,再選取保護方法,然後按一下 [下一步] 。On the Select Data Protection Method screen, type a name for the Protection group, select the protection method(s) and click Next. 如果您想要短期保護,就必須使用磁碟備份。If you want short term protection, you must use Disk backup.

    選擇資料保護方式

  7. 在 [指定短期目標] 畫面中,指定 [保留範圍] 和 [同步處理頻率] 的詳細資料,然後按一下 [下一步] 。On the Specify Short-Term Goals screen specify the details for Retention Range and Synchronization Frequency, and click Next. 如有需要,可在取得復原點時,按一下 [修改] 以變更排程。If desired, click Modify to change the schedule when recovery points are taken.

    選擇資料保護方式

  8. [檢閱磁碟儲存體配置] 畫面會提供所選資料來源、大小、要佈建的空間目標存放磁碟區的詳細資料。The Review Disk Storage Allocation screen provides details about the selected data sources, their size, the Space to be Provisioned, and Target Storage Volume.

    檢閱磁碟儲存體配置

    存放磁碟區是由工作負載的磁碟區配置 (使用 PowerShell 設定) 和可用的儲存體而定。The storage volumes are determined based on the workload volume allocation (set using PowerShell) and the available storage. 您可以從下拉式選單中,選取其他磁碟區以變更存放磁碟區。You can change the storage volumes by selecting other volumes from the drop-down menu. 如果您變更 [目標儲存體] ,[可用的磁碟儲存體] 即會動態變更,以反映 [可用空間] 和 [仍需佈建的空間] 的變化。If you change the Target Storage, the Available disk storage dynamically changes to reflect the Free Space and Underprovisioned Space.

    [可用的磁碟儲存體] 中的[仍需佈建的空間] 資料行 ,會反映當資料來源按計劃增長時所需的額外儲存容量。The Underprovisioned Space column in Available disk storage, reflects the amount of additional storage needed if the data sources grow as planned. 您可以使用這個值來協助規劃儲存體的需求,以確保備份順利。Use this value to help plan your storage needs to enable smooth backups. 如果值為零,表示在可預見的未來中都不會有任何潛在的儲存問題。If the value is zero, then there are no potential problems with storage in the foreseeable future. 如果值為非零的數字,表示從您的保護原則和受保護成員的資料大小來看,您的儲存空間配置不足。If the value is a number other than zero, then you do not have sufficient storage allocated - based on your protection policy and the data size of your protected members.

    配置不足的磁碟儲存體

[新增保護群組精靈] 的其餘部分與 DPM 2012 R2 相同。The remainder of the New Protection Group wizard is unchanged from DPM 2012 R2. 請繼續執行精靈以完成建立新的保護群組。Continue through the wizard to complete creation of your new protection group.

將舊有的存放裝置移轉至 Modern Backup StorageMigrating legacy storage to Modern Backup Storage

將 DPM 2012 R2 升級至 DPM 2016 並將作業系統升級至 Windows Server 2016 之後,您可以將現有保護群組更新為全新的 DPM 2016 功能。After upgrading DPM 2012 R2 to DPM 2016 and the operating system to Windows Server 2016, you can update your existing protection groups to the new DPM 2016 features. 保護群組預設會按照 DPM 2012 R2 中的設定繼續運作而不會變更。By default, protection groups are not changed, and continue to function as they were configured in DPM 2012 R2. 您可以選擇性地將保護群組更新為使用 Modern Backup Storage。Updating protection groups to use Modern Backup Storage is optional. 若要更新保護群組,請以 [保留資料] 停止所有資料來源的保護,並將資料來源新增至新的保護群組。To update the protection group, stop protection of all data sources with Retain Data, and add the data sources to a new protection group. DPM 會開始以新的方式來保護這些資料來源。DPM begins protecting these data sources the new way.

  1. 在系統管理員主控台中,選取 [保護] 功能,然後在 [保護群組成員] 清單中,以滑鼠右鍵按一下成員,然後選取 [停止保護成員...] 。In the Administrator Console, select the Protection feature, and in the Protection Group Member list, right-click the member, and select Stop protection of member....

    停止保護

    [從群組移除] 對話方塊隨即開啟。The Remove from Group dialog opens.

  2. 在 [從群組移除] 對話方塊中,檢閱存放集區中的已使用磁碟空間及可用空間。In the Remove from Group dialog, review the used disk space and the available free space in the storage pool. 預設為在磁碟上保留復原點,讓這些復原點依照已與其建立關聯的保留原則自然到期。The default is to leave the recovery points on the disk and allow them to expire per their associated retention policy. 按一下 [確定] 。Click OK.

    如果您想要將已使用的磁碟空間立即返還給可用存放集區,請選取 [刪除磁碟上的複本] 。If you want to immediately return the used disk space to the free storage pool, select Delete replica on disk. 這麼做會刪除已與該成員建立關聯的備份資料 (與復原點)。This will delete the backup data (and recovery points) associated with that member.

    保留資料

  3. 建立使用 Modern Backup Storage 的保護群組,並包含未受保護的資料來源。Create a new protection group that uses Modern Backup Storage, and include the unprotected data sources.

新增磁碟以增加繼承儲存體Adding Disks to increase legacy storage

如果您想要搭配使用 DPM 2016 和繼承儲存體,您可能需要新增磁碟以增加繼承儲存體。If you want to use legacy storage with DPM 2016, it may become necessary to add disks to increase legacy storage. 若要新增磁碟儲存體:To add disk storage:

  1. 在系統管理員主控台中,按一下 [管理] 。On the Administrator Console, click Management.

  2. 選取 [磁碟儲存體] 。Select Disk Storage.

  3. 在工具功能區上,按一下 [新增] 。On the tool ribbon click Add.

    [新增磁碟儲存體] 對話方塊隨即開啟。The Add Disk Storage dialog opens.

    新增磁碟

  4. 在 [新增磁碟儲存體] 對話方塊中,按一下 [新增磁碟] 。In the Add Disk Storage dialog, click Add disks.

    DPM 即會提供可用磁碟的清單。DPM provides a list of available disks.

  5. 選取磁碟,按一下 [新增] 以新增磁碟,然後按一下 [確定] 。Select the disks, click Add to add the disks, and click OK.

新的 PowerShell CmdletNew PowerShell cmdlets

針對 DPM 2016,有兩個新的 Cmdlet 可供使用︰Mount-DPMRecoveryPointDismount-DPMRecoveryPointFor DPM 2016, two new cmdlets: Mount-DPMRecoveryPoint and Dismount-DPMRecoveryPoint are available. 按一下 Cmdlet 名稱以查看其參考文件。Click the cmdlet name to see its reference documentation.

啟用雲端保護Enable Cloud Protection

您可以將 DPM 伺服器備份至 Azure。You can back up a DPM server to Azure. 高階步驟如下:The high level steps are:

  • 建立 Azure 訂用帳戶create an Azure subscription,
  • 向 Azure 備份服務註冊伺服器register the server with the Azure Backup service,
  • 下載保存庫認證和 Azure Backup Agentdownload vault credentials and the Azure Backup Agent,
  • 設定伺服器的保存庫認證和備份原則configure the server's vault credentials and backup policy,

如需將 DPM 備份至雲端的詳細資訊,請參閱準備使用 DPM 將工作負載備份到 Azure一文。For more information on backing up DPM to the cloud, see the article, Preparing to backup workloads to Azure with DPM.

本文提供 System Center 2016 - Data Protection Manager (DPM) 的升級資訊。This article provides the upgrade information for System Center 2016 - Data Protection Manager (DPM).

升級至 DPM 2016Upgrade to DPM 2016

您可以在 Windows Server 2012 R2 或 Windows Server 2016 上安裝 DPM 2016。You can install DPM 2016 on Windows Server 2012 R2, or on Windows Server 2016. 如果您要在 Windows Server 2012 R2 安裝 DPM 2016,您必須從 DPM 2012 R2 更新彙總套件 10 或更新版本升級現有的 DPM 安裝。If you are installing DPM 2016 on Windows Server 2012 R2, you must upgrade an existing DPM installation from DPM 2012 R2 with Update Rollup 10 or greater. 在升級或安裝 DPM 2016 之前,請先閱讀安裝必要條件Before you upgrade or install DPM 2016, please read the Installation prerequisites.

DPM 2016 的升級路徑Upgrade path for DPM 2016

如果您要從舊版的 DPM 升級至 DPM 2016,請確定您的安裝具備必要的更新:If you are going to upgrade from a previous version of DPM to DPM 2016, make sure your installation has the necessary updates:

  • 將 DPM 2012 R2 升級至 DPM 2012 R2 更新彙總套件 10。Upgrade DPM 2012 R2 to DPM 2012 R2 Update Rollup 10. 您可以從 Windows Update 取得更新彙總套件。You can obtain the Update Rollups from Windows Update.
  • 將 DPM 2012 R2 更新彙總套件 10 升級至 DPM 2016。Upgrade DPM 2012 R2 Update Rollup 10 to DPM 2016.
  • 更新受保護伺服器上的代理程式。Update the agents on the protected servers.
  • 將 Windows Server 2012 R2 升級到 Windows Server 2016。Upgrade Windows Server 2012 R2 to Windows Server 2016.
  • 升級所有實際執行伺服器上的 DPM 遠端系統管理員。Upgrade DPM Remote Administrator on all production servers.
  • 您不需要重新啟動實際執行伺服器,備份即會繼續。Backups will continue without rebooting your production server.

DPM 的升級步驟Upgrade steps for DPM

  1. 若要安裝 DPM,請按兩下 Setup.exe,以開啟 [System Center 2016 精靈]。To install DPM, double-click Setup.exe to open the System Center 2016 Wizard.
  2. 按一下 [安裝] 下方的 [Data Protection Manager]。Under Install, click Data Protection Manager. 即會啟動安裝程式。This starts Setup. 同意授權條款和條件,並遵循安裝精靈的指示。Agree to the license terms and conditions and follow the setup wizard.

您必須具備 Windows Server 2016 RTM 組建,才能使用 Modern Backup Storage 這類 DPM 2016 功能。Some DPM 2016 features, such as Modern Backup Storage, require the Windows Server 2016 RTM build. 您可以從執行於 Windows Server 2012 R2 上的 DPM 2012 R2 升級至 DPM 2016。It is possible to upgrade DPM 2016 from DPM 2012 R2, running on Windows Server 2012 R2. 不過,Microsoft 建議您在 Windows Server 2016 RTM 的全新安裝上安裝 DPM 2016,因為接收 DPM 2016 的客戶會需要最新的功能。However, customers receiving DPM 2016 will want the latest features, so Microsoft recommends installing DPM 2016 on a new installation of Windows Server 2016 RTM. 如需安裝 DPM 的指示,請參閱安裝 DPM 2016 一文。For instructions on installing DPM, see the article, Installing DPM 2016.

在升級期間移轉 DPM 資料庫Migrating the DPM database during upgrade

您可能想在升級過程中移動 DPM 資料庫。You may want to move the DPM Database as part of an upgrade. 例如,您要合併 SQL Server 的執行個體。For example, you are merging instances of SQL Server. 您要移動到功能更強大的遠端 SQL Server。You are moving to a remote more powerful SQL server. 您想要使用 SQL Server 叢集,新增容錯功能,或是想要從遠端 SQL Server 移到本機 SQL Server,反之亦然。You want to add fault tolerance by using a SQL Server cluster; or you want to move from a remote SQL server to a local SQL server or vice versa. DPM 2016 安裝程式可讓您在升級期間,將 DPM 資料庫移轉至不同的 SQL Server。DPM 2016 setup allows you to migrate the DPM database to different SQL Servers during an upgrade.

可能的資料庫移轉案例Possible database migration scenarios

  1. 使用本機執行個體升級 DPM 2012 R2,並在安裝期間移轉至 SQL Server 的遠端執行個體。Upgrading DPM 2012 R2 using a local instance and migrating to a remote instance of SQL Server during setup.
  2. 使用遠端執行個體升級 DPM 2012 R2,並在安裝期間移轉至 SQL Server 的本機執行個體。Upgrading DPM 2012 R2 using a remote instance and migrating to a local instance of SQL Server during setup.
  3. 使用本機執行個體升級 DPM 2012 R2,並在安裝期間移轉至 SQL Server 叢集的遠端執行個體。Upgrading DPM 2012 R2 using a local instance and migrating to a remote SQL Server Cluster instance during setup.
  4. 使用本機執行個體升級 DPM 2012 R2,並在安裝期間移轉至不同的 SQL Server 本機執行個體。Upgrading DPM 2012 R2 using a local instance and migrating to a different local instance of SQL Server during setup.
  5. 使用遠端執行個體升級 DPM 2012 R2,並在安裝期間移轉至不同的 SQL Server 遠端執行個體。Upgrading DPM 2012 R2 using a remote instance and migrating to a different remote instance of SQL Server during setup.
  6. 使用遠端執行個體升級 DPM 2012 R2,並在安裝期間移轉至 SQL Server 叢集的遠端執行個體。Upgrading DPM 2012 R2 using a remote instance and migrating to a remote SQL Server Cluster instance during setup.

準備資料庫移轉Preparing for a database migration

您要用來移轉 DPM 資料庫的新 SQL Server 必須先安裝相同的 SQL Server 需求、安裝程式設定、防火牆規則和 DPM 支援檔案 (sqlprep),然後才執行 DPM 升級。The new SQL Server that you want to use to migrate the DPM database to must have the same SQL Server requirements, setup configuration, firewall rules, and DPM Support files (sqlprep) installed before performing the DPM Upgrade.

安裝 SQL Server 的新執行個體並經過處理以便 DPM 使用之後,您必須備份目前的 DPM 2012 R2 UR10 KB3143871 (4.2.1473.0) 或更新的資料庫,並在新的 SQL Server 上還原。Once you have the new instance of SQL Server installed and prepped for being used by DPM, you must make a backup of the current DPM 2012 R2 UR10 KB3143871 (4.2.1473.0) or a later database and restore it on the new SQL Server.

升級前的步驟︰備份 DPM 2012 R2 DPM 資料庫並還原到新的 SQL 執行個體Pre-upgrade steps: Backup and restore DPM 2012 R2 DPM database to a new SQL instance

在此範例中,我們會準備遠端 SQL Server 叢集以便用於移轉。In this example, we will prepare a remote SQL Server cluster to use for the migration.

  1. 在 System Center Data Protection Manager 2012 R2 伺服器或裝載 DPM 資料庫的遠端 SQL Server 上,啟動 Microsoft SQL Management Studio 並連接到裝載目前 DPM 2012 R2 DPMDB 的 SQL 執行個體。On the System Center Data Protection Manager 2012 R2 server or on the remote SQL Server hosting the DPM database, start Microsoft SQL Management Studio and connect to the SQL instance hosting the current DPM 2012 R2 DPMDB.

  2. 以滑鼠右鍵按一下 DPM 資料庫,然後在 [工作] 下,選取 [備份...] Right-click the DPM database, and under Tasks, select the Back Up… 選項。option.

    選取備份

  3. 新增備份目的地及檔案名稱,然後選取 [確定] 開始備份。Add a backup destination and file name, and then select OK to start the backup.

    確認

  4. 備份完成後,請將輸出檔案複製到遠端 SQL Server。After the backup is complete, copy the output file to the remote SQL Server. 如果這是 SQL 叢集,請將它複製到裝載您要用於 DPM 升級之 SQL 執行個體的作用中節點。If this is a SQL Cluster, copy it to the active node hosting the SQL instance you want to use in the DPM upgrade. 您必須先將它複製到共用叢集磁碟,才能還原。You have to copy it to the Shared Cluster disk before you can restore it.

  5. 在遠端 SQL Server 上,啟動 Microsoft SQL Management Studio 並連接到您要用於 DPM 升級的 SQL 執行個體。On the Remote SQL Server, start Microsoft SQL Management Studio and connect to the SQL instance you want to use in the DPM upgrade. 如果這是 SQL 叢集,請在您複製 DPM 備份檔案到其中的作用中節點上執行這項操作。If this is a SQL Cluster, do this on the Active node that you copied the DPM backup file to. 備份檔案現在應該位於共用的叢集磁碟。The backup file should now be located on the shared cluster disk.

  6. 以滑鼠右鍵按一下資料庫圖示,然後選取 [還原資料庫] Right-click the Databases icon, then select the Restore Database… 選項。option. 這樣會啟動還原精靈。This starts the restore wizard.

    選取還原資料庫

  7. 選取 [來源] 下的 [裝置] ,然後尋找上一個步驟中複製的資料庫備份檔案,並選取它。Select Device under Source, and then locate the database backup file that was copied in the previous step and select it. 確認還原選項和還原位置,然後選取 [確定] 開始進行還原。Verify the restore options and restore location, and then select OK to start the restore. 修正在還原成功前發生的任何問題。Fix any issue that arise until the restore is successful.

    還原資料庫

  8. 還原完成之後,您將在 [資料庫] 下看到具有原始名稱的還原資料庫。After the restore is complete, the restored database will be seen under the Databases with the original name. 在升級期間,會使用此資料庫。This Database will be used during the upgrade. 您可以結束 Microsoft SQL Management Studio 並在原始 DPM 伺服器上開始升級程序。You can exit Microsoft SQL Management Studio and start the upgrade process on the original DPM Server.

    選取 DPMDB

  9. 如果新的 SQL Server 是遠端 SQL Server,請在 DPM 伺服器上安裝 SQL 管理工具。If the new SQL Server is a remote SQL server, install the SQL management tools on the DPM server. SQL 管理工具必須符合裝載 DPMDB 之 SQL Server 的相同版本。The SQL management tools must be the same version matching the SQL server hosting the DPMDB.

開始升級以將 DPMDB 移轉至不同的 SQL ServerStarting upgrade to migrate DPMDB to a different SQL Server

注意

如果共用 SQL 執行個體,請依序執行 DPM 安裝 (或升級)。If sharing a SQL instance, run the DPM installations (or upgrades) sequentially. 平行安裝可能會導致錯誤。Parallel installations may cause errors.

  1. 在移轉前的準備步驟都完成之後,開始 DPM 2016 安裝程序。After the pre-migration preparation steps are complete, start the DPM 2016 Installation process. DPM 安裝程式會顯示目前預先填入的 SQL Server 執行個體相關資訊。DPM Setup shows the information about current instance of SQL Server pre-populated. 您可以在這裡選取不同的 SQL Server 執行個體,或變更到移轉中使用的叢集 SQL 執行個體。This is where you can select a different instance of SQL Server, or change to a Clustered SQL instance used in the migration.

    DPM 安裝程式

  2. 變更 SQL 設定,以使用您還原 DPM 資料庫到其中的 SQL Server 執行個體。Change the SQL Settings to use the instance of SQL Server you restored the DPM Database to. 如果是 SQL 叢集,您也必須指定用於 SQL Reporting 的個別 SQL Server 執行個體。If it’s a SQL cluster, you must also specify a separate instance of SQL Server used for SQL reporting. 它會假設防火牆規則和 SQLPrep 已經執行。It's presumed that firewall rules and SQLPrep are already ran. 您必須輸入正確的認證,然後按一下 [檢查並安裝] 按鈕。You have to enter correct credentials and then click the Check and Install button.

    安裝資料庫

  3. 必要條件檢查應該會成功,請按 [下一步] 繼續進行升級。Prerequisite check should succeed, press NEXT to continue with the upgrade.

    必要條件檢查

  4. 繼續執行精靈。Continue the wizard.

  5. 安裝程式完成之後,指定執行個體上的對應資料庫名稱現在會是 DPMPB_DPMServerName。After setup is complete, the corresponding database name on the instance specified will now be DPMPB_DPMServerName. 因為這可能與其他 DPM 伺服器共用,所以 DPM 資料庫的命名慣例現在會是 DPM2016$DPMDB_DPMServerNameBecause this may be shared with other DPM servers, the naming convention for the DPM database will now be: DPM2016$DPMDB_DPMServerName

新增適用於 Modern Backup Storage 的存放裝置Adding Storage for Modern Backup Storage

為了有效率地儲存備份,DPM 2016 會使用磁碟區。To store backups efficiently, DPM 2016 uses Volumes. 若是 DPM 2012 R2,您也可以使用磁碟來持續存放備份。Disks can also be used to continue storing backups like DPM 2012 R2.

新增磁碟區與磁碟Add Volumes and Disks

如果您在 Windows Server 上執行 DPM 2016,亦可使用磁碟區來儲存備份資料。If you run DPM 2016 on Windows Server, you can use volumes to store backup data. 磁碟區可節省儲存空間,備份也更快速。Volumes provide storage savings and faster backups. 您可以為磁碟區指定易記名稱,亦可變更這個名稱。You can give the volume a friendly name, and you can change the name. 您可以在新增磁碟區時套用易記名稱,或稍後按一下所需磁碟區的 [易記名稱] 資料行以套用。You apply the friendly name while adding the volume, or later by clicking the Friendly Name column of the desired volume. 您也可以使用 PowerShell 來新增或變更磁碟區的易記名稱。You can also use PowerShell to add or change friendly names for volumes.

若要新增系統管理員主控台中的磁碟區:To add a volume in the administrator console:

  1. 在 DPM 系統管理員主控台中,選取 [管理] 功能 > [磁碟儲存體] > [新增] 。In the DPM Administrator console, select the Management feature > Disk Storage > Add.

  2. 在 [新增磁碟儲存體] 對話方塊中,選取可用的磁碟區 > 按一下 [新增] > 鍵入磁碟區的易記名稱 > 按一下 [確定] 。In the Add Disk Storage dialog, select an available volume > click Add > type a friendly name for the volume > click OK.

    新增磁碟區

如果您想要新增磁碟,該磁碟必須和繼承儲存體一起屬於保護群組,If you want to add a disk, it must belong to a protection group with legacy storage. 而且磁碟僅可用於這些保護群組。Those disks can only be used for those protection groups. 如果 DPM 伺服器沒有繼承保護的來源,就不會顯示該磁碟。If the DPM server doesn't have sources with legacy protection, the disk won't appear. 如需新增磁碟的詳細資訊,請參閱新增磁碟以增加繼承儲存體主題。See the topic, Adding disks to increase legacy storage, for more information on adding disks. 您無法為磁碟指定易記名稱。You can't give disks a friendly name.

將工作負載指派給磁碟區Assign Workloads to Volumes

DPM 2016 可讓使用者指定要將哪些類型的工作負載指派給哪些磁碟區。DPM 2016 allows the user to specify which kinds of workloads should be assigned to which volumes. 舉例來說,您可將支援高 IOPS 的昂貴磁碟區設定為儲存需要頻繁、大量備份的工作負載,例如含交易記錄檔的 SQL。For example, expensive volumes that support high IOPS can be configured to store only the workloads that require frequent, high-volume backups like SQL with Transaction Logs. 若要更新 DPM 伺服器存放集區中的磁碟區屬性,請使用 Update-DPMDiskStorage 這個 PowerShell Cmdlet。To update the properties of a volume in the storage pool on a DPM server, use the PowerShell cmdlet, Update-DPMDiskStorage.

Update-DPMDiskStorageUpdate-DPMDiskStorage

語法Syntax

Parameter Set: Volume

Update-DPMDiskStorage [-Volume] <Volume> [[-FriendlyName] <String> ] [[-DatasourceType] <VolumeTag[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

UI 會反映您透過 PowerShell 所做的變更。The changes made through PowerShell are reflected in the UI.

保護資料來源Protecting Data Sources

若要開始保護資料來源,請建立保護群組。To begin protecting data sources, create a Protection Group. 下列程序會醒目顯示 [新增保護群組精靈] 的變更或新增項目。The following procedure highlights changes or additions to the New Protection Group wizard.

若要建立保護群組:To create a Protection Group:

  1. 在 DPM 系統管理員主控台中,選取 [保護] 功能。In the DPM Administrator Console, select the Protection feature.

  2. 在工具功能區上,按一下 [新增] 。On the tool ribbon, click New.

    [建立新保護群組精靈] 隨即開啟。The Create new Protection Group wizard opens.

    建立保護群組

  3. 按一下 [下一步] ,前進至精靈的 [選取保護群組類型] 畫面。Click Next to advance the wizard to the Select Protection Group Type screen.

  4. 在 [選取保護群組類型] 畫面中,選取要建立的保護群組類型,然後按一下 [下一步] 。On the Select Protection Group Type screen, select the type of Protection Group to be created and then click Next.

    選擇伺服器或用戶端

  5. 在 [選擇群組成員] 畫面的 [可用成員] 窗格中,DPM 會列出具有保護代理程式的成員。On the Select Group Members screen, in the Available members pane, DPM lists the members with protection agents. 基於此範例的用途,請選取磁碟區 D:\ 和 E:\ 並將其新增至 [選取的成員] 窗格。For the purposes of this example, select volume D:\ and E:\ to add them to the Selected members pane. 在選取保護群組的成員之後,請按一下 [下一步] 。Once you have chosen the members for the protection group, click Next.

    選取保護群組的群組成員

  6. 在 [選擇資料保護方式] 畫面中,輸入保護群組的名稱,再選取保護方法,然後按一下 [下一步] 。On the Select Data Protection Method screen, type a name for the Protection group, select the protection method(s) and click Next. 如果您想要短期保護,就必須使用磁碟備份。If you want short term protection, you must use Disk backup.

    選擇資料保護方式

  7. 在 [指定短期目標] 畫面中,指定 [保留範圍] 和 [同步處理頻率] 的詳細資料,然後按一下 [下一步] 。On the Specify Short-Term Goals screen specify the details for Retention Range and Synchronization Frequency, and click Next. 如有需要,可在取得復原點時,按一下 [修改] 以變更排程。If desired, click Modify to change the schedule when recovery points are taken.

    選擇資料保護方式

  8. [檢閱磁碟儲存體配置] 畫面會提供所選資料來源、大小、要佈建的空間目標存放磁碟區的詳細資料。The Review Disk Storage Allocation screen provides details about the selected data sources, their size, the Space to be Provisioned, and Target Storage Volume.

    檢閱磁碟儲存體配置

    存放磁碟區是由工作負載的磁碟區配置 (使用 PowerShell 設定) 和可用的儲存體而定。The storage volumes are determined based on the workload volume allocation (set using PowerShell) and the available storage. 您可以從下拉式選單中,選取其他磁碟區以變更存放磁碟區。You can change the storage volumes by selecting other volumes from the drop-down menu. 如果您變更 [目標儲存體] ,[可用的磁碟儲存體] 即會動態變更,以反映 [可用空間] 和 [仍需佈建的空間] 的變化。If you change the Target Storage, the Available disk storage dynamically changes to reflect the Free Space and Underprovisioned Space.

    [可用的磁碟儲存體] 中的[仍需佈建的空間] 資料行 ,會反映當資料來源按計劃增長時所需的額外儲存容量。The Underprovisioned Space column in Available disk storage, reflects the amount of additional storage needed if the data sources grow as planned. 您可以使用這個值來協助規劃儲存體的需求,以確保備份順利。Use this value to help plan your storage needs to enable smooth backups. 如果值為零,表示在可預見的未來中都不會有任何潛在的儲存問題。If the value is zero, then there are no potential problems with storage in the foreseeable future. 如果值為非零的數字,表示從您的保護原則和受保護成員的資料大小來看,您的儲存空間配置不足。If the value is a number other than zero, then you do not have sufficient storage allocated - based on your protection policy and the data size of your protected members.

    配置不足的磁碟儲存體

[新增保護群組精靈] 的其餘部分與 DPM 2012 R2 相同。The remainder of the New Protection Group wizard is unchanged from DPM 2012 R2. 請繼續執行精靈以完成建立新的保護群組。Continue through the wizard to complete creation of your new protection group.

將舊有的存放裝置移轉至 Modern Backup StorageMigrating legacy storage to Modern Backup Storage

將 DPM 2012 R2 升級至 DPM 2016 並將作業系統升級至 Windows Server 2016 之後,您可以將現有保護群組更新為全新的 DPM 2016 功能。After upgrading DPM 2012 R2 to DPM 2016 and the operating system to Windows Server 2016, you can update your existing protection groups to the new DPM 2016 features. 保護群組預設會按照 DPM 2012 R2 中的設定繼續運作而不會變更。By default, protection groups are not changed, and continue to function as they were configured in DPM 2012 R2. 您可以選擇性地將保護群組更新為使用 Modern Backup Storage。Updating protection groups to use Modern Backup Storage is optional. 若要更新保護群組,請以 [保留資料] 停止所有資料來源的保護,並將資料來源新增至新的保護群組。To update the protection group, stop protection of all data sources with Retain Data, and add the data sources to a new protection group. DPM 會開始以新的方式來保護這些資料來源。DPM begins protecting these data sources the new way.

  1. 在系統管理員主控台中,選取 [保護] 功能,然後在 [保護群組成員] 清單中,以滑鼠右鍵按一下成員,然後選取 [停止保護成員...] 。In the Administrator Console, select the Protection feature, and in the Protection Group Member list, right-click the member, and select Stop protection of member....

    停止保護

    [從群組移除] 對話方塊隨即開啟。The Remove from Group dialog opens.

  2. 在 [從群組移除] 對話方塊中,檢閱存放集區中的已使用磁碟空間及可用空間。In the Remove from Group dialog, review the used disk space and the available free space in the storage pool. 預設為在磁碟上保留復原點,讓這些復原點依照已與其建立關聯的保留原則自然到期。The default is to leave the recovery points on the disk and allow them to expire per their associated retention policy. 按一下 [確定] 。Click OK.

    如果您想要將已使用的磁碟空間立即返還給可用存放集區,請選取 [刪除磁碟上的複本] 。If you want to immediately return the used disk space to the free storage pool, select Delete replica on disk. 這麼做會刪除已與該成員建立關聯的備份資料 (與復原點)。This will delete the backup data (and recovery points) associated with that member.

    保留資料

  3. 建立使用 Modern Backup Storage 的保護群組,並包含未受保護的資料來源。Create a new protection group that uses Modern Backup Storage, and include the unprotected data sources.

新增磁碟以增加繼承儲存體Adding Disks to increase legacy storage

如果您想要搭配使用 DPM 2016 和繼承儲存體,您可能需要新增磁碟以增加繼承儲存體。If you want to use legacy storage with DPM 2016, it may become necessary to add disks to increase legacy storage. 若要新增磁碟儲存體:To add disk storage:

  1. 在系統管理員主控台中,按一下 [管理] 。On the Administrator Console, click Management.

  2. 選取 [磁碟儲存體] 。Select Disk Storage.

  3. 在工具功能區上,按一下 [新增] 。On the tool ribbon click Add.

    [新增磁碟儲存體] 對話方塊隨即開啟。The Add Disk Storage dialog opens.

    新增磁碟

  4. 在 [新增磁碟儲存體] 對話方塊中,按一下 [新增磁碟] 。In the Add Disk Storage dialog, click Add disks.

    DPM 即會提供可用磁碟的清單。DPM provides a list of available disks.

  5. 選取磁碟,按一下 [新增] 以新增磁碟,然後按一下 [確定] 。Select the disks, click Add to add the disks, and click OK.

新的 PowerShell CmdletNew PowerShell cmdlets

針對 DPM 2016,有兩個新的 Cmdlet 可供使用︰Mount-DPMRecoveryPointDismount-DPMRecoveryPointFor DPM 2016, two new cmdlets: Mount-DPMRecoveryPoint and Dismount-DPMRecoveryPoint are available. 按一下 Cmdlet 名稱以查看其參考文件。Click the cmdlet name to see its reference documentation.

啟用雲端保護Enable Cloud Protection

您可以將 DPM 伺服器備份至 Azure。You can back up a DPM server to Azure. 高階步驟如下:The high level steps are:

  • 建立 Azure 訂用帳戶create an Azure subscription,
  • 向 Azure 備份服務註冊伺服器register the server with the Azure Backup service,
  • 下載保存庫認證和 Azure Backup Agentdownload vault credentials and the Azure Backup Agent,
  • 設定伺服器的保存庫認證和備份原則configure the server's vault credentials and backup policy,

如需將 DPM 備份至雲端的詳細資訊,請參閱準備使用 DPM 將工作負載備份到 Azure一文。For more information on backing up DPM to the cloud, see the article, Preparing to backup workloads to Azure with DPM.

後續步驟Next steps