How to exclude data from DPM protection
THE NEED:
In DPM you may run into scenarios where you are backing up a folder or a volume and there are folders or sub-folders that you actually don’t need or want to protect. There is a way to “exclude” these from the backup. Before we talk about how to do this lets look at an example of why you would want to do this.
THE EXAMPLE:
Lets say you have a Windows cluster and you are backing up the c volume on one of your nodes in the cluster. This cluster is a Hyper-V cluster and you are protecting the virtual machines in your cluster directly. The C:\ClusterStorage folder on the c volume is where your .VHD’s and other virtual machine data is stored. You do not want to backup this folder because the virtual machines are being protected directly by DPM but you want to continue protecting everything else on the c volume. This is where being able to exclude the C:\ClusterStorage folder comes into play.
THE SOLUTION:
Here is how you can exclude something from being backed up by DPM. There is a registry key on Windows servers called “FilesNotToBackup”. This key needs to be modified on the protected server with the data you want to exclude from the backup. It is that simple. Now here is how you do this.
Make a registry entry to the FilesNotToBackup list in the registry on the protected server you want to exclude data on. DPM/VSS will honor the FileNotToBackup list.
The path is: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup add a Multi-String (REG_MULTI_SZ) value and place something like: C:\ClusterStorage (or any data you want to exclude from backup) in the Value Data field.
The next time the data is protected it should skip the C:\ClusterStorage (or any data you have selected to exclude from backup).
DPM & VSS
DPM’s data protection is facilitated by the Volume Shadow Copy Service (VSS). Therefore VSS is the secret sauce. VSS is in OS’s and Microsoft applications such as Exchange, SharePoint, and Hyper-V have their own VSS writers. Yes this may be old news as the VSS technology has been around for some time but many IT Professionals still do not have a good understanding of VSS itself.
It is important for anyone working with DPM and even many other backup products out there to get a good understanding of VSS to know how the data protection is working underneath the hood. Microsoft has some really good sites that explain VSS well. As a data protection protection pro it is important to go through these and become familiar with how VSS works:
- Basic VSS Concepts
http://msdn.microsoft.com/en-us/library/windows/desktop/aa381504%28v=vs.85%29.aspx
- Common Volume Backup Issues
http://msdn.microsoft.com/en-us/library/windows/desktop/aa381508%28v=vs.85%29.aspx
- Troubleshooting VSS Applications
http://msdn.microsoft.com/en-us/library/windows/desktop/aa384626%28v=vs.85%29.aspx
- Volume Shadow Copy Glossary
http://msdn.microsoft.com/en-us/library/windows/desktop/aa384647%28v=vs.85%29.aspx
- Volume Shadow Copy Service Overview
http://technet.microsoft.com/en-us/library/ee923636%28WS.10%29.aspx
SharePoint PowerShell cmdlet Builder
Microsoft has released a web based tool that can be used to build PowerShell cmdlets for SharePoint. This is a great tool for those that are new to SharePoint PowerShell or PowerShell in general. It allows you to drag and drop a PowerShell verb and noun into a design surface and then input your specific SharePoint information such as farm, site collection database etc to complete the cmdlet. Once you have the cmdlet designed you can copy it out and can run it on your server.
Microsoft announced this tool At the 2011 SharePoint Conference in Anaheim, CA which I was at. I missed that announcement and learned about this tool from Russ Kaufmann’s blog. Thanks Russ!
Here is a link to more information about PowerShell for SharePoint and this tool:
http://technet.microsoft.com/en-us/sharepoint/ff603532
Here is a link to the tool itself:
Free Webcast: Whats New in DPM 2012
Microsoft DPM MVP Robert Hedblom will be hosting a free webcast covering what the new features are in DPM 2012.
Here is the information from his blog:
Interested in DPM? Want to know the new features in DPM2012?
At the 13/10 1PM GMT+1 I will host a webcast (Live meeting) that addresses the new features and will also show the new GUI.
Please email me @ robert.hedblom[at]gmail.com and I will provide you the link and information you need.
This is free , you don’t have to pay to attend
Date:13/10 2011
Time:1 PM GMT +1
Backup Academy: VMware & Hyper-V backup certification
Today I became Backup Academy Certified in VMware & Hyper-V backup.
![]()
Backup Academy is an online training and certification resource created and powered by Veeam. Veeam is a virtualization backup software company. Backup Academy has an online certification test that you can take it is much like other certifications requiring 70% or higher score to pass.
Backup Academy has 8 training videos by IT industry experts. These videos cover the basics of backup, backup of virtualized environments, VSS, Windows Server Backup, VMware backup tools, best practices for backing up VMware and Hyper-V environments, and more. It does not cover DPM but Backup Academy will have more content when they update in the future. Maybe they will add Data Protection Manager to the training and certification at some point!
Here are the experts that have contributed to the training and certification on Backup Academy:
Greg Shields: Greg holds both Microsoft MVP and VMware vExpert status and is a senior partner at Concentrated Technology.
David Davis: David holds VMware vExpert status as well as Cisco CCIE and VMware VCAP credentials. David is a popular blogger, author and expert in the virtualization community.
Elias Khnaser: Elias holds VMware vExpert status and is the CTO at Sigma Solutions. Elias has authored a number of books on IT certifications and is a popular blogger on a number of websites.
Eric Siebert: Eric holds VMware vExpert status and a number of IT certifications. Eric has authored several books and is a popular blogger.
Rick Vanover: Rick holds VMware vExpert status and a number of IT certifications. Rick is a popular blogger and podcaster.
This certification is a good indication that you as an IT Professional understand the basics of backup. I recommend this training and certification for anyone that works with data protection. It is good for the beginner and a good refresher for experienced backup admins.
Here is the Backup Academy website: http://www.backupacademy.com
Here is a blog post with more information on the academy and certification: VEEAM Post on Backup Academy
DPM Admin Console on Client Computers
DPM 2012 Beta is out. One of the new features of DPM 2012 is that you can install the DPM Administrator Console on other servers or workstations and manage your DPM 2012 and even DPM 2010 servers remotely without having to logon to the DPM server. The cool part is that you can manage existing DPM 2010 servers. This is done through applying a hotfix to your DPM 2010 server and installing the console on your workstation or server from the DPM 2012 beta software.
In this blog post we are going to walk through setting this up. It is a simple two step install installing the hotfix on the DPM 2010 server first and then the console on the workstation. Here is the process:
First download the DPM 2010 Interoperability patch for DPM 2012 Beta hotfix (DataProtectionManager2010-KB2581742) and DPM 2012 Beta.
- DPM 2010 hotfix: http://support.microsoft.com/kb/2581742
- DPM 2012 Beta: http://www.microsoft.com/download/en/details.aspx?id=27216
Copy the DPM 2010 Interoperability patch hotfix for DPM 2012 Beta to your DPM 2010 server.
Make sure your DPM 2010 is all up to date. Once DPM 2010 is up to date install the beta hotfix.

