Quantcast
Channel: System Center Data Protection Manager
Viewing all 339 articles
Browse latest View live

Update Rollup 6 for System Center 2012 Data Protection Manager Service Pack 1 is now available

$
0
0

 System Center 2012 SP1 Data Protection Manager (DPM 2012 SP1) Update Rollup 6 is now available. For all the details regarding the issues that are fixed as well as download and installation instructions, please see the following:

KB2958098 - System Center 2012 SP1 Data Protection Manager Update Rollup 6 (http://support.microsoft.com/kb/2958098)

J.C. Hornbeck| Solution Asset PM | Microsoft GBS Management and Security Division

Get the latest System Center news onFacebookandTwitter:

clip_image001clip_image002

System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Windows Intune: http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
The AD RMS blog: http://blogs.technet.com/b/rmssupp/

App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/


Backing up of replica VMs using DPM

$
0
0

Ever since Hyper-V replication technology introduced in Windows 2012, many customers showed interest in leveraging DPM for backing up replica VMs instead of primary VMs. By backing up replica VMs, production servers are not burdened with the backup IO impact.  Considering the customer request, DPM and Hyper-V replication worked together to enable backup of Replica VMs. The technology to make this happen and its nuances are further discussed in this Hyper-V Replica blog article. On the whole, it includes the changes to the platform that ensure crash-consistency of backups, and the appropriate retry mechanism in DPM to ensure a high success rate.

Testing and Results

The backup of Replica VMs by DPM has been validated with internal tests involving 2 servers with different VM mixes that are backed up by a DPM server(below).

image

 

image

 

We measured the actual number of backup points created per VM in DPM, and matched that with our expectation of 16 recovery points per VM for the 48 hour test duration. The results of the test were extremely positive, with close to 100% success rate of the backup jobs.

 

image

 

DPM Support Matrix

Here is the DPM VM protection support matrix with Hyper-V replication enabled deployments.

clip_image001

Takeaways

  1. DPM can backup replica VMs.
  2. DPM protection of a replica VM can guarantee only crash-consistency.

Backup and DR sessions at TechEd North America 2014

$
0
0

This year TechEd North America is scheduled between 12 May and 15 May, at Houston.  We have multiple sessions lined up that covers Backup and Disaster Recovery solutions from Microsoft.  We also have our MVPs and engineers from PG who will be at “Ask the Experts” and at System Center Booths.  Looking forward to meet you all at sessions, “Ask the experts” and System Center booth area.  Here are the list of sessions that we are presenting.

Sessions on May 12image

image

Sessions on May 15

image

image

image

HOTFIX: Update Rollup 2 for System Center 2012 R2 Data Protection Manager has been re-released

$
0
0

download432

NOTE: If you’re having trouble with the download link in the article, you can also find the update using this search link: http://catalog.update.microsoft.com/v7/site/Search.aspx?q=2963543.

=====

This update rollup was re-released yesterday (May 20, 2014) to resolve a "DPMAMService" crash that occurred if the original update (KB 2958100) was applied.

If you already installed Update Rollup 2 (UR2) on your Windows Server 2003 servers, you do not have to reinstall the UR2 agent that is required for Windows Server 2003 communication for this re-release. Additional updates after this re-release will install and work as expected.

For additional details regarding the issues fixed as well as download and installation instructions, please see the following:

KB2963543 - Description of Update Rollup 2 for System Center 2012 R2 Data Protection Manager (http://support.microsoft.com/kb/2963543)

J.C. Hornbeck| Solution Asset PM | Microsoft GBS Management and Security Division

Get the latest System Center news onFacebookandTwitter:

clip_image001clip_image002

System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Windows Intune: http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
The AD RMS blog: http://blogs.technet.com/b/rmssupp/

App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

Details on protecting Windows Server 2003 computers using Data Protection Manager 2012 R2

$
0
0

~ Michael Jacquet

Gears

Hello, Mike Jacquet here. I wanted to take a minute to detail how System Center 2012 R2 Data Protection Manager (DPM 2012 R2) Update Rollup 2 (UR2) re-adds support for Windows 2003 servers.

Here are a couple of quick points I would like to make:

1. Protecting Windows Server 2003 computers requires Microsoft Visual C++ 2008 and Microsoft .NET 3.0 to be installed. The DPM 2012 R2 UR compatible DPM agent for Windows 2003 servers does not require Microsoft .NET 4.0 or VCRedist 2010 to be installed.

2. The agent version used to support Windows Server 2003 computers is that of DPM 2012 Service Pack 1 UR6 which is 4.1.3441.0 and not the DPM 2012 R2 UR2 version of the agent. This means upgrades from DPM 2012 SP1 with UR6 to DPM 2012 R2 with UR2 will be seamless.

3. You cannot perform a push install of the Windows Server 2003 compatible agent from the DPM console. You must perform a manual agent installation on the Windows Server 2003 computer using the DPMAgentInstaller_Win2K3_xxx.exe installer.

4. You cannot uninstall the DPM agent from the DPM console - you must use the Remove-ProductionServer.ps1 PowerShell command.

5. Secondary protection is supported for Windows Server 2003 supported workloads.

The following will be covered in detail

A) How to continue protecting Windows Server 2003 computers after upgrading a DPM 2012 SP1 server to DPM 2012 R2.

B) How to add protection to new Windows Server 2003 computers that have never been protected before.

C) How to stop protection and remove the agent for a Windows Server 2003 computer.

Upgrading DPM 2012 SP1 with UR6 to DPM 2012 R2 with UR2

To make the upgrade go smoother, be sure to install System Center 2012 SP1 Data Protection Manager Update Rollup 6 and upgrade the agents before upgrading to DPM 2012 R2.

IMPORTANT: Always make a backup of the DPM Database before upgrading or installing Update rollup packages. You can do this using the command below:

Dpmbackup.exe -db -instancename sqlinstance -dpmdbname DPMDB_Name -targetlocation c:\temp

In our example, before the upgrade to DPM 2012 R2, the agent that is installed on the Windows Server 2003 computer is the DPM SP1 UR6 version (4.1.3441.0) as shown below.

clip_image003

Once the DPM 2012 SP1 server and protected Windows Server 2003 computers are updated to UR6 you can go ahead and perform the upgrade to DPM 2012 R2.

After the upgrade to DPM 2012 R2, the DPM version is now 4.2.1205.0 and the agents will show the expected Needs updating along with the Update Available link.

clip_image005

Since the DPM installation is not yet on DPM 2012 R2 UR2, agent communications cannot be established.

If you attempt to update the agent using the Update Available link it will fail with the details shown below. You can ignore the recommended actions as none of those are applicable for Windows Server 2003 computers since we do not have to update the agent to the DPM 2012 R2 version.

clip_image007

Now you can install the DPM 2012 R2 UR2 update which adds support for Windows Server 2003 computers.

KB2963543 - Description of Update Rollup 2 for System Center 2012 R2 Data Protection Manager (http://support.microsoft.com/kb/2963543)

IMPORTANT: Always make a backup of the DPM Database before upgrading or installing Update Rollup packages. This can be done using the command line below:

Dpmbackup.exe -db -instancename sqlinstance -dpmdbname DPMDB_Name -targetlocation c:\temp

After DPM 2012 R2 UR2 is installed, the DPM version shows 4.2.1235.0 on the information dialog as seen here:.

clip_image009

After the UR2 update, agent status will be displayed as unknown as seen below:

clip_image011

Use the refresh option and the agent should now show OK and the version will still show 4.1.3441.0 which is correct for Windows Server 2003 computers. Other non-Windows Server 2003 computers will still have the needs updating and Update available link to upgrade the agents so protection can continue.

clip_image013

clip_image015

Now all we need to do is run a consistency check on the data sources. Once complete, new recovery points will be made as normal.

Protecting a new Windows Server 2003 computer

Below are the prerequisites required to install the DPM 2012 R2 UR2 compatible agent on a Windows Server 2003 SP2 computer.

a) Microsoft Visual C++ 2008 Redistributable if not already installed.

b) Microsoft .NET 3.0 framework if not already installed. Microsoft recommends installing .NET 3.5 SP1

Microsoft .NET Framework 3.5 Service pack 1 (Full Package)

Also review the following TechNet page for additional prerequisites when protecting supported workloads on Windows Server 2003 SP2 computers.

Protected Computer Software Requirements

1) Be sure the above prerequisites are installed on the Windows Server 2003 computer. I will detail errors you may see if they are not installed.

2) Either map a network drive, or copy DPMAgentInstaller_Win2k3_i386.exe or DPMAgentInstaller_Win2K3_AMD64.exe from the DPM 2012 R2 UR server from one of the following locations.

Clean installation of DPM 2012 R2. The agent path will be here:

  • C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\agents\RA\4.2.1235.0\amd64\1033
  • C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\agents\RA\4.2.1235.0\i386\1033

DPM 2012 R2 was upgraded from DPM 2012 SP1. The agent path will be here:

  • C:\Program Files\Microsoft System Center 2012\DPM\DPM\agents\RA\4.2.1235.0\amd64\1033
  • C:\Program Files\Microsoft System Center 2012\DPM\DPM\agents\RA\4.2.1235.0\i386\1033

DPM 2012 R2 was upgraded from Pre-DPM 2012. The agent path will be here:

  • C:\Program Files\Microsoft DPM\DPM\agents\RA\4.2.1235.0\amd64\1033
  • C:\Program Files\Microsoft DPM\DPM\agents\RA\4.2.1235.0\i386\1033

3) While executing DPMAgentInstaller_Win2k3_xxxx.exe you will get an error if the VC++ 2008 Redist is not pre-installed.

Could not load the setup launch Screen. Please contact Microsoft product support

clip_image016

Please install the prerequisites and verify that Add or Remove Programs shows the proper version.

clip_image018

If VC++ 2008 Redist is installed properly, the agent install wizard will start.

clip_image019

If you do not have .NET 3.0 Framework (or a later version that includes 3.0) you will receive this error during the agent install:

DPMAgentInstaller failed with errorcode =0x80070643, error says: Fatal error during installation

clip_image021

Next install the .NET 3.0 prerequisite.

clip_image023

After the agent installation is complete, or if you get an error installing the agent, the agent installation logs are in the c:\Windows\Temp folder.

clip_image025

In Control Panel, Add or Remove Programs will now show the Microsoft System Center 2012 SP1 DPM Protection agent as being installed.

clip_image027

4) Now change to the agent installation folder which is C:\Program Files\Microsoft Data Protection Manager\DPM\bin folder and run the setdpmserver.exe utility to establish communication to the DPM Server.

setdpmserver.exe -dpmservername dpm_server_name

clip_image029

The following firewall rules will be added to the protected server.

clip_image030

The agent is now successfully installed on the Windows Server 2003 computer so now we need to attach the agent on the DPM Server.

Back on the DPM 2012 R2 UR server, start the DPM Powershell console and run the Attach-ProductionServer.ps1 script. It will prompt for the required parameters, so specify DPMSERVER, PSNAME, USERNAME, PASSWORD, DOMAIN and it should attach successfully.

IMPORTANT: You cannot use the ATTACH option in the DPM Console - that will not establish communication with the Windows 2003 server. Always use the PowerShell Attach-ProductionServer.ps1 script.

clip_image032

Back in the DPM Console, the new server should show up under Unprotected Computer with Agents and the agent should show OK with version 4.1.3441.0.

NOTE: You may need to perform a refresh twice before it shows OK.

