In this blog, we will be walking you through how to configure DPM 2019 for Hyper-V backup. This is a step-by-step guide on how to configure DPM 2019 for Hyper-V backups.
The hyper-v backup and restore is a process that allows users to configure DPM 2019 for Hyper-V backups.
The DPM Administrator interface isn’t too feature-rich — which isn’t necessarily a negative thing in this instance. The interface is straightforward and, once again, has everything you’ll need for a good backup. Let’s have a look.
Before we get started, let’s have a look at
We’ll go through how to configure storage for DPM backups, how to install agents on VMs, how to configure the firewall, and how to keep DPM up to date in this tutorial.
Please see https://docs.microsoft.com/en-us/system-center/dpm/dpm-overview?view=sc-dpm-2019 for additional information on the topic.
I’m assuming you already have DPM installed and configured. This LAB includes DPM within a domain with backup workloads for DC, Exchange, SQL, and File Server (DFS).
Updates for DPM 2019
We’ll setup updates for DPM 2019 before we start using it. In Windows Server 2019, you may manually download updates (update rollups) via the Windows Catalog or Windows Update.
All of the techniques are listed here – https://docs.microsoft.com/en-us/system-center/dpm/update-rollups?view=sc-dpm-2019
Simply go to Settings | Upgrade & Security | Windows Update | Advanced settings | Check the box next to “Give me updates for other Microsoft products when I update Windows.”
After two or three times checking for updates, you will be given DPM updates as well.
DPM 2019 versions may be found here: https://docs.microsoft.com/en-us/system-center/dpm/release-build-versions?view=sc-dpm-2019
10.19.458.0 is the most recent (at the time of writing this in June 2021).
Now that we’ve gotten that out of the way, let’s move on.
DPM’s backup storage is being expanded.
You may use a variety of storage choices as DPM backup storage.
It’s all about storage and constraints here — https://docs.microsoft.com/en-us/system-center/dpm/plan-long-and-short-term-data-storage?view=sc-dpm-2019
Local storage attached to VMs (VHDX), DAS, SAN, iSCSI, and Modern Backup Storage (MBS) is supported – https://docs.microsoft.com/en-us/system-center/dpm/add-storage?view=sc-dpm-2019 The use of a network attached storage (NAS) device is not supported.
Finally, capacity and performance for backup storage must be planned; there is no universal answer.
We’ll utilize a basic empty VHDX that I connected to the DPM 2019 VM for this experiment.
The disk is formatted as GPT (Basic). We must first create a volume, but not format it, before we can add it to DPM 2019. Select New Simple Volume by right-clicking anywhere where it reads Unallocated.
Assign a letter to a disk, but choose “Don’t format this volume” on the Format Partition screen. Complete the wizard.
Our 250GB should now have a RAW volume allocated to it, with the letter D.
Now we can DPM some more.
Select Management from the bottom left corner of the screen when you open the System Center 2019 DPM Administrator Console. Then, from the upper left corner of the console, choose Disk Storage and then Add.
Our unformatted D disk with size 0 should now be visible (zero). Don’t let this deter you; DPM will format the drive to meet its requirements.
To add this drive to Storage Pool, click Add.
Yes, we’ll validate the drive’s format.
Select OK after giving the drive a pleasant name (DPMBackup1).
Currently, the disk is in our DPM Storage Pool.
Protect VMs by deploying Protection Agents.
DPM, unlike Veeam or Nakivo, requires an agent to run within a VM in order to operate and do backups. We have two options for deploying agents to VMs: automatically or manually.
All the information on deploying the DPM agent can be found here: https://docs.microsoft.com/en-us/system-center/dpm/deploy-dpm-protection-agent?view=sc-dpm-2019#set-up-firewall-exceptions
If you want automated DPM agent deployment to function, here’s a list of ports to use (from a link above)
I’ll be honest with you: I don’t utilize automated dpm agent deployment very often since it often results in problems.
If you want to deploy automatically, open the firewall ports listed above on each VM you want to protect, and then start the procedure from the DPM Administrator Console (I will show you where).
First, I’ll teach you how to install DPM agents manually (my prefered way)
DPM Agent Deployment by Hand
On one of my servers, I set up a file share called witness1DPMagentInstaller.
This is where I will get the DPM agent installation package from the DPM server and install it on the virtual machines I want to protect with DPM.
Open Program FilesMicrosoft System CenterDPMDPMProtectionAgentsRA10.19(your build number)amd64 on the DPM server (or i386 if you need 32bit version for something old)
Copy the DPMAgentInstaller x64.exe file from the DPM server to a file share on your domain. I’ll save a copy in witness1DPMagentInstaller.
Now we’ll transfer DPMAgentInstaller x64.exe from the network file sharing to the first virtual machine we want to protect — Witness2
Witness2 is protected by a firewall, with no exceptions for DPM.
I’ll transfer DPMAgentInstaller x64.exe from the file share to the Witness2 VM’s local C:temp folder.
On Witness2, open Command Prompt elevated (Run as Adminstrator) (VM we will install DPM agent on).
Go to the temp folder and run the following command – backup2.informatiker.local is my DPMServerName (you need to enter FQDN of DPM server).
In my instance, command looks like this. You will be presented with a pop-up from which you must choose Accept.
Following emerged after a few minutes.
Okay, the installation is complete.
We must now go to the DPM server and complete this task.
We’re still in the Management option in the DPM Administrator Console. Select Add from the upper left corner of the screen after clicking on Production Servers in the center of the screen.
Next, we’ll choose Servers that run on Windows.
If we want an automated installation, we’ll choose Install agents. We’ll choose Attach agents and then Computer on trusted domain since we performed a manual setup. Next
We’ll choose Witness2 and then click Add.
Following the addition of the machine | Next
For credentials, I’ll use the domain admin account | Next
Now we’ll choose Attach and hope for the best.
It went off without a hitch!!
The red X isn’t very unsightly, but our DPM agent on the Witness2 computer need an upgrade.
I pressed the Update Available button and am currently waiting.
Everything is OK after the upgrade; we now have one computer with the agent installed.
DPM Agent Deployment is Automated
Please read this section (Automatic Deployment) before doing anything else, since things may become nasty quickly. Finally, select the path you wish to take and begin from the beginning of this part.
We’ll give it a go right away. I’m going to open the following ports in the DFS1 VM’s Inbound Firewall.
135 TCP/UDP port
The Windows Management Instrumentation rule should be enabled.
Enable the rule for Windows Remote Management.
Rule to Enable Remote Service Management
After DPMRA is installed, expection is required in the Inbound Firewall (Program Files). DPMbinDPMRAbin.exe is the Microsoft Data Protection Manager.
In addition, since my DPM agent deployment failed, I opened all of the ports mentioned in the firewall list above.
Let’s now go to the DPM server and attempt installing the DPM agent from there, without first installing it on the VM we want to protect.
DPM Administrator Console | Management | Production Servers | Add one more
Install Agents this time.
We’ll add DFS1 to which we’ve already set up a firewall | Next
I’ll input my domain admin credentials once again | Next
No for me since I don’t want DPM to reboot my server after installation. Next
Despite opening all of the ports, the firewall still seems to be an issue. This is the issue I’ve been having since DPM 2010, and it’s a hassle to deal with. This is why I prefer to deploy manually.
If you receive error 319 (as I often do), here is the place to go for help.
The first resolution is to disable the firewall, and this is not a joke. This is Microsoft’s own official solution.
To make things obvious, here’s a screenshot.
The second resolution is to add additional ports and applications to the firewall (I haven’t tried it yet).
This worked instantly with Microsoft Resolution 1 (I switched off firewall), and I was finally able to deploy DPM agent to DFS1.
After the installation was completed, I immediately switched on the firewall!!!
This is why I dislike automated DPM agent deployment; it is just not simpler or more convenient. You may also automate the first technique I outlined, making it quiet if necessary.
I simply wanted to demonstrate why I don’t utilize DPM’s automated deployment. You’d think it’d be easier, quicker, and more convenient, but it’s not the case.
Finally, I utilized the manual approach and completed my 10+ virtual machines in a matter of minutes.
So, we’ve completed the deployment of protective agents, which is a critical component of this jigsaw.
Options for Notifications
We’re still on the Management menu of the DPM Administrator Console.
Select Options from the top ribbon.
Here are some things you may want to set up; I won’t go through every option here, just the ones that I believe are the most important: Server for SMTP and Notifications.
To set up alerts, you must first establish your SMTP server so that you can send emails. I tried a scenario using a Microsoft Exchange server.
So, under the SMTP Server tab, I’ll configure my email server.
mail.informaticar.net is the name of my SMTP server. (Here’s where you’ll put yours)
The port is 25 miles long.
[email protected]… is the from address (which must be a valid address).
And everything is OK.
Enter nothing in the Authenticated SMTP server. Simply place your cursor in the username box and hit *SPACE* on your keyboard ONCE. That is all there is to it.
Your SMTP Server should look like the image below — I caught the flashing cursor in the username field to show that it contains one space.
Then, to test your settings, click Send Test E-mail.
The next step is to input the email address to which you want to send the email – Send
An e-mail message to… has been sent successfully.
Let’s see whether we got it… That is exactly what we did.
If you choose to put your username and password in the Authenticated SMTP server box…
Error ID:2013 will appear. The user name or password has been entered incorrectly. It makes no difference how you type your login – DOMAINUSER or [email protected] – the error is always the same.
This issue, as far as I recall, dates back to DPM 2012 and has yet to be addressed (at least with better description of an error).
When we click OK after the first successful try (with an empty username), we receive the following problem.
This is, at the very least, a better description.
DPM Setup is impossible to setup e-mail settings by updating the report server configuration (ID: 3040)
Okay, we’re already using DPM, and I’m also running Reporting Server and SQL on the same machine.
So I’ll launch Report Server Configuration Manager (if you’re not sure where to start, see my DPM 2019 installation tutorial) and go to the E-mail Settings area.
Enter the same sender address that you specified in DPM’s SMTP Server – in my instance, backup. [email protected]…
SMTP server – use the same one you used in DPM for SMTP Server – in my instance, mail.informaticar.net.
There are no authentications required | Apply
Exit and return to the DPM Administrator Console if everything went well.
Now comes the most bizarre aspect of DPM’s SMTP server issue. We’ll return to the SMTP server, and the screen will appear like this.
If you attempt to click OK again, you’ll get error 3040.
Instead, click Cancel and then restart the server. Return to SMTP Server inside DPM Administrator Console Options once the server has restarted, and the screen will like the one below. If you attempt to send a test email, you will receive an error again; but, if you don’t touch anything, it won’t matter. You should now be able to click OK without getting an error message. It doesn’t matter if you still receive error 3040; just click Cancel again; your changes will be preserved.
I realize this is a clumsy and perhaps perplexing explanation, but it is what it is.
We’ll simply go to the Notifications tab while we’re still in the Options menu.
Choose what you want to be informed about. I chose all of the choices for this tutorial. Enter the email addresses of the people you want to receive alerts from in Recipients.
Select Send Test Notification from the drop-down menu. (This will also be used to double-check our SMTP Server settings)
The email was successfully sent.
And then I got it again.
So, we worked out all of the issues and got our alerts to function. It is critical to have SMTP backup notifications in place — all you need to know is the status of your backups.
End-user recovery, auto discovery, alert publishing, diagnostic… are just a few additional tabs in the settings menu. You may go at them and see if there’s anything of interest to you, but in my situation, I don’t think they’re of much use.
These are necessary components of DPM 2019 setup so that we can create backups and test it further. There are a lot of annoying mistakes that make you spend a lot of time configuring things that should be simple. If you’re new to a product or to IT, this may be a nightmare. Veeam and Nakivo have their own peculiarities as well, but they are simpler to set up and configure.
However, if you get the idea of DPM, I think it’s still extremely useful.
The windows server 2016 hyper-v backup is a process that allows users to configure DPM 2019. This article will provide the steps necessary to configure DPM 2019 for Hyper-V backups.
Frequently Asked Questions
How do I backup my DPM server?
To backup your DPM server, you need to use the command line version of DPM. Open a command prompt and type in dpm.exe -backup. This will generate a file that can be used for restoring your DPM server or any other computer on which you have installed DPM.
What DPM can backup?
DPM stands for Data Protection Manager. It is a backup program that can back up your data to an external drive or cloud storage service.
What is DPM Hyper-V?
DPM Hyper-V is a type of virtualization software that allows for multiple operating systems to run simultaneously on a single computer.
- how to backup hyper-v virtual machines (windows 10)
- hyper-v backup best practices
- free hyper-v backup software
- microsoft dpm 2019
- how to backup hyper-v virtual machines windows server 2012 r2