Open up DPM 2010 after the hotfix and verify it is still working.
Now the DPM 2010 server is ready lets install the console on the client machine.
Here are the steps:
Navigate to the DPM 2012 Beta install and chose 32 or 64Bit depending on what your workstation is.
![]()
Launch the DPM 2012 Beta install on your local workstation.
Select “DPM Central Console” to begin.

Free TechNet Subscription and DPM 2010 Book
I will be attending the September 2011 MN System Center User Group. They will be giving away 2 free copies of a TechNet subscription and a copy of my Microsoft Data Protection Manager 2010 book.
Paul Thomsen, Solution Engineer for 1E will be speaking and they will also have free food.
Visit the user groups website for more info: http://mnscug.org/meetings/173-september-2011-meeting.html
Publish DPM Alerts to Windows Event Viewer
I recently ran across a thread on DPM TechNet forums with a topic on how to access DPM alerts. They wanted to monitor DPM errors and events. You can use a third party tool to do this or you can use System Center Operations Manager/Essentials .
If you have the option to use System Center to monitor your DPM I recommend this as it does work pretty well. In my environment I use System Center Essentials 2010 to monitor DPM alerts. The first step to monitoring your DPM server is to make sure you publish the DPM alerts to the Windows Event Viewer. To do this follow these steps:
- Go to the DPM Administrator console
- Click on “Action” on the top bar in DPM
- Select “Options”
- Click the “Alert Publishing” tab
- Click the “Publish Active Alerts” button
- Click ok

This will send your DPM alerts to the Windows Event viewer on your server and either SCOM/SCE can access them from there or a third party systems monitoring tool. You will find the alerts in Windows Event viewer under “Applications and Service Logs”. You will see “DPM Alerts” and “DPM backup Events” (Note: if you want backup alerts you need to publish them as well) listed here.

Here are links to error codes and the DPM troubleshooting guides:
- DPM 2007 Error Code Catalog: http://technet.microsoft.com/en-us/library/bb795681.aspx
- DPM 2007 TS Guide: http://technet.microsoft.com/en-us/library/bb963868.aspx
- DPM 2010 Error Code Catalog: http://technet.microsoft.com/en-us/library/ff399290.aspx
- DPM 2010 TS Guide: http://technet.microsoft.com/en-us/library/ff399248.aspx
Here is a link to a good article by David Allen (System Center MVP) on
“Monitoring DPM using SCOM” http://www.scdpmonline.org/monitoring-dpm-using-opsmgr-cookdown-powershell.aspx
OCS 2007/Lync 2010 Remote Connectivity Analyzer
I ran across a tool Microsoft has for testing remote OCS and Lync connectivity from outside your firewall:
Here is the URL: https://www.testocsconnectivity.com/
I posted about a similar Exchange testing tool a while back HERE!.
Microsoft Data Protection Manager 2012 Beta
Data Protection Manager 2012 Beta is Now Available!
You can download it here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=897a604a-cace-42b9-944d-4c690917f989
For more information about DPM 2012 visit:
and
- Whats new in DPM 2012 Screencast by DPM MVP Mike Resseler