clip_image034

Stopping protection and removing the agent for Windows Server 2003 computers

Before you can uninstall an agent, you must first stop protection for any data sources that DPM is protecting on that server. You can chose to delete the replica or chose not to so the recovery points are available for restoration at a later time. There cannot be active protection if you want to remove a servers agent on the DPM Server.

clip_image036

Once protection has been stopped you can then uninstall the agent, however you must use the Remove-productionserver.ps1 script using PowerShell. If you attempt to uninstall the agent using the DPM Console it will fail with the error 33241.

clip_image037

Open a DPM PowerShell window and execute RemoveProductionServer.ps1 which will prompt for the DPMServer name and PSname. You should use the FQDN of the production server name.

clip_image039

After it completes, the protected server will no longer show as being installed.

clip_image041

On the protected server you must manually remove the DPM agent using Add or Remove Programs.

Michael Jacquet | Senior Support Escalation Engineer| Microsoft GBS Management and Security Division

Get the latest System Center news onFacebookandTwitter:

clip_image001clip_image002

System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Windows Intune: http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
The AD RMS blog: http://blogs.technet.com/b/rmssupp/

App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

KB: System Center 2012 Data Protection Manager agent installation fails with error 319

$
0
0

KB73343332Here’s some information on a new KB article we recently published. The issue is that when you install the Microsoft System Center 2012 Data Protection Manager (DPM 2012) agent on a destination computer, the installation fails and you receive the following error message:

Install protection agent on name.domain.com failed:
Error 319: The agent operation failed because of a communication error with the DPM Agent Coordinator service on name.domain.com.
Error details: The RPC server is unavailable (0x800706BA)
Recommended action: 1) Verify that name.domain.com is remotely accessible from the DPM server.
2) If a firewall is enabled on name.domain.com, make sure that it is not blocking requests from the DPM server. Refer to the DPM Deployment Guide for more information on configuring the firewall for DPM.

Additionally, the DPM-Alerts event log displays the following event:

Log Name: DPM Alerts
Source: DPM-EM
Date: <date>
Event ID: 370
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: name.domain.com
Description:
Agent operation failed. (ID: 370)
The agent operation failed because of a communication error with the DPM Agent Coordinator service on name.domain.com. (ID: 319)

For all the details and a resolution, please see the following:

KB2981833 - System Center 2012 Data Protection Manager agent installation fails with error 319 (http://support.microsoft.com/kb/2981833)

J.C. Hornbeck| Solution Asset PM | Microsoft GBS Management and Security Division

Get the latest System Center news onFacebookandTwitter:

clip_image001clip_image002

System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Windows Intune: http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
The AD RMS blog: http://blogs.technet.com/b/rmssupp/

App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

KB: "Error ID: 470" when you run the dpmsync -restoredb command in Data Protection Manager 2012

$
0
0

KB73343332

When you use the Dpmsync.exe utility to restore a Microsoft System Center 2012 Data Protection Manager (DPM 2012) database, the restore operation fails and you receive the following error message:

Error ID: 470
DPM database is not present in the instance of SQL Server. Check that the DPM database is present in the given instance of SQL Server.
Detailed Error: Invalid object name 'dpmdb.dbo.sysfiles'.

For all the details including the cause and a resolution, please see the following:

KB2968666 - "Error ID: 470" when you run the dpmsync -restoredb command in Data Protection Manager 2012 (http://support.microsoft.com/kb/2968666)

J.C. Hornbeck| Solution Asset PM | Microsoft GBS Management and Security Division

Get the latest System Center news onFacebookandTwitter:

clip_image001clip_image002

System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Windows Intune: http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
The AD RMS blog: http://blogs.technet.com/b/rmssupp/

App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

Update Rollup 7 for System Center 2012 Data Protection Manager SP1 is now available

$
0
0

 Update Rollup 7 for System Center 2012 Data Protection Manager SP1 has been released and is now available for download. Details regarding the issues fixed in this update rollup as well as download and installation instructions can be found in the KB article below.

2966012 - Update Rollup 7 for System Center 2012 Data Protection Manager SP1 (http://support.microsoft.com/kb/2966012)

J.C. Hornbeck| Solution Asset PM | Microsoft GBS Management and Security Division

Get the latest System Center news onFacebookandTwitter:

clip_image001clip_image002

System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Windows Intune: http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
The AD RMS blog: http://blogs.technet.com/b/rmssupp/

App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/


Update Rollup 3 for System Center 2012 R2 Data Protection Manager is now available

$
0
0

 Update Rollup 3 for System Center 2012 R2 Data Protection Manager has been released and is now available for download. Details regarding the issues fixed in this update rollup as well as download and installation instructions can be found in the KB article below.

2966014 - Update Rollup 3 for System Center 2012 R2 Data Protection Manager (http://support.microsoft.com/kb/2966014)

J.C. Hornbeck| Solution Asset PM | Microsoft GBS Management and Security Division

Get the latest System Center news onFacebookandTwitter:

clip_image001clip_image002

System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Windows Intune: http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
The AD RMS blog: http://blogs.technet.com/b/rmssupp/

App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

Hyper-V backup at Private Cloud scale

$
0
0

Update Rollup 3 (UR3) for DPM 2012 R2 brings key enhancements for VM backups that will ensure guaranteed backup SLAs and make backups much more efficient at scale for a virtualized deployment. The current update is aimed at minimizing the impact that backup has on the production storage infrastructure for private cloud deployments (1000s of VMs) on Windows Server 2012 R2.

We support both the configurations for Hyper-V deployments as listed below:

  • VMs hosted on a Hyper-V cluster with storage on SMB shares backed by a Scale-Out File Server cluster (Hyper-V over SOFS)
  • VMs hosted on a Hyper-V cluster with storage on Clustered Shared Volumes (Hyper-V over CSV)

Scale testing on SOFS

We have done extensive scale testing by taking continuous daily backups for 3 weeks using Virtualized DPM servers. The guest OS used for the protected VMs was Windows Server 2012 R2. The workload running inside each of the VMs was spread across multiple IO profiles (SQL OLTP, Exchange, File Server, Video Streaming, SQL Decision Support System). 

Here are the details of the Hyper-V over SOFS deployments:

image
ConfigurationHyper-V over SOFS
# of Hyper-V Hosts24
VM Config (RAM)2-8 GB
VM Disk Size120 GB (20 GB for OS + 100 GB for data)
Total # of VMs1000
VM Churn per day5%
SOFS Cluster Nodes4
# of Virtual DPM Servers8

We scale tested with each DPM server protecting between 50 to 250 VMs. DPM VMs were deployed in scale-out configuration to protect VMs from the same Hyper-V cluster nodes. We pivoted the results around the following criteria:  

  • Backup success rate per day – This signifies the percentage of VMs having successful backups in a single day.
  • Overall backup success rate – This signifies overall percentage of successful backups across all VMs for a 3 week duration.

We achieved more than 98% for both the metrics. It also implies that there were more than 20,000 jobs than ran successfully during this 3 weeks duration. The few errors that we encountered were due to known auto-recoverable failures - such as "Out of storage space" and "Retry-able VSS errors".

Stress testing on SOFS

We stress tested the Hyper-V backups on a slightly different scale (2 DPM servers protecting 500 VMs), taking 8 backups a day (every 3 hours) for more than a week. Here’s a 3 min video which shows the backup in action:

Scale testing on CSV

We did scale testing for Hyper-V over CSV and got similar results. 

image
ConfigurationHyper-V over CSV
# of Hyper-V Hosts12
VM Config (RAM)1-8 GB
VM Disk Size50 GB (20 GB for OS + 30 GB for data)
Total # of VMs600
SAN Make/ModelDell Compellent SC8000
# of CSV12
# of Virtual DPM Servers2

 

DPM Deployment

The recommended virtualized deployment model is to provision backup storage through VHDs residing on Scale-out File Server (SOFS) shares.

A suggested DPM deployment configuration would look like the one mentioned below:

Virtual Processors4
RAM8 GB
NIC10 Gbps
Storage20 TB (1 TB X 20) Dynamic VHDs on SMB share

This configuration has a few advantages:

  1. Virtualized DPM setup allows easy scale-out
  2. SOFS cluster provides storage resiliency
  3. VHDs used as the backup storage provides flexibility for data growth

Additionally, we heard some customers required the flexibility to run backups during off-peak hours, so the concept of a Backup Window for VM data sources was introduced. Here is how you can set the backup window using PowerShell (ensure that the backup schedule aligns with the StartTime parameter used in Set-DPMBackupWindow):

Set-DPMBackupWindow -ProtectionGroup <ModifiablePGObject> -StartTime 23:00 -DurationInHours 6

Set-DPMProtectionGroup <ModifiablePGObject>

Now that you have seen scalable VM backup in action, try it out yourself. Installation instructions for this DPM update are provided in KB 2966014.

    Introducing Long Term Retention for DPM Azure cloud backups

    $
    0
    0

    We are pleased to announce the availability of long term retention for Azure cloud backups in Update Rollup 3 (UR3) for System Center 2012 R2 Data Protection Manager and the latest release of Microsoft Azure Backup. This is one of the most voted feature on Azure Backup feedback forum so we look forward to your feedback once you start using it.

    We have integrated the experience in the same configuration screen that you currently use for setting retention policies when using Azure as the target in DPM. You need to select the weekly option that allows you to specify the schedule for longer retention range. The screenshot below shows as sample schedule with a maximum retention of 3360 days.

    Figure 1: Once every 4 weeks backup on Sundays at 9pm

    image

    Before explaining the retention range and schedule, it is important to understand how the recovery points are modeled in Azure back-up.  Each back-up is stored as a recovery point and we can currently store up to 120 recovery points which is limited to a retention range of 120 days.  Although the 120 retention point limit is still in place, we have enhanced the feature to allow a less granular option of weekly back-ups to model a longer retention period. Here is the full range of options for the maximum retention possible with this change.

    Synchronize every <n> weeksMaximum Retention computationMaximum Retention in days
    1120 x 7 x 1840
    2120 x 7 x 21680
    3120 x 7 x 32520
    4120 x 7 x 43360

    Instead of using the above calculation to compute the retention range, you might wish to specify the retention range in terms of your business requirement which might be “I need a monthly back-up to be retained for 5 years”.  In this case, you can derive the number of days by multiplying with 365 (adding a correction for leap years as needed).  Here are some of the popular retention ranges we have heard from customers to illustrate the calculation. You will need to derive it similarly for your business requirement

    Retention in yearsRetention in daysLeap year correctionTotal Retention in days
    1365 x 1+1366
    5365 x 5+21827
    9365 x 9+33288

    Depending on either method you use  to compute the retention range, you need to then enter the value in the “Retention range in days” field.  The rest of the feature works as it does currently except that you can retain your data for a much longer period.  Please click the relevant links below to get started and do send us your comments/feedback.  Thanks !

    HOTFIX: A backup to Azure Backup fails if the data source is larger than 850 GB

    $
    0
    0

    Hotfix160_thumb2When you use Azure Backup to back up your data, the backup fails if the data source is larger than 850 gigabytes (GB). A typical data source in such a case is a volume, a Hyper-V virtual machine or a Microsoft SQL Server database.

    For additional details and a link to a downloadable hotfix that resolves this issue, please see the following:

    KB2989574 - A backup to Azure Backup fails if the data source is larger than 850 GB (http://support.microsoft.com/kb/2989574)

    J.C. Hornbeck| Solution Asset PM | Microsoft GBS Management and Security Division

    Get the latest System Center news onFacebookandTwitter:

    clip_image001clip_image002

    System Center All Up: http://blogs.technet.com/b/systemcenter/
    System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
    System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
    System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
    System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
    System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
    System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

    Windows Intune: http://blogs.technet.com/b/windowsintune/
    WSUS Support Team blog: http://blogs.technet.com/sus/
    The AD RMS blog: http://blogs.technet.com/b/rmssupp/

    App-V Team blog: http://blogs.technet.com/appv/
    MED-V Team blog: http://blogs.technet.com/medv/
    Server App-V Team blog: http://blogs.technet.com/b/serverappv

    The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
    The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
    The Forefront TMG blog: http://blogs.technet.com/b/isablog/
    The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

    Azure IaaS workload protection using Data Protection Manager

    $
    0
    0

    System Center Data Protection Manager (DPM) is an established backup product for protecting Microsoft on-premise workloads. As our customers move some or all of their infrastructure to Azure, a key ask is the ability to back up workloads now running in Azure. In order to cater to this need, we now support DPM running in an Azure IaaS VM, to protect Azure IaaS workloads.

    Supported deployment

    Figure 1: Supported deployment of DPM in Azure for workload protection Figure 1: Deployment of DPM in Azure for workload protection

    The supported configuration is illustrated in the above diagram. The DPM installation prerequisites remain the same, as described in the TechNet documentation.

    • DPM is supported on any Azure IaaS virtual machine that is size A2 or higher.
    • DPM can protect workloads that run across multiple Azure cloud services that have the same Azure virtual network and Azure subscription.
    • The number of disks that can be used for the target storage (DPM storage pool) is limited by the size of the virtual machine (maximum of 16). For more information about size limits, see Azure Virtual Machines.

    Recommendations for setting up DPM as an Azure virtual machine

    1. Create an instance in the Standard compute tier because the maximum IOPS per attached disk is higher in the Standard tier than in the Basic tier.
    2. Use a separate storage account for the DPM virtual machine, because there are size and IOPS limits on a storage account that might impact the performance of the DPM virtual machine if shared with other running virtual machines.
    3. The DPM virtual machine and the protected workloads should be part of the same Azure virtual network.
    4. The following table summarizes the maximum number of protected workloads for each DPM virtual machine size. The information is based on internal performance and scale tests with canonical values for the workload size and churn. The actual workload size can be larger but should be accommodated by the disks attached to the DPM virtual machine.

      DPM VM size

      Max. number of protected workloads

      Avg. workload size

      Avg. workload churn

      Sample workload

      A2

      20

      100 GB

      Net 5% churn daily

      SQL, File server

      A3

      40

      150 GB

      Net 10% churn daily

      SQL, File server

      A4

      60

      200 GB

      Net 15% churn daily

      SQL, File server

    5. Retain data for one day on DPM-attached storage, and store data older than one day in the Azure Backup service. The goal is to protect a larger amount of data or have a longer retention range. Offloading backup data from DPM to Azure Backup provides retention flexibility without the need to scale the storage attached to the DPM server. 

    Protecting workloads

    Use the console in the DPM virtual machine to perform all the standard backup operations like installing the DPM agent, setting up the protection group, recovering data, and monitoring backup and recovery jobs. DPM running as an Azure virtual machine also works seamlessly with the Azure Backup service to protect certain supported workloads. See the documentation on TechNet for more information.

    Supported workloads

    Only a subset of the workloads supported by DPM on-premise are supported for protection in an Azure deployment. The table below summarizes the backup support for Azure-supported workloads. Workloads that are not supported in Azure are not included in the table.

     DPM 2012 R2DPM 2012 with SP1 DPM 2012 Protection and Recovery
    Windows Server 2012 R2 – Datacenter and StandardYNNVolumes, Files, Folders
    Windows Server 2012 – Datacenter and StandardYYNVolumes, Files, Folders
    Windows Server 2008 R2 SP1 – Standard and EnterpriseYYYVolumes, Files, Folders
    SQL Server – 2012, 2008 R2, 2008YYYSQL Server Database
    SharePoint – 2013, 2010YYYFarm, Database, Frontend web server content

     

    Key Takeaways

    1. DPM can now run as an Azure IaaS virtual machine
    2. Customers can protect workloads running in Azure IaaS virtual machines using DPM

    Please click on the relevant links below to get started and do send us your comments and feedback!

    How to protect your Data Protection Manager SQL database

    $
    0
    0

    ~ Mike Jacquet

    GearsHello, Mike Jacquet here, and today I’d like to discuss several options to help you adequately protect the DPM SQL database in the event of physical or logical corruption, DPM/SQL Server failure, disk failure or site disaster.

    The database for System Center 2012 Data Protection Manager (DPM 2012) contains all the information that you see when you open the DPM console and lots of information you do not see that allows DPM to function. For the most part, you can rebuild a DPM server from scratch and be back in business if you have a recent backup copy of the DPM database. Tape based backups would be accessible and all protection group settings and backup schedules would be maintained. If the DPM storage pool disks were not affected by the outage then the disk-based backups would also be usable after a rebuild.

    Making a backup of the DPM database using DPM itself seems to be some sort of oxymoron as you ask yourself “Wait, if DPM is down, how can I restore the database?” However, with a little preplanning there are several obvious and some not so obvious options that make it easy to recover a DPM backup of the DPM database.

    Here are the backup options I would like to discuss in detail and offer pros and cons of each. You can chose to use more than one option for added protection.

    1. Using DPM to back up the DPMDB to DPM storage pool.

    2. Using DPM to back up the DPMDB to tape.

    3. Using Native SQL Server backup to back up the DPMDB to a local share, and have DPM protect the share using disk-to-disk protection.

    4. Using DPM to back up the DPMDB to Azure using online backup.

    5. Using a Secondary DPM Server to back up the DPMDB of the Primary DPM Server and vice versa if desired. This is called Cyclic protection.

    6. Using DPMBACKUP -DB to make backup of DPMDB.

    7. Use Native SQL Server backup and not use DPM for backup at all.

    How to restore a DPMDB from a recent backup

    Using DPM to back up the DPMDB to DPM storage pool

    • Pro - Easily configured and monitored in DPM.
    • Pro – DPM scheduled backups support 512 express full backups. If done hourly, this provides 21 days of short term protection. If done every 30 minutes, it provides 10 days of protection.
    • Pro - The backup is kept on DPM storage pool disks and is locally accessible.
    • Con - Not a good option for disaster recovery. DPM Server or DPM storage pool disk failure may hinder recovery efforts.
    • Con - Not an option if the DPM DB is hosted locally and you want to enable secondary protection. A workaround would be to use a remote SQL Server to host the DPMDB.
    • Con - Some preparation and special steps are required to gain access to the recovery points if the DPM service or console is non-operational.

    Preparation Before Failure

    A) You will need to know the DPM Replica volume Mount point path or Volume GUID beforehand so you know what volume holds the DPMDB backup. You can use the SQL script below to extract that information any time after initial protection but before the need to restore. Save the information in a safe place so that it is easily obtainable should a disaster occur. Note that you will need to replace %dpmsqlservername% with the name of the SQL Server hosting the DPMDB.

    Select ag.NetbiosName as
    ServerName,ds.DataSourceName,vol.MountPointPath,vol.GuidName
    from tbl_IM_DataSource as ds
    join tbl_PRM_LogicalReplica as lr on ds.DataSourceId=lr.DataSourceId
    join tbl_AM_Server as ag on ds.ServerId=ag.ServerId
    join tbl_SPM_Volume as vol on lr.PhysicalReplicaId=vol.VolumeSetID
    and vol.Usage =1 -- Replica=1, DiffArea=2
    and lr.Validity in (1,2)
    where ds.datasourcename like '%dpmdb%'
    and servername like '%dpmsqlservername%' --netbios name of server hosting DPMDB

    Here is sample output from this query:

    clip_image002

    B) You will need a copy of psexec.exe from here on the DPM Server.

    How to Recover

    Assuming the DPM server itself is still operational and the storage pool is intact but the DPM service or console has problems, use the following steps to copy the DPMDB from the Replica volume or a shadow copy.

    A) Decide from which time you want to recover the DPMDB database.

    1. If you want to copy the DPMDB from the last backup taken directly off of the DPM Replica volume, use mountvol.exe to assign a drive letter to the replica volume using the guid from the SQL script output. For example:

    C:\Mountvol X: \\?\Volume{d7a4fd76-a0a8-11e2-8fd3-001c23cb7375}\

    2. If you want to copy the DPMDB from a previous recovery point (Shadow copy) then you need to list all the shadow copies for the replica using the volume GUID from the SQL script output. The command below will list all the shadow copies for that volume.

    C:\>Vssadmin list shadows /for=\\?\Volume{d7a4fd76-a0a8-11e2-8fd3-001c23cb7375}\

    Note the creation time and the Shadow Copy ID you want to recover from. Here is an example from my computer:

    C:\Windows\system32>vssadmin list shadows /for=\\?\Volume{d7a4fd76-a0a8-11e2-8fd3-001c23cb7375}\
     

    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool

    (C) Copyright 2001-2013 Microsoft Corp.

     

    Contents of shadow copy set ID: {7c67f31b-9b5b-45fc-8c9c-3688cce6bc87}

       Contained 1 shadow copies at creation time: 7/1/2014 8:00:03 PM

          Shadow Copy ID: {9f521455-dd96-4a80-8ad0-b5b1892c2f31}

             Original Volume: (C:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\)\\?\Volume{d7a4fd76-a0a8-11e2-8fd3-001c23cb7375}\

             Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy162

             Originating Machine: lc2-dpmlib2.Contoso.com

             Service Machine: lc2-dpmlib2.Contoso.com

             Provider: 'Microsoft Software Shadow Copy provider 1.0'

             Type: DataVolumeRollback

             Attributes: Persistent, No auto release, No writers, Differential

     

    Contents of shadow copy set ID: {c23c0987-4ebe-462f-9bd4-c90ffbefc725}

       Contained 1 shadow copies at creation time: 7/2/2014 8:00:02 PM

          Shadow Copy ID: {ad959229-4f9f-43ce-8c84-014fdbf81a08}

             Original Volume: (C:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\)\\?\Volume{d7a4fd76-a0a8-11e2-8fd3-001c23cb7375}\

             Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy164

             Originating Machine: lc2-dpmlib2.Contoso.com

             Service Machine: lc2-dpmlib2.Contoso.com

             Provider: 'Microsoft Software Shadow Copy provider 1.0'

             Type: DataVolumeRollback

             Attributes: Persistent, No auto release, No writers, Differential

     

    Now use diskshadow.exe to mount the shadow copy to an unused drive letter X: using the shadow copy ID so you can copy the DPMDB files. Here’s an example:

     

    C:\>diskshadow.exe
    Microsoft DiskShadow version 1.0
    Copyright (C) 2013 Microsoft Corporation
    On computer:  LC2-DPMLIB2,  7/3/2014 4:31:42 PM
     
    DISKSHADOW> expose {ad959229-4f9f-43ce-8c84-014fdbf81a08} X:
    The shadow copy was successfully exposed as X:\.
     
    DISKSHADOW> exit

    B) Open an administrative command prompt and run psexec.exe -s cmd.exe to start a command prompt in system context so you have permissions to navigate the replica volume (X:) to copy out the files.

    C:\>psexec.exe -s cmd

    PsExec v1.96 - Execute processes remotely

    Copyright (C) 2001-2009 Mark Russinovich

    Sysinternals - www.sysinternals.com

     

    Microsoft Windows [Version 6.3.9600]

    (c) 2013 Microsoft Corporation. All rights reserved.

     

          C:\Windows\system32>

    Now CD to the X: drive and navigate down to the location of DPM SQL database files and copy them to a location that is easy to restore from.

    C:\Windows\system32>X:
     
    X:\>dir
     Volume in drive X is DPM-vol_850b95be-b942-4351-
     Volume Serial Number is 6E39-5066
     
     Directory of X:\
     
    07/01/2014  08:10 PM    <DIR>          26ee79bf-f37d-49ac-970c-cfb1d016b39c
    06/18/2014  08:00 PM                30 {26EE79BF-F37D-49AC-970C-CFB1D016B39C}checkpoint
                   1 File(s)             30 bytes
                   1 Dir(s)   8,654,036,992 bytes free
     
    X:\>cd 26ee79bf-f37d-49ac-970c-cfb1d016b39c
    X:\26ee79bf-f37d-49ac-970c-cfb1d016b39c>
    ...
    ..
    .
    X:\26ee79bf-f37d-49ac-970c-cfb1d016b39c\Full\C-Vol\Program Files\Microsoft DPM\DPM\DPMDB>dir
     Volume in drive E is DPM-vol_850b95be-b942-4351-
     Volume Serial Number is 6E39-5066
     
     Directory of X:\26ee79bf-f37d-49ac-970c-cfb1d016b39c\Full\C-Vol\Program Files\Microsoft DPM\DPM\DPMDB
     
    02/10/2014  11:28 AM    <DIR>          .
    02/10/2014  11:28 AM    <DIR>          ..
    06/24/2014  06:58 PM     7,171,211,264 MSDPM2012$DPMDB.mdf
    06/24/2014  06:58 PM    27,038,842,880 MSDPM2012$DPMDB_log.ldf
                   2 File(s) 34,210,054,144 bytes
                   2 Dir(s)   8,654,036,992 bytes free
     
     
     
    X:\26ee79bf-f37d-49ac-970c-cfb1d016b39c\Full\C-Vol\Program Files\Microsoft DPM\DPM\DPMDB>copy *.* c:\temp
    MSDPM2012$DPMDB.mdf
    MSDPM2012$DPMDB_log.ldf

     2 file(s) copied.

    C) After the copy is complete, exit the psexec cmd window, then run diskshadow.exe and unexposed the x: volume.

     

    C:\>Diskshadow.exe
    DISKSHADOW> unexpose X:
    Shadow copy ID {ad959229-4f9f-43ce-8c84-014fdbf81a08} is no longer exposed.%DPMDB

    D) You can now restore the DPMDB files using SQL Management Studio or DPMSYNC -RESTOREDB commands.

    Using DPM to back up the DPMDB to tape

    • Pro - Easily configured and monitored in DPM.
    • Pro – DPM scheduled tape backups support retention up to 99 years.
    • Pro - Tape backup can be taken offsite for disaster recovery.
    • Pro - Tape backup can be restored from any other DPM server that has a tape drive/library attached that uses the same tape media type.
    • Pro - Tape can be encrypted for secure storage.
    • Con - Not an option if the DPM DB is hosted locally and you want to enable secondary protection. Workaround would be to use a remote SQL Server to host the DPMDB.
    • Con - Only one tape backup per day can be scheduled.
    • Con - Need a working DPM server with a tape library to be able to read a DPM backup tape that contains the copy of the database you want to restore.
    • Con - Some preparation and special steps are required to gain access to the tape based recovery points.

    Preparation Before Failure

    You will need to know the barcode or tape labels of the tapes that contain a copy of the DPM database. The best way to accomplish that is to schedule a Status Report to be mailed on the same day that the DPM database is backed up. The report will include the last backup date/time, the tape label and the barcode so that you can locate it for recovery.

    clip_image004

    You can also use the SQL script below to extract the information from the current database so you can to store it separately in case of disaster.

    Select Path,ro.FileSpec,media.Label,media.BarcodeValue,pd.CreationDate,
    pd.ExpiryDate,pd.LifeStatus as "1=valid, 2=expired"
    from dbo.tbl_MM_MediaMap mm
    join dbo.tbl_MM_PhysicalDataset pd on pd.datasetid = mm.datasetid
    join dbo.tbl_MM_Media media on media.MediaId = mm.MediaId
    join dbo.tbl_RM_RecoverableObjectFileSpec ro on ro.DatasetId = mm.DatasetId
    where ro.filespec like '%DPMDB%'
    order by CreationDate desc

    Sample output from the SQL query above:

    clip_image006

    How to Recover

    This may take a little bit of pre-planning depending on the tape hardware available at the time as well as the current state of the DPM server that took the tape-based backup. If you cannot restore the tape backup from the DPM server that took the backup, you will need to restore it from another DPM server that has the same type of tape drive so the tape can be read. You may have to rebuild the DPM server if the only tape hardware available was the one attached to the failed DPM server. In any case, the restoration steps will be the same.

    IMPORTANT! If you are using DPM tape encryption, you will need the same certificate used to encrypt the tape installed on the alternate DPM server.

    A) Locate the physical tape that contains the version/date-time of the DPM database you want to restore.

    B) Insert the backup tape into the tape drive or library and perform a detailed inventory in the DPM console under Management –> Libraries.

    NOTE If the DPM server you are restoring from is a different DPM server, or it is a new installation of DPM on the original server, the tape will be shown as imported, meaning it was not created by this DPM server.

    C) If necessary, recatalog the imported tape.

    D) On the recovery tab, locate the DPMDB data source. If it was from an imported tape, the recovery point will be under the "External DPM tapes" tree.

    E) Recover the DPMDB files. Depending on the circumstance, you can select to "Recover to any instance of SQL Server" or "Copy to a network folder".

    F) Once the files are restored from tape, continue with recovery steps using SQL Management Studio or DPMSYNC -RESTOREDB commands.

    Using Native SQL Server backup to back up the DPMDB to a share, and have DPM protect the share using disk-to-disk protection

    • Pro - Easily monitored in DPM.
    • Pro - Multiple locations of the backup database files.
    • Pro - Easily accessible from any Windows machine on the network.
    • Pro - Potentially the fastest recovery method.
    • Con - Only supports 64 recovery points.
      Con - Not a good option for site disaster recovery. DPM server or DPM storage pool disk failure may hinder recovery efforts.
    • Con - Not an option if the DPM DB is hosted locally and you want to enable secondary protection. A workaround would be to use a remote SQL Server to host the DPMDB.
    • Con - Some extra preparation is needed to get it configured and tested.
    • Con - Some extra preparation and recovery time is needed should the DPM server itself be down but DPM storage pool disks are fine.

    Required Initial Setup Steps

    This option is one of my favorites since recovery can potentially be the easiest and fastest of all the other options. We are leveraging native OSQL utility to make the DPM database backup and Windows VSS previous versions to facilitate the restore.

    NOTE This works best if you enable DPM End User Recovery but it is not required.

    A) If the SQL Server hosting the DPMDB is a remote SQL Server, install a DPM agent on the remote SQL Server.

    B) On the SQL Server hosting the DPM database, make a folder on a drive with enough free space to hold a single copy of a backup. In my example I chose C:\DPMBACKUP as the backup location and folder.

    C) Share the C:\DPMBACKUP folder as DPMBACKUP.

    D) Copy and paste the OSQL command below into Notepad and save it to a file named  C:\DPMBACKUP\bkupdb.cmd. Make sure there is no .txt extension. Modify the SQL_Instance_name and DPMDB_NAME to match the instance and DPMDB name used by your DPM server.

    OSQL -E -S localhost\SQL_INSTANCE_NAME -Q "BACKUP DATABASE DPMDB_NAME TO DISK='C:\DPMBACKUP\dpmdb.bak' WITH FORMAT"

    E)Using Notepad, open the ScriptingConfig.xml file located under the ...\DPM\Scripting folder.

    • This would be C:\Program Files\Microsoft Data Protection Manager\DPM\Scripting on a remote SQL server.
    • This would be C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Scripting on a DPM 2012 R2 server.
    • This would be C:\Program Files\Microsoft System Center 2012\DPM\DPM\Scripting on a DPM 2012 or DPM 2012 SP1 server.
    • This would be C:\Program Files\Microsoft DPM\DPM\Scripting on a DPM 2010 server or a DPM 2012 server that had been upgraded from DPM 2010.

    F)Modify ScriptingConfig.xml and change DataSourceName= to be the drive letter that contains the DPMDBBACKUP folder/share. Change the PreBackupScript entry to the full path and name of the bkupdb.cmd saved in step D.

    <?xml version="1.0" encoding="utf-8"?>
    <ScriptConfiguration xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"

    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"

    xmlns="
    http://schemas.microsoft.com/2003/dls/ScriptingConfig.xsd"
    >
    <DatasourceScriptConfig DataSourceName="C:">
    <PreBackupScript>C:\DPMDBBACKUP\bkupdb.cmd</PreBackupScript>
    <TimeOut>120</TimeOut>
    </DatasourceScriptConfig>
    </ScriptConfiguration>

    G)Save the changes to ScriptingConfig.xml.

    H) Protect the C:\DPMBACKUP folder or the \\sqlservername\DPMBACKUP share using DPM and wait for the initial replica to be created. There should be a dpmdb.bak in the C:\DPMBACKUP folder as a result of the pre-backup script running which was in turn copied to the DPM replica.

    Optional steps to share out the DPMBACKUP folder on the replica if DPM End User Recovery (EUR) feature is not enabled.

    A) In the DPM console under Protection, locate the DPMBACKUP data source and select it. In the details section, click on the link to the Replica Path that says "Click to view Details" and copy the path into Notepad. Remove the source path and retain the destination path. The path should look similar to the following:

    C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\File System\vol_c9aea05f-31e6-45e5-880c-92ce5fba0a58\454d81a0-0d9d-4e07-9617-d49e3f2aa5de\Full\DPMBACKUP

    B) Make a share to that path using a sharename of DPMSERVERNAME-DPMDB. You can use the Net Share command below from an administrative command prompt.

    Net Share DPMSERVERNAME-dpmdb="C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\File System\vol_c9aea05f-31e6-45e5-880c-92ce5fba0a58\454d81a0-0d9d-4e07-9617-d49e3f2aa5de\Full\DPMBACKUP"

    How to Recover

    A) Connect to the \\DPMServer\DPMSERVERNAME-dpmdb share using Explorer from any Windows computer.

    B) Right-click the dpmdb.bak file to view properties. On the Previous Versions tab will be listed all the backups that you can select and copy. There is also the very last backup still located in the C:\DPMBACKUP folder which is also easily accessible.

    Preparation Before a Complete DPM Server Failure

    If you need to move a SAN attached DPM storage pool disk to another server to be able to read from the replica volume, or to re-install Windows to read locally attached disks, you will need to know the DPM Replica volume Mount point path or Volume GUID beforehand so you know what volume holds the DPMDB backup. You can use the SQL script below to extract that information any time after initial protection but before the need to restore. Replace the %dpmsqlservername% with the name of the SQL Server hosting the DPMDB.

    Select ag.NetbiosName as
    ServerName,ds.DataSourceName,vol.MountPointPath,vol.GuidName
    from tbl_IM_DataSource as ds
    join tbl_PRM_LogicalReplica as lr on ds.DataSourceId=lr.DataSourceId
    join tbl_AM_Server as ag on ds.ServerId=ag.ServerId
    join tbl_SPM_Volume as vol on lr.PhysicalReplicaId=vol.VolumeSetID
    and vol.Usage =1
    and lr.Validity in (1,2)
    where ds.datasourcename like '%C:\%' -- volume drive letter for DPMBACKUP
    and servername like '%dpmsqlservername%' --netbios name of server hosting DPMDB

    Sample Output from SQL query above:

    How to Recover After Moving DPM Storage Pool Disks or a DPM Server Rebuild

    A) Now that you have the volume GUID, should that volume need to be mounted on another Windows server or after a DPM server rebuild, use mountvol.exe to assign it a drive letter using the volume GUID from the SQL script output.

    C:\Mountvol X: \\?\Volume{d7a4fd76-a0a8-11e2-8fd3-001c23cb7375}\

    B) Re-share the DPMBACKUP folder on the replica volume using the drive letter and portion of the replica path representing the folder structure.

    net share SERVERNAME-DPMDB="X:\454d81a0-0d9d-4e07-9617-d49e3f2aa5de\Full\DPMBACKUP"

    C) Connect to the \\SERVERNAME\DPMSERVERNAME-dpmdb share using Explorer from any Windows computer.

    D) Right-click the dpmdb.bak file to view the Properties. On the Previous Versions tab will be listed all the backups that you can select and copy.

    Using DPM to back up the DPMDB to Azure using online backup

    • Pro - Easily configured and monitored in DPM.
    • Pro - Multiple locations of the backup database files.
    • Pro - Cloud storage is excellent choice for Site Disaster Recovery.
    • Pro - Most secure storage of DPMDB.
    • Pro - Support 120 online recovery points.
    • Con - This option is only available on DPM 2012 SP1 or later.
    • Con - Requires Azure account and additional DPM configuration.
    • Con - Slight cost for Azure storage.
    • Con - Requires an alternate Windows Server 2012 based system with the Azure agent to gain access to DPM backups stored in the Azure backup vault. This cannot be another DPM server. You must also have the certificate used for the backup vault and know the same passphrase used on the DPM server from which you want to restore backups.
    • Con - Not an option if the DPM DB is hosted locally and you want to enable secondary protection. A workaround would be to use a remote SQL Server to host the DPMDB.
    • Con - Some extra preparation and recovery time.
    • Con - Some Windows PowerShell commands are required so PS knowledge is helpful but not necessary.

    This post will not cover setting up a backup vault and installing the Azure agent on the DPM server since that is covered in detail in the TechNet article below. Instead, I will concentrate on the steps necessary to restore a DPM backup from Azure backup vault using Windows PowerShell.

    Back up DPM workloads to Azure (http://msdn.microsoft.com/en-us/library/azure/dn337332.aspx)

    Preparation Before a Complete DPM Server Failure

    If you need to recover a DPMDB backup from Azure storage, you will need to know the DPM replica volume Mount point path so that you know what recovery point has the DPMDB backup. You can use the SQL script below to extract that information any time after initial protection but before the need to restore. Save the information in a safe place that is easily accessible should a disaster occur. Replace %dpmsqlservername% with the name of the SQL Server hosting the DPMDB.

    Select ag.NetbiosName as ServerName,ds.DataSourceName,vol.MountPointPath
    from tbl_IM_DataSource as ds
    join tbl_PRM_LogicalReplica as lr on ds.DataSourceId=lr.DataSourceId
    join tbl_AM_Server as ag on ds.ServerId=ag.ServerId
    join tbl_SPM_Volume as vol on lr.PhysicalReplicaId=vol.VolumeSetID
    and vol.Usage =1
    and lr.Validity in (1,2)
    where ds.datasourcename like '%dpmdb%'
    and servername like '%dpmsqlservername%' --netbios name of server hosting DPMDB

    Sample Output from the SQL query above:

    clip_image007

    How to Recover

    A) On any Windows 2008R2 / 2012 server that has internet access, install the Certificate and the Windows Backup Feature.
    Note: This cannot be a server with DPM installed.

    B) Sign into the Windows Azure portal, and in Recovery Services under the backup vault, download the agent for Windows Server.

    C) Install the Azure agent.

    D) Launch Windows Azure backup - then register the server. (which requires the same certificate used on the failed DPM server you are attempting to restore.)

    E) Once registered, open a Windows Power shell command window using administrative privileges.

    The PowerShell commands below will detail a single recovery from a backup vault that has backups from two DPM servers. We will restore the latest DPMDB backup for LC2-DPMLIB2 from the backup vault.

    Entries after # are my comments:

    Windows PowerShell
    Copyright (C) 2012 Microsoft Corporation. All rights reserved.
     
    #get a list of servers available to recover backups for.
     
     
    PS C:\Windows\system32> $Server=Get-OBAlternateBackupServer 
    PS C:\Windows\system32> $server    #display the list of servers
     
     
    ServerName : lc2-dpmlib1.Contoso.com
     
    ServerName : lc2-dpmlib2.Contoso.com   # we will restore this DPM servers backup.
     
     
    # The [1] is a zero based index from the list of servers returned above.
     
    PS C:\Windows\system32> $source=Get-OBRecoverableSource -Server $server[1] 
    PS C:\Windows\system32> $source
     
    # Note the datasource path from the SQL Script you ran in preparation step - we want to list recovery points for that data source.  In this case vol_850b95be-b942-4351-83bd-0a1815a936b2.
     
    FriendlyName       : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    RecoverySourceName : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    ServerName         : lc2-dpmlib2.Contoso.com
     
    FriendlyName       : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_79d00c30-4329-4542-b874-ada91b78f90b\
    RecoverySourceName : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_79d00c30-4329-4542-b874-ada91b78f90b\
    ServerName         : lc2-dpmlib2.Contoso.com
     
     
    # list recovery points for the first datasource [0] highlighted above.
     
    PS C:\Windows\system32> $item=Get-OBRecoverableItem -Source $source[0]
    PS C:\Windows\system32> $item
     
    # Note the date / time for the three PointInTime backups listed below.
     
    IsDir                : False
    ItemNameFriendly     : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    ItemNameGuid         : \\?\Volume{d7a4fd76-a0a8-11e2-8fd3-001c23cb7375}\
    LocalMountPoint      : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    MountPointName       : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    Name                 : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    PointInTime          : 6/18/2014 1:00:13 AM
    ServerName           : lc2-dpmlib2.Contoso.com
    ItemSize             :
    ItemLastModifiedTime :
     
    IsDir                : False
    ItemNameFriendly     : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    ItemNameGuid         : \\?\Volume{d7a4fd76-a0a8-11e2-8fd3-001c23cb7375}\
    LocalMountPoint      : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    MountPointName       : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    Name                 : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    PointInTime          : 6/17/2014 1:00:18 AM
    ServerName           : lc2-dpmlib2.Contoso.com
    ItemSize             :
    ItemLastModifiedTime :
     
    IsDir                : False
    ItemNameFriendly     : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    ItemNameGuid         : \\?\Volume{d7a4fd76-a0a8-11e2-8fd3-001c23cb7375}\
    LocalMountPoint      : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    MountPointName       : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    Name                 : c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\SqlServerWriter\vol_850b95be-b942-4351-83bd-0a1815a936b2\
    PointInTime          : 6/16/2014 1:01:16 AM
    ServerName           : lc2-dpmlib2.Contoso.com
    ItemSize             :
    ItemLastModifiedTime :
     
    # we're creating $option variable for the recovery locaton c:\temp - adjust accordingly.
     
    PS C:\Windows\system32> $option = new-OBRecoveryOption -Destinationpath c:\temp -Overwritetype CreateCopy
     
    # Here you need the same DPMPassPhrase used on the DPM Server that created the backup.
     
    PS C:\Windows\system32> $key = ConvertTo-Securestring "DPMPassPhrase" -Asplaintext -force
     
    # Start the recovery for the first backup time 6/18/2014 1:00:13 AM  from above which is $item[0].
     
    PS C:\Windows\system32> start-OBRecovery -recoverableItem $item[0] -EncryptionPassPhrase $key -recoveryOption $option
    Preparing storage...
    Estimating size of backup items...
    Estimating size of backup items...
    Estimating size of backup items...
    Estimating size of backup items...
    Estimating size of backup items...
    Estimating size of backup items...
    Estimating size of backup items...
    Estimating size of backup items...
    Estimating size of backup items...
    Transferring data...
    Transferring data...
    Transferring data...
    Transferring data...
    Transferring data...
    Transferring data...
    Transferring data...
    Transferring data...
    Transferring data...
    Transferring data...
    Transferring data...
    Data transfer completed
    Job completed.
    The recovery operation completed successfully.
    PS C:\Windows\system32>
     
     
    The recover was successful and the DPM database files will be in the location specified $option variable above.

    Using a Secondary DPM Server to back up the DPMDB of the Primary DPM Server and vice versa if desired. This is called Cyclic protection

    • Pro - Easily configured and monitored in DPM.
    • Pro – DPM scheduled backups support 512 express full backups. If done hourly, this provides 21 days of short term protection. If done every 30 minutes it provides 10 days protection.
    • Pro - The backup is kept on the secondary DPM server storage pool disks which is locally accessible.
    • Pro – A good disaster recovery solution if secondary DPM server is offsite.
    • Con - Additional DPM server/storage required. Both DPM servers must to be running the same DPM version and update rollup.

    Preparation Before Failure

    A) On the Secondary DPM server under Management –> Agents, install the DPM agent on the server hosting the DPM SQL database. This may be a remote SQL Server or the primary DPM server itself. Once installed, the server should be shown under "Unprotected server with protection agents" and should show “OK” if refreshed.

    B) Make a new protection group. Under Select group member, expand the resources under the server hosting the DPM database. Under All SQL Servers, select the DPM database to protect.

    C) Select the protection type Disk or Tape, and optionally Online if supported.

    D) Enter the short term goals. For disk, you can have 512 express full backups as often as every 30 minutes.

    E) Finish the Protection Group Wizard. Protection is started once the initial recovery point is made.

    How to Recover

    Recovery should be very straight forward since you are recovering from a fully intact and running secondary DPM server. Recover the database like you would recover any other protected data source using the Recovery Wizard. You should always run DPMSYNC -SYNC after restoring a DPM database.

    Using DPMBACKUP to back up the DPMDB

    • Pro - Easy to run for instant ad-hoc backups
    • Pro - Can be scheduled using Windows Task Scheduler to run as often as you like.
    • Pro - The backup is kept on a local disk which is easily accessible.
    • Pro - Totally Independent of DPM.
    • Con - Not a good option for disaster recovery unless the backups are copied to a remote location.
    • Con - By default the Dpmdb.bak file is overwritten each time dpmbackup.exe is run, so there will be no previous versions unless you rename it afterwards.
    • Con - Requires local storage

    Preparation Before Failure

    The required switches for Dpmbackup.exe have changed after DPM 2012 SP1 and now support sharing a SQL instance between multiple DPM servers. If you have a mixture of DPM servers, Microsoft recommends using the full syntax in all cases to be sure the backups work. It is also recommended that you use a common local target location so that it is consistent across all DPM servers.

    Recommended switches:

    Dpmbackup.exe -db -instancename DPMINSTANCE -dpmdbname DPMDB_NAME -targetlocation C:\DPMDBBACKUPS

    If the SQL Server is using the default instance (MSSQLSERVER) then the switches are:

    Dpmbackup.exe -db -instancename (Local) -dpmdbname DPMDB_NAME -targetlocation C:\DPMDBBACKUPS

    On a remote SQL server, the dpmbackup.exe utility is located in the SQLPREP folder under C:\Program Files\Microsoft Data Protection Manager\DPM201x (Where x is the version of DPM).

    How to Automate

    A) Open Notepad and copy/paste the script below, then save it to a file called backupdb.cmd on the server hosting the DPM database. Change the backupdir variable in the script to a local location to store the DPM database backups. Be sure there is adequate space for the frequency and duration of the backups based on the database size. You can enable NTFS compression on the target folder to help save space.

    ************* COPY BELOW ************

    Echo off
    Set backupdir=c:\DPMDBBACKUPS
    cd %backupdir%
    REM Build environment variables for current date, time to be used in backup command strings to create unique DPMDB.BAK names.
    for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do set dt=%%i-%%j-%%k-%%l
    for /f "Tokens=1-2 Delims=: " %%i in ('time /t') do set tm=%%i-%%j
    set tm=%tm%
    set dtt=%dt%-%tm%
    REM Build environment variables for current day of the week.
    REM
    for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do set DAYOFWEEK=%%i
    Dpmbackup.exe -db -instancename MSDPM2012 -dpmdbname DPMDB -targetlocation %backupdir% >DPMBACKUP-STATUS.TXT
    if %errorlevel% NEQ 0 goto exit
    Ren dpmdb.bak %DTT%-DPMDB.BAK
    echo.>>DPMBACKUP-STATUS.TXT
    echo last backup was on %date% at %time% >>DPMBACKUP-STATUS.TXT
    REM Delete oldest backups
    IF "%DAYOFWEEK%" == "Sun" goto Sun
    IF "%DAYOFWEEK%" == "Mon" goto Mon
    IF "%DAYOFWEEK%" == "Tue" goto Tue
    IF "%DAYOFWEEK%" == "Wed" goto Wed
    IF "%DAYOFWEEK%" == "Thu" goto Thu
    IF "%DAYOFWEEK%" == "Fri" goto Fri
    IF "%DAYOFWEEK%" == "Sat" goto Sat
    :Sun
    Del Mon*.bak
    exit
    :Mon
    Del Tue*.bak
    exit
    :Tue
    Del Wed*.bak
    exit
    :Wed
    Del Thu*.bak
    exit
    :Thu
    Del Fri*.bak
    exit
    :Fri
    Del Sat*.bak
    exit
    :Sat
    Del Sun*.bak
    exit

    ********** END COPY ABOVE **********

    B) Using Windows Task Scheduler, schedule backupdb.cmd to run as often as you like.

    C) Check that the backup files are created after the scheduled time. The batch file will keep as many backups as you schedule to run each day because the dpmdb.bak file is renamed using day-mm-dd-yyyy-hh-mm-dpmdb.bak. The script deletes the oldest backup files automatically after a week. After midnight, it deletes the oldest day’s backup (i.e. the first backup on Sunday will delete last Monday’s backups).

    Use Native SQL Server backup and not use DPM for backup at all

    • Pro - Built-in to SQL Server.
    • Pro - Can be scheduled to run as often as you like.
    • Pro - The backup is kept on a local disk which is easily accessible.
    • Pro - Totally independent of DPM.
    • Pro - Can schedule backup file cleanup.
    • Con - Not a good option for disaster recovery unless the backups are copied to a remote location.
    • Con - Requires local storage for backups which may limit retention and frequency.

    Please see the following video that explains in detail how to schedule native SQL backups:

    Setting up a Maintenance Plan to Backup Databases

    How to restore a DPMDB from a recent backup using DPMSync.exe

    This section details how to restore a DPM database backup using the DPMSync.exe utility. This utility supports restoring backups taken by DPM, Dpmbackup.exe and Native SQL backup. The utility can restore backups with the .bak extension or restore SQL database files with the .mdf and .ldf file extensions.

    - Starting with DPM 2012, we added support for multiple DPM servers to share one instance of SQL Server for the DPM database.

    - Starting with DPM 2012 R2, we added support to use clustered SQL Server nodes for its database.

    Because of these two changes, there are more required parameters when restoring a DPM 2012 database using the DPMSync.exe utility.

    The DPMSync.exe utility is installed by default in the DPM installation path inside the bin folder. However, this should already be added to the %path% system variable and can run from any administrative command prompt.

    If the DPM database is being hosted on a remote SQL Server, including a SQL cluster, then DPMSync.exe can be found under C:\Program Files\Microsoft Data Protection Manager\DPM2012 (or DPM 2012 R2)\SQLPrep folder on the remote SQL Server.

    Below are examples of Dpmsync.exe commands for various configurations.

    RESTORE DPMDB ON REMOTE SQL SERVER

    NOTE When using Default instance specify (local) or period (.) for the instance name.

    C:\Program Files\Microsoft Data Protection Manager\DPM2012\SQLPrep>dpmsync -restoredb -dbloc c:\temp\dpmdb_dpm03.bak -instancename DPMSQLDB -dpmdbname dpmdb_dpm03

    DpmSync 2.0 - DPM database synchronization command-line tool

    Copyright (c) 2012 Microsoft Corporation. All rights reserved.

    Restoring DPM Database completed.

    RESTORING DPMDB ON LOCAL DPM SERVER USING .MDF FILE

    C:\>dpmsync -restoredb -dbloc E:\MSDPM2012$DPMDB.mdf -instancename dpmserver\msdpm2012 -dpmdbname dpmdb

    DpmSync 2.0 - DPM database synchronization command-line tool

    Copyright (c) 2013 Microsoft Corporation. All rights reserved.

    Copying file from 'e:\msdpm2012$dpmdb.mdf' to 'C:\Program Files\Microsoft System Center 2012\DPM\DPM\DPMDB\MSDPM2012$DPMDB.mdf.recovered'

    Copying file from 'e:\msdpm2012$dpmdb_log.ldf' to 'C:\Program Files\Microsoft System Center 2012\DPM\DPM\DPMDB\MSDPM2012$DPMDB_log.ldf.recovered'

    Files copied successfully.

    Database detached successfully.

    Renamed file 'MSDPM2012$DPMDB.mdf.recovered' to 'MSDPM2012$DPMDB.mdf'

    Renamed file 'MSDPM2012$DPMDB_log.ldf.recovered' to 'MSDPM2012$DPMDB_log.ldf'

    Database attached successfully.

    Restoring DPM Database completed.

    NOTE Please be aware of the following issue when restoring using .mdf files to a database named other than DPMDB:

    KB2968666 - Error ID: 470" when you run the dpmsync -restoredb command in Data Protection Manager (http://support.microsoft.com/kb/2968666)

    Anytime a DPMDB is restored from a backup you need to run the DpmSync -Sync command to reconcile backup job run times, DPM storage pool usage and other configuration settings that may have changed since the restored database backup time. The DPMSYNC -SYNC command must be run on the DPM server where it has access to the storage pool and VS snapshots. A Consistency Check will be required on all data sources before normal protection can be resumed.

    On the DPM Server, run the following:

    C:\>dpmsync –sync

    DpmSync 2.0 - DPM database synchronization command-line tool
    Copyright (c) 2013 Microsoft Corporation. All rights reserved.
    Note: The DPM role configuration of this server will also be rolled back during this operation.
    DPM Synchronization completed.
    Your tape library status may have changed.
    Recommendation: Go to the Library tab in the Management Task Area of the DPM Administration Console and choose the Inventory Library action.

    I hope you found this post useful and encourages you to take frequent DPM DB backups to protect your DPM server from logical or physical DPMDB corruption or loss.

    Mike Jacquet | Senior Support Escalation Engineer | Microsoft GBS Management and Security Division

    Get the latest System Center news onFacebookandTwitter:

    clip_image001clip_image002

    System Center All Up: http://blogs.technet.com/b/systemcenter/
    System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
    System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
    System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
    System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
    System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
    System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

    Windows Intune: http://blogs.technet.com/b/windowsintune/
    WSUS Support Team blog: http://blogs.technet.com/sus/
    The AD RMS blog: http://blogs.technet.com/b/rmssupp/

    App-V Team blog: http://blogs.technet.com/appv/
    MED-V Team blog: http://blogs.technet.com/medv/
    Server App-V Team blog: http://blogs.technet.com/b/serverappv

    The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
    The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
    The Forefront TMG blog: http://blogs.technet.com/b/isablog/
    The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

    Support Tip: Server Manager alert for the VSSNullProvider service after installing DPM 2012 R2 UR3

    $
    0
    0

    ~ Andy Nadarewistsch and Wilson Souza

    ToolsHi everyone, Andy and Wilson here. Recently we noticed an issue affecting some customers after installing System Center 2012 R2 Data Protection Manager Update Rollup 3on Windows Server 2012 R2 computers and we wanted to take a minute and discuss the problem and the workarounds just in case you happen to run into it.

    With the feature updates to UR3, DPM 2012 R2 now has the ability to backup VMs using VSSNullProviders. As part of that feature, DPM installs the VSSNullProvider service along with the DPMRA update. After these are installed you may experience the symptoms below on Windows Server 2012 R2 computers.

    NOTE:Although you may experience the issue below, the DPM backup jobs will still invoke and start the VSSNullProvider service and complete the backups successfully.

    Symptoms

    After installing the DPM 2012 R2 UR3 agent on a Windows Server 2012 R2 computer, Server Manager generates an alert stating that the VSSNullProvider service (in which startup typeis set to automatic) is stopped.

    Server Manager Dashboard shows the following:

    clip_image002

    Service alert (detailed):

    clip_image003

    This is the VSSNullProvider view in the Services console:

    clip_image004

    During a backup event the service will be started again. This can be seen in the System Event ID: 7036

    clip_image006

    Once the backup is complete the service will be stopped 6 minutes after being idle.

    Cause

    This is by design as Service Control Manager stops the VSSNullProvider service after a backup.

    Resolution

    To stop the Server Manager alerts, set the VSSNullProvider service startup type to Manual.

    Andy Nadarewistsch and Wilson Souza | Microsoft GBS Management and Security Division

    Get the latest System Center news onFacebookandTwitter:

    clip_image001clip_image002

    System Center All Up: http://blogs.technet.com/b/systemcenter/
    System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
    System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
    System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
    System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
    System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
    System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

    Windows Intune: http://blogs.technet.com/b/windowsintune/
    WSUS Support Team blog: http://blogs.technet.com/sus/
    The AD RMS blog: http://blogs.technet.com/b/rmssupp/

    App-V Team blog: http://blogs.technet.com/appv/
    MED-V Team blog: http://blogs.technet.com/medv/
    Server App-V Team blog: http://blogs.technet.com/b/serverappv

    The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
    The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
    The Forefront TMG blog: http://blogs.technet.com/b/isablog/
    The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/


    New update available for Azure Backup for Microsoft Azure Recovery Services Agent

    $
    0
    0

    Hotfix160_thumb2

    Today we released an article describing an update for the Microsoft Azure Recovery Services Agent that is used both by Microsoft Azure Backup and the Microsoft Azure Site Recovery service to transport data to Azure.

    For details regarding the new features and reliability issues addressed in this update, please see the following:

    KB2997692 - Update for Azure Backup for Microsoft Azure Recovery Services Agent (http://support.microsoft.com/kb/2997692)

    J.C. Hornbeck| Solution Asset PM | Microsoft GBS Management and Security Division

    Get the latest System Center news onFacebookandTwitter:

    clip_image001clip_image002

    System Center All Up: http://blogs.technet.com/b/systemcenter/
    System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
    System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
    System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
    System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
    System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
    System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

    Windows Intune: http://blogs.technet.com/b/windowsintune/
    WSUS Support Team blog: http://blogs.technet.com/sus/
    The AD RMS blog: http://blogs.technet.com/b/rmssupp/

    App-V Team blog: http://blogs.technet.com/appv/
    MED-V Team blog: http://blogs.technet.com/medv/
    Server App-V Team blog: http://blogs.technet.com/b/serverappv

    The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
    The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
    The Forefront TMG blog: http://blogs.technet.com/b/isablog/
    The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

     

     

     

     

     

     

    When you use System Center 2012 R2 Virtual Machine Manager to migrate a virtual machine, the job is completed successfully but one or both of the following errors are returned in the job result information:

    Error (23801)
    No available connection to selected VM Network can be found.
    Recommended Action
    Ensure host NICs have connection to the fabric network on which VM Network is created.

    Error (23753)
    The virtual machine or tier load balancer configuration requires an IP pool and there are no appropriate IP pools accessible from the host.
    Recommended Action
    Select a host with access to an appropriate IP pool and try the operation again.

    This issue occurs if the virtual machine’s virtual network adapter is connected to a virtual machine network that does not have a static IP address pool defined for it. Additionally, the IPv4 address type was changed from dynamic to static by going inside the virtual machine and manually changing the IP address configuration.

    For all the details and a resolution, please see the following:

    KB2915463 - Networking errors (23801, 23753) when a virtual machine is assigned a static IPv4 address through System Center 2012 R2 Virtual Machine Manager (http://support.microsoft.com/kb/2915463)

    J.C. Hornbeck| Solution Asset PM | Microsoft GBS Management and Security Division

    Get the latest System Center news onFacebookandTwitter:

    clip_image001clip_image002

    System Center All Up: http://blogs.technet.com/b/systemcenter/
    System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
    System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
    System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
    System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
    System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
    System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

    Windows Intune: http://blogs.technet.com/b/windowsintune/
    WSUS Support Team blog: http://blogs.technet.com/sus/
    The AD RMS blog: http://blogs.technet.com/b/rmssupp/

    App-V Team blog: http://blogs.technet.com/appv/
    MED-V Team blog: http://blogs.technet.com/medv/
    Server App-V Team blog: http://blogs.technet.com/b/serverappv

    The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
    The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
    The Forefront TMG blog: http://blogs.technet.com/b/isablog/
    The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

    FAQ - Azure IaaS workload protection using Data Protection Manager

    $
    0
    0

    Last week we announced the support for System Center Data Protection Manager (DPM) running in an Azure IaaS VM, for protecting workloads in Azure. The overwhelming positive response has been accompanied by deep-dive questions and a request for more details about certain aspects. This blog post is a list of Frequently Asked Questions to help customers on-board themselves faster with the solution.

    Licensing

    Q1.  What is the licensing model for DPM?

    Customers need a System Center license, and then use license mobility offered with System Center to run DPM in Azure.

    Q2.  How many System Center license SKUs do I need?

    Depends on the number of virtual operating system environments (virtual OSEs) that DPM is protecting. One Azure IaaS virtual machine is effectively equal to one virtual OSE. You will need one Datacenter edition of System Center for every eight virtual OSEs in Azure. Read more about it in the System Center 2012 R2 licensing datasheet.

    Q3.  What about pay-as-you-use pricing? Is there a gallery VM for DPM?

    Pay-as-you-use pricing is currently not being offered. Leave us a comment if you are interested in using pay-as-you-use pricing.

    Cross-premise protection

    Q4.  Can I protect my on-premises assets with DPM in Azure? If I have hybrid infrastructure, what should I do?

    No, cross-premise protection is not supported. Azure workloads should be protected by DPM instances in Azure. On-premise workloads should be protected by DPM instances on-prem. Refer the diagram below for the supported deployment for on-premises and Azure cloud.

    protecting workloads in Azure and on-premises: supported DPM deployment architecture

    Q5.  Why can’t I protect my on-premises assets with DPM in Azure?

    At scale there are network issues like latency and lower throughput that need to be accounted for, and backups SLAs will most likely might not be met. The performance and scale that customers are accustomed to cannot be guaranteed in a cross-premise setup.

    Q6.  Can I protect my Azure assets with DPM on-premise?

    No, cross-premise protection is not supported. Apart from the performance and scale considerations, there would also be network egress costs (due to the data transfer by DPM).

    Workload support

    Q7.  What are the workloads that are supported?

    The list can be found in the original announcement.

    Q8.  Why does DPM in Azure support fewer workloads than DPM on-premises?

    The primary reason is that Azure supports a limited set of workloads and operating systems. If Azure doesn’t support an OS or a workload, DPM in Azure will not support it either.

    Q9.  What about bare metal recovery?

    While DPM can take bare-metal backups, the bare-metal restore will not work in Azure as customers do not have access to the Azure fabric. Thus both bare-metal backup and restore cannot be supported in Azure. Azure snapshots are the best alternative available today.

    Q10.  Is SQL Always-On supported?

    DPM already supports the backup of SQL Always-On in on-premise deployments. For the configurations of SQL that are supported in Azure, the backup of these SQL configurations by DPM is also supported (including Always-On).

    Setting up DPM in Azure

    Q11.  How do I install DPM in Azure?

    1. Option 1: Upload a VHD with the DPM installation bits to Azure; attach the disk to a virtual machine and install the software.
    2. Option 2: Download the DPM trial bits from the System Center evaluation website; install DPM on a trial basis; run the upgrade wizard to make DPM into a production setup.

    Q12.  Can I move an existing on-premise DPM virtual machine to Azure?

    This is not recommended for all scenarios as DPM has a tight dependency on Active Directory. Utilize this option only if there is a single virtual network stretching across Azure and the on-premises infrastructure, and if the on-premise Active Directory is accessible from Azure.

    Storage configuration

    Q13.  Is DPM in an Azure IaaS virtual machine different in some way?

    To users of DPM there should be no difference in how DPM is operated. Some features available in DPM on-premise will not be available when used in Azure. For example: Tape storage, iSCSI disks, Fiber channel etc.

    Q14.  So, where do I store the backup data?

    On Azure disks attached to the DPM virtual machine. Once attached to the virtual machine, the disks and the storage space are managed from within DPM.

    Q15.  How much data can I back up?

    Depends on the number of disks and size of disks attached to the DPM virtual machine. There is a maximum number of disks that can be attached to each Azure virtual machine (4 disks for A2 size, 8 disks for A3 size, and 16 disks for A4 size), and maximum size of each disk (1 TB). This determines the total backup storage pool available.

    Q16.  Are locally attached disks my only option?

    Data can also be offloaded by sending it to Azure Backup.

    Q17.  I have a large number of workloads to protect. What should I do?

    1. Option 1, Scale up: Increase the size of the DPM virtual machine from A2 to A3 to A4 and add more local storage.
    2. Option 2, Offload data: Send older data to Azure Backup, and retain only the newest data on the storage attached to the DPM server.
    3. Option 3, Scale out: Add more DPM servers to protect the workloads.

    Q18.  I want to have longer retention of backup data for my workloads. What should I do?

    Sending data to Azure Backup is the best option. Azure Backup as also recently introduced Long Term Retention for data coming from DPM.

    Q19.  Do I need to allocate more space for Azure Backup use?

    Yes, the Azure Backup agent needs temporary storage for its own use (Cache location), and for data restored from the cloud (local staging area). The good news is that each Azure virtual machine comes with some temporary disk storage. This is available to the user as the volume D:\. The local staging area needed by Azure Backup can be configured to reside in D:\, and the cache location can be placed on C:\. In this way, no space needs to be carved out from the data disks attached to the DPM virtual machine.

    Azure Backup agent cache location

    Azure Backup recovery - staging area

     

    Performance and Scale

    Q20.  How do I choose a size for the DPM virtual machine?

    Use the DPM virtual machine size calculator excel sheet that can be downloaded from TechNet Gallery.

    Q21.  Do I have to deploy an A4 size virtual machine?

    Not at all. Start with the A2 size and grow as your backup needs grow.

    Q22.  Why should I have a separate storage account for DPM?

    The storage account has a limit of 20,000 IOPS. DPM alone can use up a significant chunk of the IOPS. Keeping DPM storage from the production storage ensures that the production workloads are not starved for IOPS at the time of backup.

    Protecting the DPM virtual machine

    Q23.  Is DPM DR supported?

    Yes. You need to ensure that the DPM servers are within the same Azure virtual network. This usually means that the secondary DPM server is within the same geo.

    Q24.  What are my other options?

    1. Option 1: Use Azure snapshots for the DPM OS and data disks. The VM would need to be shut down to ensure consistency.
    2. Option 2: Backup the DPM SQL Server databases only. Michael Jacquet has a recently posted a great blog article about this topic.

    Q25.  What about disasters? How should I send my data to another zone/region?

    Storing data in Azure Backup takes care of this. Azure Backup uses GRS storage in the backend that asynchronously replicates data to a secondary region hundreds of miles apart from the primary.

     

    That’s it! Drop us a comment if you have more questions or have feedback to share!

     

    Please click on the relevant links below to get started:

    Considerations when applying Update Rollup 3 for System Center 2012 R2 Data Protection Manager

    $
    0
    0

    ~ Dwayne Jackson

    imageHello, Dwayne Jackson II here. I wanted to take a minute today to detail a quick point to consider after applying Data Protection Manager (DPM 2012 R2) Update Rollup 3 (UR3) when Hyper-V protection is in place and you are using the DPM live migration tracking feature described here.

    2966014 - Update Rollup 3 for System Center 2012 R2 Data Protection Manager (http://support.microsoft.com/kb/2966014)

    ISSUE

    The issue is that after applying DPM 2012 R2 Update Rollup 3, DpmVmmHelperService is set to DISABLED instead of preserving the existing value which can cause Hyper-V backups to stop. When this occurs, the following error is displayed via DPM for backup failures:

    Affected area: \Offline\<Virtual Machine Name>
    Occurred since: Date Time
    Description: Recovery point creation jobs for Microsoft Hyper-V \Offline\ <Virtual Machine Name> on <Virtual Machine Name>Resources. <Host Name>.contoso.com have been failing. The number of failed recovery point creation jobs = 1.
    If the data source protected has some dependent data sources (like a SharePoint Farm), then click on the Error Details to view the list of dependent data sources for which recovery point creation failed. (ID 3114)

    DPM was unable to establish a connection with the Virtual Machine Manager (VMM) server.
    Server name: <Node Name>.contoso.com

    Exception Message: Type: System.TimeoutException, Message: This request operation sent to net.tcp://<DPM Server Name>.contoso.com. The time allotted to this operation may have been a portion of a longer timeout.  This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client. (ID 33400)

    The issue is currently being investigated and future updates can be found here on our blog or in Data Protection Manager forum.

    To navigate to announcements from the forum landing page, select Announcement and then scroll down to Hyper-V and CSV announcements.

    clip_image001

    clip_image003

    WORKAROUND

    1. After applying DPM 2012 R2 Update Rollup 3, open services on the DPM server. The DPM-VMM Helper Service startup type will be configured as Disabled

    clip_image004

    2. Select the DPM-VMM Helper Service properties and adjust startup type to Manual as shown below.

    clip_image005

    Once this is done you should no longer see the issue.

    Dwayne Jackson | Senior Support Escalation Engineer | Microsoft GBS Management and Security Division

    Get the latest System Center news onFacebookandTwitter:

    clip_image001clip_image002

    System Center All Up: http://blogs.technet.com/b/systemcenter/
    System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
    System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
    System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
    System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
    System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
    System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

    Windows Intune: http://blogs.technet.com/b/windowsintune/
    WSUS Support Team blog: http://blogs.technet.com/sus/
    The AD RMS blog: http://blogs.technet.com/b/rmssupp/

    App-V Team blog: http://blogs.technet.com/appv/
    MED-V Team blog: http://blogs.technet.com/medv/
    Server App-V Team blog: http://blogs.technet.com/b/serverappv

    The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
    The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
    The Forefront TMG blog: http://blogs.technet.com/b/isablog/
    The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

    Support Tip: DPM 2012 R2 UR3 agent install fails with error 0x80070643

    $
    0
    0

    ToolsHi folks, Chris Butcher here. I was recently working on some issues with the installation of our System Center 2012 R2 Data Protection Manager Update Rollup 3 agents on Windows Server 2003 computers, and while Mike’s blog covered the bulk of the issues a person might see when installing the agents, I discovered a few side issues that people may be hitting and wanted to get some supplemental information out here on the web to help with them.

    This doesn’t affect the installation methods or any other part of process. These are just two additional prerequisites and the errors you may see when installing the agents if they are not met.

    The first prerequisite is the Microsoft Visual C++ 2005 Redistributable Package. While Mike covered the v2008 companion to this, I determined that you actually have to have both. If you have either one without the other then the installation will fail. When it fails, a command prompt window will give this error:

    DPMAgentinstaller failed with errorcode –0x80070643
    Fatal error during installation.

    Check log files in [WINDIR]Temp\MSDPM*.LOG
    Press enter key to close the window

    This is accompanied by several events in the System Event Log. This is where you will be able to tell if you are missing the 2005 version or the 2008 version. You will see several errors with a source of SideBySide.

    Event Type: Error
    Event Source: SideBySide
    Event Category: None
    Event ID: 32
    Date: 
    Time: 
    User:  N/A
    Computer: ServerName
    Description:
    Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.

    Event Type: Error
    Event Source: SideBySide
    Event Category: None
    Event ID: 59
    Date: 
    Time: 
    User:  N/A
    Computer: ServerName
    Description:
    Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system.

    Event Type: Error
    Event Source: SideBySide
    Event Category: None
    Event ID: 59
    Date: 
    Time: 
    User:  N/A
    Computer: ServerName
    Description:
    Generate Activation Context failed for C:\WINDOWS\Installer\MSI5E.tmp. Reference error message: The referenced assembly is not installed on your system.

    Notably, you will want to look for the description where you will see this:

    Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.

    The assembly noted dictates the version of Visual C++. For example, VC80 indicates 2005 and VC90 indicates 2008.

    In short, if you see this SideBySide error in the System Event Log and it lists an assembly with VC80 in it then you will need to install the Microsoft Visual C++ 2005 Redistributable Package. This can be found using the links below:

    If you see this SideBySide error in the System Event Log and it lists an assembly with VC90 in it then you will need to install the Microsoft Visual C++ 2008 Redistributable Package which can be found using the links below.

    There was one other issue that we found which also shows itself with the same “Fatal error during installation” error in the command prompt. This time however, it doesn’t give the same clues in the System Event Log. So, if you aren’t seeing anything logged in the System Event Log you will need to navigate to the \Windows\Temp directory and find the most recent MSDPMAgentInstall.log file.

    You can open this file with Notepad. When open, search from the top down for “return value 3”. Once you locate this, look immediately above that line for the following information. If you see the “Failed to load Xml Doc” then this indicates you are missing the XML parser.

    UpdatePSDataSourceConfigXML Entered
    LoadPSDataSourceConfigXML Entered
    LoadLHSystemStateDSConfigXML: xml file path <c:\Program Files\Microsoft Data Protection Manager\DPM\Datasources\PSDatasourceConfig.xml>
    LoadPSDataSourceConfigXML: Failed to load Xml Doc .
    UpdatePSDataSourceConfigXML return code = 0x80040154
    Action ended 11:45:40: InstallExecute. Return value 3.

    DPM 2012 R2 is using a new XML parser technology and by default, Windows Server 2003 does not have this. If it has not been added then the installation will fail. While either MSXML 3.0 Parser or MSXML 6.0 Parser should resolve this, I recommend that you go ahead and get the latest version.

    MSXML 6.0 Parser: http://www.microsoft.com/en-us/download/confirmation.aspx?id=3988

    I hope this helps eliminate some searching for answers. Enjoy!

    Chris Butcher | Solution Asset PM | Microsoft GBS Management and Security Division

    Get the latest System Center news onFacebookandTwitter:

    clip_image001clip_image002

    System Center All Up: http://blogs.technet.com/b/systemcenter/
    System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
    System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
    System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
    System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
    System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
    System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

    Windows Intune: http://blogs.technet.com/b/windowsintune/
    WSUS Support Team blog: http://blogs.technet.com/sus/
    The AD RMS blog: http://blogs.technet.com/b/rmssupp/

    App-V Team blog: http://blogs.technet.com/appv/
    MED-V Team blog: http://blogs.technet.com/medv/
    Server App-V Team blog: http://blogs.technet.com/b/serverappv

    The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
    The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
    The Forefront TMG blog: http://blogs.technet.com/b/isablog/
    The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

    DPM 2012 Support Tip: Fixing the error “An unexpected error caused a failure for process msdpm”

    $
    0
    0

     Howdy System Center Data Protection Manager followers, Chris Butcher here again. I recently came across an issue I thought was interesting but also thought was something that may be discoverable and fixable, so you get another overly wordy blog that promises to keep you on the edge of your seat!

    So, what did I find you ask? Great question. This problem appears to rear its head in DPM 2012 Service Pack 1 (SP1) and DPM 2012 R2. The symptoms may actually be somewhat hidden as it will depend on whether you are logged on during the failure or not.

    Here are the specifics where you will see this:

    • Protection for SS (System State) or BMR (Bare Metal Recovery).
    • On the protected server, there are multiple drives and the amount of free space on one drive has changed drastically.

    The errors/failures in DPM will simply show that jobs have failed as the DPM service has failed. The real telling part of this is what you will see in the event log.

    Source:        MSDPM
    Event ID:      999
    Level:         Error
    Computer:      DPMServerNam.domain
    Description:
    An unexpected error caused a failure for process 'msdpm'.  Restart the DPM process 'msdpm'.
    Problem Details:
    <FatalServiceError><__System><ID>19</ID><Seq>5210</Seq><TimeCreated>19.12.2013 11:09:04</TimeCreated><Source>DpmThreadPool.cs</Source><Line>163</Line><HasError>True</HasError></__System><ExceptionType>FormatException</ExceptionType><ExceptionMessage>Input string was not in a correct format.</ExceptionMessage><ExceptionDetails>System.FormatException: Input string was not in a correct format.
       at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at Microsoft.Internal.EnterpriseStorage.Dls.Trace.TraceProvider.Trace(TraceFlag flag, String fileName, Int32 fileLine, Guid* taskId, Boolean taskIdSpecified, String formatString, Object[] args)
       at Microsoft.Internal.EnterpriseStorage.Dls.Trace.TraceProvider._TraceMessage(TraceFlag flag, String fileName, Int32 fileLine, String formatString, Object[] args)
       at Microsoft.Internal.EnterpriseStorage.Dls.WriterHelper.SystemStateWriterHelper.RenameBMRReplicaFolderIfNeeded(String roFileSpec)
       at Microsoft.Internal.EnterpriseStorage.Dls.WriterHelper.SystemStateWriterHelper.ValidateROListOnPreBackupSuccess(Message msg, RADataSourceStatusType raDatasourceStatus, Guid volumeBitmapId, List`1&amp; missingVolumesList, ReplicaDataset&amp; lastFullReplicaDataset, ROListType&amp; roList)
       at Microsoft.Internal.EnterpriseStorage.Dls.Prm.ReplicaPreBackupBlock.ValidateROList(Message msg, RADataSourceStatusType raDatasourceStatus, Guid datasetId)
       at Microsoft.Internal.EnterpriseStorage.Dls.Prm.ReplicaPreBackupBlock.RAPreBackupSuccess(Message msg)
       at Microsoft.Internal.EnterpriseStorage.Dls.TaskExecutor.Fsm.Transition.Execute(Message msg)
       at Microsoft.Internal.EnterpriseStorage.Dls.TaskExecutor.Fsm.Engine.ChangeState(Message msg)
       at Microsoft.Internal.EnterpriseStorage.Dls.TaskExecutor.TaskInstance.Process(Object dummy)
       at Microsoft.Internal.EnterpriseStorage.Dls.TaskExecutor.FsmThreadFunction.Function(Object taskThreadContextObj)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)</ExceptionDetails></FatalServiceError>

    There are a couple of key points to this event.

    First is “An unexpected error caused a failure for process 'msdpm'.” This is indicating that MSDPM.exe has crashed. When this happens, all jobs that are running at that time will fail.

    The next item is <ExceptionMessage>Input string was not in a correct format.</ExceptionMessage>. It is possible for MSDPM.exe to crash, but this one is different in that ExceptionMessage is specifically Input string was not in a correct format.

    When DPM begins protection for SS or BMR, the PSDatasourceConfig.xml file is created on the protected server. This file will indicate the drive on this system that has the most free space. At some point, this changes on the protected server and the drive with the most free space changes. If the PS then at any points recreates the PSDatasourceConfig.xml file, it will create it with the new “drive with the most free space” in it. DPM will attempt to change this information on the DPM server and ultimately this fails, resulting in the crash in MSDPM.exe seen above.

    The good news is that this problem was identified and has been fixed. In order to correct this issue, get most recent version of DPM.

    For DPM 2012 SP1 it was first fixed in DPM 2012 SP1 UR6:

    2958098 - System Center 2012 SP1 Data Protection Manager Update Rollup 6 (http://support.microsoft.com/kb/2958098)

    For DPM 2012 R2 the fix is first introduced in DPM 2012 R2 UR2:

    2963543 - Description of Update Rollup 2 for System Center 2012 R2 Data Protection Manager (http://support.microsoft.com/kb/2963543)

    Chris Butcher | Senior Support Escalation Engineer | Microsoft GBS Management and Security Division

    Get the latest System Center news onFacebookandTwitter:

    clip_image001clip_image002

    System Center All Up: http://blogs.technet.com/b/systemcenter/
    System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
    System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
    System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
    System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
    System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
    System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

    Windows Intune: http://blogs.technet.com/b/windowsintune/
    WSUS Support Team blog: http://blogs.technet.com/sus/
    The AD RMS blog: http://blogs.technet.com/b/rms/

    App-V Team blog: http://blogs.technet.com/appv/
    MED-V Team blog: http://blogs.technet.com/medv/
    Server App-V Team blog: http://blogs.technet.com/b/serverappv

    The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
    The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
    The Forefront TMG blog: http://blogs.technet.com/b/isablog/
    The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

    Viewing all 339 articles
    Browse latest View live


    <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>