Upgrade to DPM 2016
You can install DPM 2016 on Windows Server 2012 R2, or on Windows Server 2016. 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. Before you upgrade or install DPM 2016, please read the Installation prerequisites.
Upgrade path for 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:
- Upgrade DPM 2012 R2 to DPM 2012 R2 Update Rollup 10. You can obtain the Update Rollups from Windows Update.
- Upgrade DPM 2012 R2 Update Rollup 10 to DPM 2016.
- Update the agents on the protected servers.
- Upgrade Windows Server 2012 R2 to Windows Server 2016.
- Upgrade DPM Remote Administrator on all production servers.
- Backups will continue without rebooting your production server.
Upgrade steps for DPM
- To install DPM, double-click Setup.exe to open the System Center 2016 Wizard.
- Under Install, click Data Protection Manager. This starts Setup. Agree to the license terms and conditions and follow the setup wizard.
Some DPM 2016 features, such as Modern Backup Storage, require the Windows Server 2016 RTM build. It is possible to upgrade DPM 2016 from DPM 2012 R2, running on Windows Server 2012 R2. 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. For instructions on installing DPM, see the article, Installing DPM 2016.
Migrating the DPM database during upgrade
You may want to move the DPM Database as part of an upgrade. For example, you are merging instances of SQL Server. You are moving to a remote more powerful 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 setup allows you to migrate the DPM database to different SQL Servers during an upgrade.
Possible database migration scenarios
- Upgrading DPM 2012 R2 using a local instance and migrating to a remote instance of SQL Server during setup.
- Upgrading DPM 2012 R2 using a remote instance and migrating to a local instance of SQL Server during setup.
- Upgrading DPM 2012 R2 using a local instance and migrating to a remote SQL Server Cluster instance during setup.
- Upgrading DPM 2012 R2 using a local instance and migrating to a different local instance of SQL Server during setup.
- Upgrading DPM 2012 R2 using a remote instance and migrating to a different remote instance of SQL Server during setup.
- Upgrading DPM 2012 R2 using a remote instance and migrating to a remote SQL Server Cluster instance during setup.
Preparing for a database migration
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.
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.
Pre-upgrade steps: Backup and restore DPM 2012 R2 DPM database to a new SQL instance
In this example, we will prepare a remote SQL Server cluster to use for the migration.
- 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.
Right-click the DPM database, and under Tasks, select the Back Up… option.
Add a backup destination and file name, and then select OK to start the backup.
After the backup is complete, copy the output file to the remote SQL Server. 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.
- On the Remote SQL Server, start Microsoft SQL Management Studio and connect to the SQL instance you want to use in the DPM upgrade. 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.
Right-click the Databases icon, then select the Restore Database… option. This starts the restore wizard.
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.
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. You can exit Microsoft SQL Management Studio and start the upgrade process on the original DPM Server.
If the new SQL Server is a remote SQL server, install the SQL management tools on the DPM server. The SQL management tools must be the same version matching the SQL server hosting the DPMDB.
Starting upgrade to migrate DPMDB to a different SQL Server
If sharing a SQL instance, run the DPM installations (or upgrades) sequentially. Parallel installations may cause errors.
After the pre-migration preparation steps are complete, start the DPM 2016 Installation process. DPM Setup shows the information about current instance of SQL Server pre-populated. This is where you can select a different instance of SQL Server, or change to a Clustered SQL instance used in the migration.
Change the SQL Settings to use the instance of SQL Server you restored the DPM Database to. If it’s a SQL cluster, you must also specify a separate instance of SQL Server used for SQL reporting. 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.
Prerequisite check should succeed, press NEXT to continue with the upgrade.
Continue the wizard.
After setup is complete, the corresponding database name on the instance specified will now be DPMPB_DPMServerName. Because this may be shared with other DPM servers, the naming convention for the DPM database will now be: DPM2016$DPMDB_DPMServerName
Adding Storage for Modern Backup Storage
To store backups efficiently, DPM 2016 uses Volumes. Disks can also be used to continue storing backups like DPM 2012 R2.
Add Volumes and Disks
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. You can also use PowerShell to add or change friendly names for volumes.
To add a volume in the administrator console:
In the DPM Administrator console, select the Management feature > Disk Storage > Add.
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. 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 allows the user to specify which kinds of workloads should be assigned to which volumes. 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. To update the properties of a volume in the storage pool on a DPM server, use the PowerShell cmdlet, Update-DPMDiskStorage.
Parameter Set: Volume
Update-DPMDiskStorage [-Volume] <Volume> [[-FriendlyName] <String> ] [[-DatasourceType] <VolumeTag> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
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:
In the DPM Administrator Console, select the Protection feature.
On the tool ribbon, click New.
The Create new Protection Group wizard opens.
Click Next to advance the wizard to the Select Protection Group Type screen.
On the Select Protection Group Type screen, select the type of Protection Group to be created and then click Next.
On the Select Group Members screen, in the Available members pane, DPM lists the members with protection agents. 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.
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.
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.
The Review Disk Storage Allocation screen provides details about the selected data sources, their size, the Space to be Provisioned, and Target Storage Volume.
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.
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.
Migrating legacy storage to Modern Backup Storage
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. By default, protection groups are not changed, and continue to function as they were configured in DPM 2012 R2. 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 begins protecting these data sources the new way.
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.
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.
Create a new protection group that uses Modern Backup Storage, and include the unprotected data sources.
Adding Disks to increase legacy storage
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:
On the Administrator Console, click Management.
Select Disk Storage.
On the tool ribbon click Add.
The Add Disk Storage dialog opens.
In the Add Disk Storage dialog, click Add disks.
DPM provides a list of available disks.
Select the disks, click Add to add the disks, and click OK.
New PowerShell cmdlets
Enable Cloud Protection
You can back up a DPM server to Azure. The high level steps are:
- create an Azure subscription,
- register the server with the Azure Backup service,
- download vault credentials and the Azure Backup Agent,
- configure the server's vault credentials and backup policy,
For more information on backing up DPM to the cloud, see the article, Preparing to backup workloads to Azure with DPM.