tag:blogger.com,1999:blog-56391884714841651012024-03-25T00:32:17.180+01:00My DPM BlogYou never know what you've got untill it's gone...Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-5639188471484165101.post-7389048062826332522017-02-10T16:12:00.001+01:002017-02-10T16:12:47.115+01:00Update Rollup 2 for System Center Data Protection Manager 2016Hi Folks,<br />
<br />
Update Rollup 2 for DPM 2016 has now been released and it fixes some pretty annoying problems<br />
<br />
Get it here: <a href="http://www.catalog.update.microsoft.com/Search.aspx?q=3209593">http://www.catalog.update.microsoft.com/Search.aspx?q=3209593</a><br />
<br />
For more detailed info:<br />
<a href="https://support.microsoft.com/sv-se/help/3209593/update-rollup-2-for-system-center-2016-data-protection-manager">https://support.microsoft.com/sv-se/help/3209593/update-rollup-2-for-system-center-2016-data-protection-manager</a><br />
<br />
Kind Regards<br />
Markus EliassonMarkus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-53035679533857883812016-12-15T08:12:00.000+01:002016-12-15T08:12:13.785+01:00Unable to configure protection for Vmware VMsHi,<br />
<br />
Today I ran into a problem while configuring protection for a VMware virtual machine. I've previously successfully protected VMs on the same cluster and datstoreso I draw the conclusion it was the VM itself that was causing the issue.<br />
<br />
<b>Error: </b>In the DPM-console I had the following error which clearly states why the configure protection job failed: The VM has one or several snapshots.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixB8Eg1RmcfNkVymufqiirn_bw4ySykPGefaLp6wZyoQfF_XcrL9o5pOm8mSQlxiiJRvKbq-mVoUOaUA7pTCM2UQkHSIfBtIylAGSAPDaqw0VuapNSJC1ix3jpZ0tPIEaN31QRsRGjmtc/s1600/VMware-VM_UnableToConfigureProtection.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="123" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixB8Eg1RmcfNkVymufqiirn_bw4ySykPGefaLp6wZyoQfF_XcrL9o5pOm8mSQlxiiJRvKbq-mVoUOaUA7pTCM2UQkHSIfBtIylAGSAPDaqw0VuapNSJC1ix3jpZ0tPIEaN31QRsRGjmtc/s320/VMware-VM_UnableToConfigureProtection.JPG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b>Resolution: </b>I contacted the person who had created the snapshot and asked if it was OK for me to delete that snapshot. Then I logged onto the vSphere-console and deleted the snapshot. After that the configure protection-job completed successfully and the Replica creation could begin.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b>Conclusion: </b>Before you start adding protection for your VMware VMs. Make sure you are not having an unsupported scenario as DPM VMware protection does not support the following scenarios:</div>
<div class="separator" style="clear: both;">
</div>
<ol>
<li>Raw Device Mapping (RDM) pass thru disks can be configured in either physical compatibility mode or virtual compatibility mode. Physical RDM (PRDM) is not supported, however Virtual RDM (VRDM) is supported.<br /></li>
<li>Clustered VMs are supported, however VMs hosted on shared disk clusters are not supported. Change tracking on shared disks is not supported by VMware.<br /></li>
<li>DPM cannot detect or protect VApps.<br /></li>
<li>DPM currently cannot protect VMware VMs to tape or a secondary DPM server.<br /></li>
<li>Manual replica creation is not supported. You must either let DPM create the initial replica at the time of protection or schedule it to run later.<br /></li>
<li>DPM can protect VMs with snapshots, however the snapshots are not backed up and are not restored during a VM recovery. If the snapshot was created before protection, DPM cannot protect that VM because VMware does not support enabling change tracking for any VM that has existing snapshots. A work around is to delete the existing snapshots.<br /></li>
<li>The Microsoft Operations Manager console does not currently support monitoring VMware data sources, however they will show up under the All Datasources view. VMware protection alerts will only show under All Alerts. You can modify the OpsMgr management pack (MP) by making a custom view and overriding the DPM MP.</li>
</ol>
<br />
<div>
Kind Regards</div>
<div>
Markus Eliasson</div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com1tag:blogger.com,1999:blog-5639188471484165101.post-37968979589972034012016-09-02T07:43:00.000+02:002016-09-02T07:43:22.720+02:00Update Rollup 11: Protect VMware VMs with DPM!Hi,<br />
<br />
Microsoft just released Update Rollup 11 for DPM and today is the day many of us has been waiting for: Support for backup and restore of VMware virtual machines at vCenter/ESXi-level!<br />
<br />
Here is some other highlights of VMware VM backup with DPM:<br />
<div class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
</div>
<ul>
<li><span lang="EN-US" style="text-indent: -18pt;">Agentless
backup</span></li>
<li><span style="text-indent: -18pt;">Backup
at vCenter or ESXi level</span></li>
<li><span style="text-indent: -18pt;">Backup
VMware VM folders</span></li>
<li><span style="text-indent: -18pt;">Ability
to do ILR</span></li>
<li><span style="text-indent: -18pt;">Protect
large data center using DPM Scale Out</span></li>
<li><span lang="EN-US" style="font-family: Symbol; text-indent: -18pt;"><span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal;"> </span></span><span lang="EN-US" style="text-indent: -18pt;">Backup
to Disk/Cloud</span></li>
</ul>
Want to start testing the new features right away?<div>
<ol>
<li>Go the Microsoft Update Catalog and download UR11 (Remeber: No restart needed for production-agents if you are UR6 or above!) :<br /><a href="http://catalog.update.microsoft.com/v7/site/search.aspx?q=3162908">http://catalog.update.microsoft.com/v7/site/search.aspx?q=3162908</a></li>
<li>Have a look at the 2½min video that provides value prop and overview of VMware VM backup: <a href="https://blogs.technet.microsoft.com/dpm/2016/08/26/announcing-vmware-vm-backup-using-system-center-data-protection-manager/">Announcing VMware VM Backup using System Center Data Protection Manager</a></li>
<li>Check out this guide on how to configure backup of VMware VMs in four steps:<br /><a href="https://blogs.technet.microsoft.com/dpm/2016/08/26/four-simple-steps-to-backup-vmware-vms-using-sc-dpm/">Four simple steps to backup VMware VMs using SC DPM</a></li>
</ol>
<div>
Kind Regards<br />Markus Eliasson</div>
<div>
<br /></div>
<div style="text-indent: -24px;">
<br /></div>
<div style="text-indent: -24px;">
<br /></div>
<div style="text-indent: -24px;">
<br /></div>
<!--[if !supportLists]--><br />
</div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-73092583879634831842016-05-26T08:37:00.000+02:002016-05-26T08:37:29.072+02:00Update Rollup 10 for System Center 2012 R2 Data Protection Manager Released!Hi folks,<br />
<br />
Update Rollup 10 has been released and even if we did not got any new features in this UR, Microsoft provides us with a great deal of fixes for known issues!<br />
<br />
Remember that if you are running Update Rollup 6 or later, there will be no requirement for restarting your production servers when you upgrade the DPM-agents to UR 10!<br />
<br />
<a href="https://support.microsoft.com/en-us/kb/3143871">Update Rollup 10 for System Center 2012 R2 Data Protection Manager</a><br />
<br />
Kind Regards<br />Markus EliassonMarkus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-38474035627092124922016-04-29T08:17:00.000+02:002016-04-29T08:18:31.419+02:00Recover data to another DPM-server from Azure backup vaultHere is a quick guide on how to recover data from an Azure Backup Vault. This scenario can be leveraged when a DPM-server has failed and you need to recover the data it has backed up.<br />
<br />
<b><u>Requirements</u></b><br />
<br />
<ul>
<li>System Center Data Protection Manager 2012 R2 with UR7 or later installed</li>
<li>The latest Azure Backup Agent (<a href="http://aka.ms/azurebackup_agent">Download link</a>)</li>
</ul>
<br />
<b><u>Step by Step</u></b><br />
<br />
<ol>
<li>From the Recovery tab of the DPM management console, click 'Add External DPM' (at the top left of the screen).</li>
<li>Download new vault credentials from the vault associated with the DPM server where the data is being recovered, choose the DPM server from the list of DPM servers registered with the backup vault, and provide the encryption passphrase associated with the DPM server whose data is being recovered.<br /><br />(<i>Note:Only DPM servers associated with the same registration vault can recover each other’s data</i>.)<br /> </li>
<li>Once the External DPM server is successfully added, you can browse the data of external DPM server and local DPM server from the Recovery tab.</li>
<li>Browse the available list of production servers protected by the external DPM server and select the appropriate data source.</li>
<li>Select the date from the Recovery points drop down and select the Recovery time.</li>
<li>A list of files and folders will appear in the bottom pane which can be browsed and recovered to any location.</li>
<li>Right click the appropriate item and click Recover.</li>
<li>Go thourght the Recovery Wizard and start recovering.</li>
</ol>
<div>
When you are done you can click Clear External DPM on the Recovery tab of the DPM server to remove the view of the external DPM server.</div>
<div>
<br /></div>
<div>
Kind Regards<br />
Markus Eliasson</div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com1tag:blogger.com,1999:blog-5639188471484165101.post-79984243880756173212016-03-21T15:39:00.000+01:002016-03-21T15:40:49.440+01:00Backup Exchange 2016 with DPM 2012 R2Hi,<br />
<br />
Today Microsoft updated the support matrix for DPM and we are happy to see that from Update Rollup 9 you are able to configure protection for Exchange 2016:<br />
<a href="https://technet.microsoft.com/en-us/library/jj860400.aspx">DPM protection support matrix</a><br />
<br />
<u>DPM can backup following Exchange configurations:</u><br />
<br />
1. Standalone Exchange Server.<br />
<br />
2. Exchange DAG, including both the configurations:<br />
* IP based DAG<br />
* IP-less DAG (DAG without a cluster administrative Access Point)<br />
<br />
<b>Note</b>: DPM currently support Exchange 2016 on NTFS data volumes. We are working on adding support for REFS data volumes and will be added in later update<br />
<br />
Regards<br />
Markus EliassonMarkus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com1tag:blogger.com,1999:blog-5639188471484165101.post-57973720286605227292016-02-23T10:57:00.002+01:002016-02-23T11:03:43.819+01:00Troubleshoot DPM Service unable to start, unable to remove agents and 9xx-errors in the Event Viewer<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.162px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
Hi,</div>
<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.162px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
Quick post on one thing to check if you are expericening the following symtoms/issues on a DPM-server:</div>
<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.162px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
</div>
<ul>
<li><span style="line-height: 20.162px;">DPM AccessManager Service not starting </span></li>
<li><span style="line-height: 20.162px;">DPM Accessmanager Service fails to start</span></li>
<li><span style="line-height: 20.162px;">DPM service not starting or having trouble restarting</span></li>
<li><span style="line-height: 20.162px;">Msdpm cannot be found</span></li>
<li><span style="line-height: 20.162px;">Unable to remove agents</span></li>
<li><span style="line-height: 20.162px;">Various 9xx errors in the event viewer</span></li>
</ul>
<br />
<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.162px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
<b>Resolution:</b></div>
<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.162px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
<b>*** Important! Always create a backup of the DPM-database before doing any changes! ***</b></div>
<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.162px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
</div>
<ol>
<li><span style="line-height: 20.162px;">Open SQL Management Studio on the dpm server and connect to the instance of your DPM sql engine</span></li>
<li><span style="line-height: 20.162px;">Go to </span><i style="line-height: 20.162px;">DPMDatabase </i><span style="line-height: 20.162px;">(in my case: DPMDB_</span><span style="line-height: 20.162px;">2012) > Tables > dbo.tbl_DLS_GlobalSetting</span></li>
<li><span style="line-height: 20.162px;">Choose "Edit the top 200 rows" of that table and you will find a property called: DBRecovery</span></li>
<li><span style="line-height: 20.162px;">The value should be 0, sometimes while doing dpmsyncs and other attempted repairs to dpm, this will be set to 1 and never change back to 0. </span></li>
</ol>
<br />
<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.162px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
I hope this will help someone with their troubleshooting!</div>
<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.162px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
//Markus</div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com2tag:blogger.com,1999:blog-5639188471484165101.post-78539697050371610222016-02-17T11:22:00.001+01:002016-02-17T11:23:28.374+01:00Monitor DPM Storage PoolHi,<br />
<br />
I've created a small PowerShell-script that is ready to be used as a Performance Rule in System Center Operations Manager to monitor the amount of freespace in the storage pool on your DPM-server.<br />
<br />
I will post a complete guide later on how to create the rule in SCOM!<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYozmgs725bqL74B45ZUWmXK9kXdU5qI0omxZlnZqwLOEigsl9GAKGxu39yE17YAj3ZXZUUEosNQKnjj7NTdmS7ZO22RXDRNQ6Ejqi4IXwtXiAL1F5kPK9laJblkAFIO35b47OBe3DXHQ/s1600/DPMdiskspace.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="231" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYozmgs725bqL74B45ZUWmXK9kXdU5qI0omxZlnZqwLOEigsl9GAKGxu39yE17YAj3ZXZUUEosNQKnjj7NTdmS7ZO22RXDRNQ6Ejqi4IXwtXiAL1F5kPK9laJblkAFIO35b47OBe3DXHQ/s400/DPMdiskspace.jpg" width="400" /></a></div>
<br />
<br />
-----------------------------------<br />
<br />
<span style="color: #38761d; font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">#Load the MOMScript API and the PropertBag provider</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$API = New-Object -comObject "MOM.ScriptAPI"</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$bag = $api.CreatePropertyBag()</span><br />
<span style="color: #38761d; font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="color: #38761d; font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">#Log an event at script-start</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$api.LogScriptEvent("FreeDiskSpace.ps1",3280,0,"Collect FreeSpace in DPM-storagepool Script is starting")</span><br />
<span style="color: #38761d; font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="color: #38761d; font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">#Main PowerShell-script</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$FS = get-dpmdisk | where {$_.DiskTypeLabel -ne "Basic"} | Select UnallocatedSpaceLabel | ft -HideTableHeaders| Out-String -Stream</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$FS = $FS | ForEach-Object {$_ -replace "GB", ""} </span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$FreeSpace = ($FS | Measure-Object -Sum | select sum | ft -HideTableHeaders | Out-String).trim()</span><br />
<br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$TS = get-dpmdisk | where {$_.DiskTypeLabel -ne "Basic"} | Select TotalCapacityLabel | ft -HideTableHeaders| Out-String -Stream</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$TS = $TS | ForEach-Object {$_ -replace "GB", ""} </span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$TotalSpace = ($TS | Measure-Object -Sum | select sum | ft -HideTableHeaders | Out-String).trim()</span><br />
<span style="color: #38761d; font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="color: #38761d; font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">#Add the data into the PropertyBag</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$bag.AddValue("FreeSpace",$FreeSpace)</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$bag.AddValue("TotalSpace",$TotalSpace)</span><br />
<span style="color: #38761d; font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="color: #38761d; font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">#Log an event that our script is complete</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$api.LogScriptEvent("FreeDiskSpace.ps1",3281,0,"Collect FreeSpace in DPM-storagepool Script is complete. </span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$FreeSpace GB of $TotalSpace GB free in diskpool on $env:computername")</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="color: #38761d; font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">#Output the PropertyBag data for SCOM consumption</span><br />
<span style="font-family: "helvetica neue" , "arial" , "helvetica" , sans-serif;">$bag</span><br />
<br />
-----------------------------------<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Kind Regards<br />
Markus EliassonMarkus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com5tag:blogger.com,1999:blog-5639188471484165101.post-25067866318632386292016-02-04T13:29:00.000+01:002016-02-04T13:29:23.720+01:00Move protected data between DPM-disks: MigrateDatasourceDataFromDPMHi everyone,<br />
<br />
Here is an example on how I use the MigrateDatasourceDataFromDPM.ps1 when I want to consolidate protected data or just empty one disk in the DPM storage-pool.<br />
<br />
The <b>ntdiskid</b>-number in the script is the number you can see in either the get-DPMDisk output, the Windows Disk Management GUI or under Management - Disks in the DPM-console.<br />
<br />
In the example below I want to move all data from disk 1 to disk 3,5 and 6:<br />
<br />
<blockquote class="tr_bq">
$source = get-dpmdisk -dpmserver <i>MyDpmServer </i>| where {$_.ntdiskid -eq <b>1</b>} </blockquote>
<blockquote class="tr_bq">
$destination = get-dpmdisk -dpmserver <i>MyDpmServer </i>| where {<b>3,5,6</b> -contains $_.ntdiskid} </blockquote>
<blockquote class="tr_bq">
MigrateDatasourceDataFromDPM.ps1 -DPMServername <i>MyDpmServer </i>-source $source -destination $destination</blockquote>
<br />
//MarkusMarkus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-20946245814443305372016-01-29T09:40:00.001+01:002016-01-29T09:41:17.197+01:00Update Rollup 9 for System Center 2012 R2 Data Protection Manager is now available!Hi!<br />
<br />
Update Rollup 9 has been released and for all the DPM-admin out there. Here is the fix we all have been waiting for:<br />
<br />
<ul>
<li>No production server restart is required when you upgrade from DPM 2012 R2 Update Rollup 6 or later versions!</li>
</ul>
<blockquote class="tr_bq">
<i>"We have performed an extensive review of the DPM architecture to avoid production server restarts when you upgrade the DPM Agent. There were a few cases in which the Agent update was flagging for restart, and these are fixed now. Therefore, if you already upgraded to DPM 2012 R2 Update Rollup 6 or a later version, you will not experience a restart when you upgrade to this update."</i></blockquote>
<br />
<i><br /></i>
There are more features and a lot of fixes that prevent issues in UR9 so go ahead and start upgrading: <a href="https://support.microsoft.com/en-us/kb/3112306">Update Rollup 9 for System Center 2012 R2 Data Protection Manager</a><br />
<br />
Have a great Friday and a lovely weekend!<br />
<br />
Kind Regards<br />
Markus EliassonMarkus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-17609626768164641582016-01-28T15:25:00.000+01:002016-01-28T15:26:11.204+01:00Setdpmserver, errorcode = 0x80070005, error says: access is deniedHi,<br />
<br />
So today I ran into an interesting problem when installing a DPM-agent on a Domain Controller in another trusted-domain.<br />
<br />
The agent-installation completed successfully but when I ran:<br />
<i><span style="font-family: "verdana" , sans-serif;">SetDpmserver.exe -dpmservername MyDPMServer.Bucatech.com</span></i><br />
In a elevated command prompt I got received the error <br />
<i><span style="font-family: "verdana" , sans-serif;">SetDpmServer failed with errorcode = 0x80070005, error says: Access is denied.</span></i><br />
<br />
My solution, after some hours of troubleshooting, was to run a Enter-PsSession to the production server, from the DPM-server in my Bucatech.com-domain:<br />
<br />
<span style="font-family: "verdana" , sans-serif;">Enter-PSSession <i>ProdServer.Contoso.com</i> -Credential Contoso\DomainAdminUser</span><br />
<br />
*fill in my password in the authentication-box*<br />
<br />
<span style="font-family: "verdana" , sans-serif;">CD 'C:\Program Files\Microsoft Data Protection Manager\DPM\bin'</span><br />
<span style="font-family: "verdana" , sans-serif;"><br /></span>
<span style="font-family: "verdana" , sans-serif;"> .\SetDPMServer.exe -dpmservername MyDPMServer.Bucatech.com</span><br />
<br />
I hope this can help anyone of you!<br />
<br />
Kind Regards<br />
Markus Eliasson<br />
<br />Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com2tag:blogger.com,1999:blog-5639188471484165101.post-37591355843119026632016-01-12T13:10:00.000+01:002016-01-12T13:10:17.120+01:00What's coming for System Center in 2016?Hi everyone,<br />
<br />
Just a quick post to update you on what new features we can expect to see in DPM 2016:<br />
<br />
<ul>
<li>Protect mixed mode clusters</li>
<li>New form of change tracking to replace VSS snapshot-based backups - Resilient Change Tracking (RCT)</li>
<li>Storage Spaces Direct (S2D) support</li>
<li>Virtual TPM support for protection of Shielded VMs</li>
</ul>
<br />
<br />
<div>
How these new features will integrate with VMM 2016 and its new "VM Checkpoint support" ("Production" checkpoints in Server 2016) is going to be very interesting!</div>
<div>
<br /></div>
<div>
Here is a great bloggpost covering all System Center products:</div>
<div>
<a href="http://www.systemcenter.ninja/2016/01/whats-coming-for-system-center-in-2016.html?m=1">What's coming for System Center in 2016?</a></div>
<div>
<br /></div>
<div>
Best Regards</div>
<div>
Markus Eliasson</div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-74816017069491199932016-01-04T10:25:00.001+01:002016-01-04T10:25:53.523+01:00Microsoft recommends installing Update Rollup 8 to improve stabilityHi everyone!<div>
<br /></div>
<div>
Its now 2016 and we have got a whole new year of exciting new features and releases in front of us, but lets focus on our current situation for a moment.</div>
<div>
<br /></div>
<div>
Update Rollup 8 for DPM 2012 R2 has been out almost two months now and if you haven't already upgraded now is the time. Microsoft has received good feedback from thousands of customers and have decided to make the UR8 marked as "Important Update" on Microsoft Update. </div>
<div>
<br /></div>
<div>
Here is a complete list of important issues that has been fixed since DPM UR7:</div>
<div>
<div class="MsoNormal">
</div>
<ul>
<li>DPM console
crash issues.</li>
<li>If you try
to back up a SharePoint site that uses SQL Always On as a content database, SQL
logs are not truncated resulting in SQL disks to become full.</li>
<li>If you have
multiple SharePoint farms hosted on the same SQL cluster, with different
instances but the same database names, DPM cannot back up the correct
SharePoint farm content.</li>
<li>You try to
back up Hyper-V virtual machines (VM) that have a replica and both the Active
virtual machine and the Replica virtual machine are managed by the same System
Center VMM server. Previously, you had no control to select between Active and
Replica virtual machines for backup. This frequently caused backups to fail,
depending on the setup.</li>
<li>If you try
to protect large number of virtual machines in a single Protection Group, and
you have the VMM Helper Service enabled, some backups may fail with
"System.TimeoutException".</li>
<li>In some
cases, alerts that are resolved in DPM are not synced in the DPM Central
Console.</li>
<li>If you are
trying to recover data from an imported tape, DPM may crash with a
"Connection to the DPM service has been lost" error.</li>
<li>When you
try to protect a SQL failover cluster, the Data Protection Manager UI may crash
for backup or synchronization operation.</li>
<li>DPM
self-service recovery for SQL databases may fail with the error “Cannot connect
to DPM server …”</li>
<li>End User
Recovery/SSRT may not work in some cases for mirrored SQL databases.</li>
<li>You cannot
protect a SQL database on an Availability Group (AG) if different AG have the
same database name.</li>
</ul>
<div>
<br /></div>
<div>
Get UR8 now! = <a href="https://support.microsoft.com/en-us/kb/3086084">https://support.microsoft.com/en-us/kb/3086084</a></div>
<div>
<br /></div>
<div>
Kind Regards<br />Markus Eliasson</div>
<br />
</div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-28962251130478249572015-11-02T09:45:00.001+01:002015-11-16T14:09:38.033+01:00ID 30115: VssError: Insufficient storage available to create either the shadow copy storage file or other shadow copy data.(0x8004231F)Hi folks,<br />
<br />
Quick post about a small problem you may ran into from time to time!<br />
<br />
<b><u>Error Messages</u></b><br />
You recevie the following error message in the DPM-console:<br />
<blockquote class="tr_bq">
<i>DPM failed to synchronize changes for SQL Server 2012 database SQL01\SQLIN03\DPMDB on SQL01.contoso.local because the snapshot volume did not have sufficient storage space to hold the churn on the protected computer (ID 30115 Details: VssError:Insufficient storage available to create either the shadow copy storage file or other shadow copy data.(0x8004231F))</i></blockquote>
And the following event is logged in the System log on the protected server:<br />
<blockquote class="tr_bq">
<i>When preparing a new volume shadow copy for volume E:, the shadow copy storage on volume C:\...\{volume-GUID} could not be located in non-critical space. Consider using a shadow copy storage volume that does not have any shadow copies. </i></blockquote>
<b><u>Cause</u></b><br />
The Shadow Copy Service is allocated limited amount of space which is not sufficient for the creation of a snap.<br />
<br />
<b><u>Solution</u></b><br />
<br />
<ul>
<li>Right click the volume (in my case E:) in disk management.</li>
<li>Go to the Shadow Copies-tab and located the volume (still E:) in the "<i>Select a volume</i>"list.</li>
<li>Press settings and increase the "<i>Maximum size:</i>" or configure it with "<i>No limit:"</i></li>
<li>Press OK in the Settings-window and re run your job from the DPM-console</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRM8DF7YW8j_sC07y-_o1VEoHK-vnqhdh2lBlYMbWbzPhnpD8BSKutcE3wjeH0IVivRk9Ua4-KVOMva_e3R008J9bo7tUioKx_R1EvmYmzuxq2x1VxWSQyqWfcqB6Jlbk_IJ6k2HE1E6U/s1600/ShadowCopiesSettings.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRM8DF7YW8j_sC07y-_o1VEoHK-vnqhdh2lBlYMbWbzPhnpD8BSKutcE3wjeH0IVivRk9Ua4-KVOMva_e3R008J9bo7tUioKx_R1EvmYmzuxq2x1VxWSQyqWfcqB6Jlbk_IJ6k2HE1E6U/s320/ShadowCopiesSettings.JPG" width="310" /></a></div>
<div>
<br /></div>
<div>
Best Regards</div>
<div>
Markus Eliasson</div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com2tag:blogger.com,1999:blog-5639188471484165101.post-21298877697144172282015-10-28T22:01:00.002+01:002015-11-02T09:45:44.461+01:00Update Rollup 8 for System Center 2012 R2 Data Protection Manager<div>
<span style="font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif;"><span style="font-size: 15px; line-height: 20px;">Hi folks,</span></span></div>
<div>
<span style="font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif;"><span style="font-size: 15px; line-height: 20px;"><br /></span></span></div>
<div>
<span style="font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif;"><span style="font-size: 15px; line-height: 20px;">DPM Update Rollup 8 has been released! </span></span><br />
<span style="color: #0000ee; font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif;"><span style="font-size: 15px; line-height: 20px;"><u>https://support.microsoft.com/en-us/kb/3086084</u></span></span></div>
<div>
<span style="font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif;"><span style="font-size: 15px; line-height: 20px;"><br /></span></span></div>
<div>
<span style="font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif;"><span style="font-size: 15px; line-height: 20px;">Unfortunately there is no new features but something worth mention is the following information:</span></span></div>
<blockquote class="tr_bq">
<span style="font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif;"><span style="font-size: 15px; line-height: 20px;">"</span></span><span class="text-base" style="background-color: white; box-sizing: border-box; font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif; font-size: 15px; font-weight: 600; line-height: 20px; margin-bottom: 0px; margin-top: 0px; outline: 0px;">Note</span><span style="background-color: white; font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif; font-size: 15px; line-height: 20px;"> If the DPM server and protected servers are running DPM 2012 R2 Update Rollup 5 (version 4.2.1292.0) or earlier update rollups, the Agent update will require a restart of protected servers."</span></blockquote>
<span style="background-color: white; font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif; font-size: 15px; line-height: 20px;">So what does this mean? Well, are you running UR6 and UR7 DPM-agents in your enviroment. There is no need for restart when you update them to UR8!</span><br />
<span style="background-color: white; font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif; font-size: 15px; line-height: 20px;"><br /></span>
<span style="font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif; font-size: 15px; line-height: 20px;">Below is the Issues that are fixed in this update rollup:</span><br />
<ul class="sbody-free_list" style="background-color: white; box-sizing: border-box; font-family: 'Segoe UI', 'Segoe UI Web', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; font-size: 15px; line-height: 20px; margin: 0px; padding: 0px 20px;">
<li style="box-sizing: border-box; margin-bottom: 12px;">The DPM Agent crashes intermittently during a backup.</li>
<li style="box-sizing: border-box; margin-bottom: 12px;">If you are trying to recover data from an imported tape, DPM may crash with a "Connection to the DPM service has been lost" error.</li>
<li style="box-sizing: border-box; margin-bottom: 12px;">If you try to back up a SharePoint site that uses SQL Always On as a content database, SQL logs are not truncated as expected.</li>
<li style="box-sizing: border-box; margin-bottom: 12px;">You cannot verify tape library compatibility for tapes that use <span class="text-base" style="box-sizing: border-box; font-size: 0.9375rem; font-weight: 600; line-height: 1.33333; margin-bottom: 0px; margin-top: 0px; outline: 0px;">RSMCompatmode</span> settings such as IBM 35xx, 2900, and so on.</li>
<li style="box-sizing: border-box; margin-bottom: 12px;">If you have multiple SharePoint farms hosted on the same SQL cluster with different instances but the same database names, DPM cannot back up the correct SharePoint farm content.</li>
<li style="box-sizing: border-box; margin-bottom: 12px;">If you run Update Rollup 7 for Data Protection Manager 2012 R2, and you have already configured online protection for one or more protection groups, trying to change the protection group populates the default DPM settings for the "Select long-term goals" wizard instead of the previous configured values.</li>
<li style="box-sizing: border-box; margin-bottom: 12px;">When you try to protect a SQL failover cluster, the Data Protection Manager UI crashes for every backup or synchronization operation.</li>
<li style="box-sizing: border-box; margin-bottom: 12px;">If you install Update Rollup 7 for Data Protection Manager 2012 R2, self-service recovery for SQL databases may not work, and you receive the following error message:<br style="box-sizing: border-box;" /><br style="box-sizing: border-box;" /><img alt="Error message" class="graphic" src="https://support.microsoft.com/Library/Images/3106336.jpg" style="border: 0px; box-sizing: border-box; padding: 0px 8px; vertical-align: middle;" title="Error message" /></li>
</ul>
<div>
<span style="font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif;"><span style="font-size: 15px; line-height: 20px;">Kind Regards</span></span></div>
<div>
<span style="font-family: "segoe ui" , "segoe ui web" , "segoe ui symbol" , "helvetica neue" , "bbalpha sans" , "s60 sans" , "arial" , sans-serif;"><span style="font-size: 15px; line-height: 20px;">Markus Eliasson</span></span></div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-20645819889920180022015-10-21T08:48:00.000+02:002015-11-02T09:46:13.419+01:00Event ID 10028: DCOM was unable to communicate with the computer...<h2>
Hi,</h2>
A small post regarding my solution to a problem I encountered today.<br />
<br />
<h4>
<u>Issue:</u></h4>
<div>
Backup-jobs have been failing and your DPM-agent is listed as unavalible.</div>
<div>
In the Event Viewer on your DPM-server event id 10028 is logged in the System log:</div>
<blockquote class="tr_bq">
<i>DCOM was unable to communicate with the computer contoso-app01.contoso.local using any of the configured protocols; requested by PID a24 (C:\Program Files\Microsoft System Center 2012\DPM\DPM\bin\msdpm.exe</i></blockquote>
<div>
The first thing you would troubleshoot is if there are any firewalls that are blocking the communication but for my case I knew nothing had change in the communication.</div>
<div>
<br /></div>
<h4>
<u>Resolution</u></h4>
<div>
1. Open up an elevated command promt and run <i><b>ipconfig /flushdns</b></i>.</div>
<div>
2. Refresh your agent on the Management-tab in your DPM-console.</div>
<div>
3. Re-run any failed DPM-jobs.</div>
<div>
<br /></div>
<div>
A very simple solution in my case to get the jobs working again but there is still some work to find out if there is an issue in the DNS registration in Active Directory.</div>
<div>
<br /></div>
<div>
Take care!</div>
<div>
<br /></div>
<div>
//Markus</div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com1tag:blogger.com,1999:blog-5639188471484165101.post-41122021437828800192015-10-13T09:36:00.000+02:002015-10-13T09:36:22.579+02:00Restart VSS-writers manually without server reboot<h3>
Hi,</h3>
<div>
<br /></div>
Have you ever experienced problem with snapshot-backup due to failed VSS-writers and you cannot restart your server until after business hour or the next service window?<br />
<br />
An alternative solution other than restarting the server is to restart each of the associated services for each of the VSS writers!<br />
<br />
<h4>
Find failed VSS-writers and restart service:</h4>
<div>
<div>
<ul>
<li>Find each of the VSS writers in a failed state by issuing this command in an elevated command prompt - <i>vssadmin list writers.</i></li>
<li>Make a list of all the failed VSS writers or take a screenshot.</li>
<li>Find the VSS writer's associated Service Display Name in the table below and restart the service.</li>
<li>Issue the command again to confirm the status has changed Stable with no Error - vssadmin list writers.</li>
<li>Attempt to perform another snapshot.</li>
<li>If the VSS writers fail again, it will be necessary to restart the server.</li>
</ul>
<div>
<br /></div>
<div>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-spacing: 0px; box-sizing: border-box; width: 674px;">
<colgroup><col style="mso-width-alt: 9289; mso-width-source: userset; width: 191pt;" width="254"></col>
<col style="mso-width-alt: 5010; mso-width-source: userset; width: 103pt;" width="137"></col>
<col style="mso-width-alt: 10349; mso-width-source: userset; width: 212pt;" width="283"></col>
</colgroup><tbody>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl63" height="22" style="height: 16.5pt; width: 191pt;" width="254"><b>VSS
Writer</b></td>
<td class="xl63" style="width: 103pt;" width="137"><b>Service Name</b></td>
<td class="xl63" style="width: 212pt;" width="283"><b>Service Display Name</b></td>
</tr>
<tr height="22" style="height: 16.5pt;">
<td class="xl64" height="22" style="height: 16.5pt; width: 191pt;" width="254"><span style="font-size: x-small;">ASR
Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">VSS</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Volume Shadow Copy</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">BITS Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">BITS</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Background Intelligent Transfer Service</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">COM+ REGDB Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">VSS</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Volume Shadow Copy</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">DFS Replication
service writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">DFSR</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">DFS Replication</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">DHCP Jet Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">DHCPServer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">DHCP Server</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">FRS Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">NtFrs</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">File Replication</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">FSRM writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">srmsvc</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">File Server Resource Manager</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">IIS Config Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">AppHostSvc</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Application Host Helper Service</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">IIS Metabase
Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">IISADMIN</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">IIS Admin Service</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">Microsoft Exchange
Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">MSExchangeIS</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Microsoft Exchange Information Store</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">Microsoft Hyper-V
VSS Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">vmms</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Hyper-V Virtual Machine Management</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">NTDS</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">NTDS</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Active Directory Domain Services</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">OSearch VSS Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">OSearch</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Office SharePoint Server Search</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">OSearch14 VSS
Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">OSearch14</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">SharePoint Server Search 14</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">Registry Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">VSS</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Volume Shadow Copy</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">Shadow Copy
Optimization Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">VSS</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Volume Shadow Copy</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">SPSearch VSS
Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">SPSearch</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Windows SharePoint Services Search</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">SPSearch4 VSS
Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">SPSearch4</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">SharePoint Foundation Search V4</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">SqlServerWriter</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">SQLWriter</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">SQL Server VSS Writer</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">System Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">CryptSvc</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Cryptographic Services</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">TermServLicensing</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">TermServLicensing</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Remote Desktop Licensing</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">WINS Jet Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">WINS</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Windows Internet Name Service (WINS)</span></td>
</tr>
<tr height="22" style="box-sizing: border-box; height: 16.5pt;">
<td class="xl64" height="22" style="box-sizing: border-box; height: 16.5pt; padding-bottom: 0px; padding-top: 0px; width: 191pt;" width="254"><span style="font-size: x-small;">WMI Writer</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 103pt;" width="137"><span style="font-size: x-small;">Winmgmt</span></td>
<td class="xl64" style="box-sizing: border-box; padding-bottom: 0px; padding-top: 0px; width: 212pt;" width="283"><span style="font-size: x-small;">Windows Management Instrumentation</span></td>
</tr>
</tbody></table>
</div>
</div>
</div>
<br />
Kind Regards<br />Markus Eliasson<br />
<br />
<br />Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-32291723142344728832015-10-12T14:54:00.002+02:002015-10-12T14:54:33.483+02:00The replica is inconsistent with the protected data source (ID30111)Hi,<br />
<br />
Today I ran into a virtual machine which after months of successful jobs started to fail while trying to protect it with via Online Snapshot.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxQJT6Y8jcTddusF9UKKEh6j2R26rVrD0YP2AQMHG6kp-LljBW8YjjxgX7ecunJdx9Tv56h678wNJUaIZAmnujDjbNa49GyPz9ArADBv3TcsHRqeYw4H8YnhWswHfwcGl5FJcAQUgRBg8/s1600/The+replica+is+inconsistent+with+the+protected+data+source.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="103" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxQJT6Y8jcTddusF9UKKEh6j2R26rVrD0YP2AQMHG6kp-LljBW8YjjxgX7ecunJdx9Tv56h678wNJUaIZAmnujDjbNa49GyPz9ArADBv3TcsHRqeYw4H8YnhWswHfwcGl5FJcAQUgRBg8/s320/The+replica+is+inconsistent+with+the+protected+data+source.jpg" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">ID 30111</td></tr>
</tbody></table>
The event logs on the Hyper-V host for the virtual machine did not give me any additional information so I logged onto the virtual machine itself and ran <b style="font-style: italic;">VSSADMIN List Writers </b>and it showed almost all VSS-writers in a "<i>[10] Failed</i>" state with the error "<i>Timed Out</i>".<div>
<br /></div>
<div>
I restarted all failed VSS-writers but as soon as I restarted the backup-job, the VSS-writers timed out again. The application event log on the virtual machine had the following errors: </div>
<div>
<ul>
<li>Event ID 17 "Could not find a matching original volume for shadow volume \\?\Volume{<i><b>GUID</b></i>}"</li>
</ul>
</div>
<div>
<ul>
<li>Event ID 12293: "Volume Shadow Copy Service error: Error calling a routine on a Shadow Copy Provider {74600e39-7dc5-4567-a03b-f091d6c7b092}. Routine details PreFinalCommitSnapshots({a2709227-7262-48ab-987b-5dc13bac4ab9}, 1) [hr = 0x80070490, Element not found.]. <br />Operation: Executing Asynchronous Operation. <br />Context: Current State: DoSnapshotSet.</li>
</ul>
<div>
<b><u>Resolution</u></b></div>
<div>
<b><u><br /></u></b></div>
<div>
As Event ID 17 was referring to a volume, I opened up an elevated PowerShell-window and ran <i style="font-weight: bold;">Diskpart</i> followed by <i style="font-weight: bold;">List disk.</i></div>
</div>
<div>
From the output, I could see was that one of my volumes were in an Offline state:</div>
<div>
<pre class="csharpcode" style="background: rgb(247, 247, 247); border: 0px; color: #222222; font-family: 'Courier 10 Pitch', Courier, monospace; font-size: 15px; line-height: 21px; margin-bottom: 24px; overflow: auto; padding: 1.5em; vertical-align: baseline;"><span style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Disk 0 Online 60 GB 0 B *</span><span style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
Disk 1 Offline 20GB 1024KB</span><span style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"></span><span style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
Disk 2 Online 100GB 0 B</span></pre>
</div>
<div>
I opened up Disk Management (diskmgmt.msc), right-clicked disk 2 and made it Online.</div>
<div>
<br /></div>
<div>
Without further actions, I tried to perform a consistency check on the virtual machine from the DPM-console and the job completed successfully.</div>
<div>
<br /></div>
<div>
Kind Regards</div>
<div>
Markus Eliasson</div>
<div>
<br /></div>
<div>
<br /></div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-65487312508858222572015-08-24T10:41:00.000+02:002015-08-24T10:41:04.799+02:00Expired Disk Based Recovery Points are not deleted after installing DPM 2012 R2 UR7<div style="background: white; line-height: 15.1pt; margin-bottom: 12.0pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm;">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; mso-ansi-language: EN-US;">Hi
Everyone,<o:p></o:p></span></div>
<div style="background: white; line-height: 15.1pt; margin: 0cm 0cm 12pt; outline: 0px;">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; mso-ansi-language: EN-US;">After you install DPM 2012 R2
UR7 update (KB3065246), DPM cannot delete expired recovery points. This
will lead to extra recovery point volume usage. <o:p></o:p></span></div>
<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.1620178222656px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
</div>
<div style="background: white; margin: 0cm 0cm 12pt; outline: 0px;">
<span lang="EN-US" style="font-size: 10.5pt;"><span style="color: #333333; font-family: Segoe UI, sans-serif;"><span style="line-height: 15.1pt;">Please follow the link and instructions below to download
and install the fix for this issue:</span><span style="line-height: 20.1333332061768px;"><br /></span></span></span><a href="https://www.microsoft.com/en-in/download/details.aspx?id=48694" style="border: none; color: #00749e; cursor: pointer; font-family: inherit; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 20.1620178222656px; list-style-type: none; margin: 0px; outline: 0px; padding: 0px; text-decoration: none;" target="_blank">Fix for a known issue with Update Rollup 7 for System Center 2012 R2 Data Protection Manager</a></div>
<div class="MsoNormal">
<b><span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">Install Instructions:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<b><span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></b></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">Please ensure
you are currently running DPM 2012 R2 UR7 before applying the fix. <br />
The issue is not applicable to older updates and will be fixed automatically in
later updates. Please perform the below steps on all DPM servers running DPM
2012 R2 UR7. Steps to verify that you are running DPM 2012 R2 UR7 <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">1. Open DPM UI
and click on help menu option and click on "About Data Protection
Manager" option. <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">2. A popup will
be displayed with version information. <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">3. Make sure
version is 4.2.1338.0, else no need to apply the fix. <br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">Updating pruneshadowcopiesDpm2010.ps1 script:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<b><span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></b></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">4. Backup
original <i>pruneshadowcopiesDpm2010.ps1</i>
from System Drive:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\bin to
another location to make sure you have a copy saved with you. <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">5. Download <i>pruneshadowcopiesDpm2010.ps1</i> file from
the link above.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">6. Replace the
original <i>pruneshadowcopiesDpm2010.ps1</i>
at the location in step 4 with the new downloaded <i>pruneshadowcopiesDpm2010.ps1</i>
file.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">7. Monitor DPM
for one day and it should clean up the expired recovery points, the cleanup
happens at regular intervals once a day during midnight. <br />
<br />
<b>Shrinking the recovery point volume (optional):</b><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><b><br /></b></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;">8. In case the
Recovery Point Volume already increased and DPM is consuming a lot of storage
you can try the option of shrinking the recovery point volume using the below
steps: </span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /> a. Click on the Protection Tab</span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /><span style="line-height: 14.9799995422363px;"> </span>b. Right click on the Protection Group and select “Modify Disk Allocation”</span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><span style="line-height: 14.9799995422363px;"> </span>c. Click on the Shrink link next to each Recovery Point Volume, it will display
the new size of </span><span lang="EN-US" style="color: #333333; font-family: 'Segoe UI', sans-serif; font-size: 10.5pt; line-height: 107%;">the </span><span style="color: #333333; font-family: 'Segoe UI', sans-serif; font-size: 10.5pt; line-height: 107%;">volume.</span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><span style="line-height: 14.9799995422363px;"> </span>d. Click on OK it will open a new popup showing the progress of DPM Shrink
operation. <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="color: #333333; font-family: "Segoe UI",sans-serif; font-size: 10.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: SV;"><br /></span></div>
<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.1620178222656px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
<span lang="EN-US" style="font-family: 'Segoe UI', sans-serif; font-size: 10.5pt; line-height: 107%;">Note: Use the Shrink feature
judiciously, repeated small shrinks cause free space fragmentation and
increases the number of extents.</span></div>
<div style="background-color: white; border: none; color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20.1620178222656px; list-style-type: none; margin-bottom: 1em; outline: 0px; padding: 0px;">
<span lang="EN-US" style="font-family: 'Segoe UI', sans-serif; font-size: 10.5pt; line-height: 107%;">Kind Regards<br />Markus Eliasson</span></div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com4tag:blogger.com,1999:blog-5639188471484165101.post-53992417025045510412015-05-06T09:07:00.000+02:002015-05-07T09:47:12.460+02:00Troubleshoot ID 30111: VssError: The specified object was not foundHi folks,<br />
<br />
Here's a quick solution how to fix the following error in DPM in a scenario where you have configured Online Snapshot-protection of a virtual machine:<br />
<blockquote class="tr_bq">
The VSS application writer or the VSS provider is in a bad state. Either it was already in a bad state or it entered a bad state during the current operation. (ID 30111 Details: VssError: The specified object was not found. (0x80042308))</blockquote>
<h4>
Troubleshooting steps:</h4>
<ol>
<li>Verify that the virtual machine is not deleted in Hyper-V/VMM.</li>
<li>Modify the protection group where you configured protection for the virtual machine.</li>
<li>Expand your Hyper-V cluster and locate your virtal machine in the "Modify Group"-wizard.</li>
<li>Expand the virtual machine and make sure the checkbox for "Hyper-V\Online\<em>ServerName</em>" is checked.</li>
<li>Complete the "Modify Group"-wizard by clicking Next untill it updates the configuration.</li>
<li>When you succesfully have created a recovery point for the virtual machine; Stop the protection of the failing datasource.</li>
</ol>
<h4>
Problem cause:</h4>
This problem will occur when a virtual machine gets clooned or deleted and then recreated again with the same name.<br />
<br />
//MarkusMarkus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-74112039681764211072015-04-29T19:22:00.002+02:002015-05-07T16:15:14.381+02:00Update Rollup 6 for System Center 2012 R2 Data Protection ManagerUpdate Rollup 6 for DPM 2012 R2 has been realesed!<br />
<br />
And Microsoft gives us a lot of bugg fixes as well as two new features:<br />
<br />
<ul>
<li>Option to keep online backup data while deleting a protection group</li>
<li>Support for sQL Server 2012 as DPMDB</li>
</ul>
<div>
For more information and download:</div>
<div>
<a href="https://support.microsoft.com/en-us/kb/3030574">https://support.microsoft.com/en-us/kb/3030574</a></div>
<div>
<br /></div>
<div>
//Markus</div>
<div>
<br /></div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-90178681426462821362015-04-29T08:56:00.003+02:002015-04-29T08:56:54.011+02:00Restore DPM DB from Azure Backup Vault
<span style="font-family: "Segoe UI",sans-serif;">Recently a company contacted me and needed help to restore a failed DPM server. The challenge in the restore was to recover their DPM database as it was protected via Online Protection by the failed DPM-server.</span><br />
<span style="font-family: "Segoe UI",sans-serif;"></span><br />
<span style="font-family: "Segoe UI",sans-serif;">This blogpost will cover how you restore the DPM DB from an Azure Backup Vault when the DPM-server protecting the database has failed.</span><br />
<br />
<h2 style="margin: 2pt 0cm 0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="color: windowtext; font-family: "Segoe UI",sans-serif;"><span style="font-size: medium;">Prerequisites</span></span></b></h2>
<div class="MsoListParagraphCxSpFirst" style="margin: 0cm 0cm 0pt 54pt; mso-add-space: auto; mso-list: l2 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">A
clean installation of DPM 2012 R2 with a local SQL 2012-instance on a Windows
Server 2012 R2 with the same computer name as the failed DPM-server.</span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 54pt; mso-add-space: auto; mso-list: l2 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">The
storage connected to the new server as the failed DPM-server had.</span></div>
<div class="MsoListParagraphCxSpLast" style="margin: 0cm 0cm 8pt 54pt; mso-add-space: auto; mso-list: l2 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">The
Azure encryption passphrase for the failed DPM-server.<o:p></o:p></span></div>
<br />
<h2 style="margin: 2pt 0cm 0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="color: windowtext; font-family: "Segoe UI",sans-serif;"><span style="font-size: medium;">Restore the DPM DB from Windows Azure<o:p></o:p></span></span></b></h2>
<br />
<div class="MsoListParagraphCxSpFirst" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">1.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Log
into your Azure Portal: </span><a href="https://manage.windowsazure.com/"><span style="font-family: "Segoe UI",sans-serif;"><span style="color: #0563c1;">https://manage.windowsazure.com</span></span></a><span style="font-family: "Segoe UI",sans-serif;"><o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">2.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">In
the Azure Portal, navigate to Recovery Services – “<i style="mso-bidi-font-style: normal;">Your Backup Vault-name”</i>.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">3.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Download
the Microsoft Azure Recovery Service (MARS)-agent.<o:p></o:p></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_dgxysAXQ3NkwwNgPslWcAE0k-P0apWKIifTZQKodR-Qlmcjtg5NNLR-4V5rcbi30rOCxr_OZ4ibRghwXTY8uk_cbQJ2qGJ_wHC73pGWRrkgfYU31qeG3slgIHf8Ekeg_eDGgLH6VZns/s1600/AzureBackupVault.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_dgxysAXQ3NkwwNgPslWcAE0k-P0apWKIifTZQKodR-Qlmcjtg5NNLR-4V5rcbi30rOCxr_OZ4ibRghwXTY8uk_cbQJ2qGJ_wHC73pGWRrkgfYU31qeG3slgIHf8Ekeg_eDGgLH6VZns/s1600/AzureBackupVault.jpg" /></a></div>
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">4.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">From
the same page, download the Vault credentials to your Backup Vault.
<!--[if !supportLineBreakNewLine]--></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">5.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Install
the MARS-agent with your preferred settings on a machine <b style="mso-bidi-font-weight: normal;"><span style="color: red;">not</span></b><span style="color: red;"> </span>running
DPM.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">6.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Open
Microsoft Azure Backup that you just installed.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">7.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">In
the right table, press “<b style="mso-bidi-font-weight: normal;"><i style="mso-bidi-font-style: normal;">Recover Data</i></b>”.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">8.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">On
the Getting Started page choose “<b style="mso-bidi-font-weight: normal;"><i style="mso-bidi-font-style: normal;">Another server</i></b>” and specify your
Vault Credentials.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">9.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Select
the failed DPM-server and press ext.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">10.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Choose “<b style="mso-bidi-font-weight: normal;"><i style="mso-bidi-font-style: normal;">Browse for files</i></b>” and
press next.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">11.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Select the volume and choose date and
time from which you want to recover, press next.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">12.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">In the “<b style="mso-bidi-font-weight: normal;"><i style="mso-bidi-font-style: normal;">Available items:</i></b>” window,
select the root-folder and press next.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">13.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Choose the path to where you want to
recover and keep the other settings as default.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpLast" style="margin: 0cm 0cm 8pt 36pt; mso-list: l0 level1 lfo2; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">14.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Specify the same passphrase as you
had configured on the failed DPM-server and click Recover.<o:p></o:p></span></div>
<br />
<h2 style="margin: 2pt 0cm 0pt;">
<span style="font-size: medium;"><b style="mso-bidi-font-weight: normal;"><span style="color: windowtext; font-family: "Segoe UI",sans-serif;">Restore and synchronize the DPM database</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-size: 11pt; line-height: 107%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"><o:p></o:p></span></b></span></h2>
<br />
<div class="MsoListParagraphCxSpFirst" style="margin: 0cm 0cm 0pt 36pt; mso-list: l1 level1 lfo3; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">1.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Make
sure the restored DPM-database is placed on your newly installed DPM-server.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l1 level1 lfo3; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">2.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Stop
the SQL-Agent service and all DPM-services on the new DPM-server:<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 54pt; mso-add-space: auto; mso-list: l2 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">DPM<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 54pt; mso-add-space: auto; mso-list: l2 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">DPM
AccessManager Service<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 54pt; mso-add-space: auto; mso-list: l2 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">DPM
Writer<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 54pt; mso-add-space: auto; mso-list: l2 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">DPM
RA<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l1 level1 lfo3; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">3.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Open
SQL Server Management Studio and detach the new/empty DPM-database.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l1 level1 lfo3; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">4.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Right-click
“<b style="mso-bidi-font-weight: normal;"><i style="mso-bidi-font-style: normal;">Databases</i></b>”
in the SQL-instance and choose “<b style="mso-bidi-font-weight: normal;"><i style="mso-bidi-font-style: normal;">Attach…</i></b>”<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l1 level1 lfo3; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">5.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Click
“<b style="mso-bidi-font-weight: normal;"><i style="mso-bidi-font-style: normal;">Add…</i></b>”
then browse to your restored DPM-database and click OK twice.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l1 level1 lfo3; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">6.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Start
the SQL-Agent service and all DPM-services.<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 36pt; mso-list: l1 level1 lfo3; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">7.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">Open
the DPM Management Shell and run:<o:p></o:p></span></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 72pt; mso-add-space: auto;">
<span style="color: #2e74b5; font-family: Consolas; mso-themecolor: accent1; mso-themeshade: 191;">DpmSync –sync</span><o:p></o:p></div>
<br />
<div class="MsoListParagraphCxSpLast" style="margin: 0cm 0cm 8pt 36pt; mso-list: l1 level1 lfo3; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: "Segoe UI",sans-serif; mso-fareast-font-family: "Segoe UI";"><span style="mso-list: Ignore;">8.<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";">
</span></span></span><!--[endif]--><span style="font-family: "Segoe UI",sans-serif;">After
you have run the DPMSync –sync command, you must perform a consistency check
for all data sources from the DPM-console.</span></div>
<div class="MsoListParagraphCxSpLast" style="margin: 0cm 0cm 8pt 36pt; mso-list: l1 level1 lfo3; text-indent: -18pt;">
<span style="font-family: "Segoe UI",sans-serif;">Your DPM-server should now be in a functional state!</span></div>
<div class="MsoListParagraphCxSpLast" style="margin: 0cm 0cm 8pt 36pt; mso-list: l1 level1 lfo3; text-indent: -18pt;">
<span style="font-family: "Segoe UI",sans-serif;">//Markus</span></div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com1tag:blogger.com,1999:blog-5639188471484165101.post-41919434263284417362015-02-23T16:07:00.006+01:002015-02-23T16:10:05.382+01:00Troubleshoot ID 32008: DPM cannot protect this SharePoint farm as it cannot detect the configuration of the dependent SQL databases.<div class="MsoNormal">
<span lang="EN-US">Today I
helped a customer that was trying to protect a SharePoint-farm with DPM 2012
R2 UR5. </span></div>
<div class="MsoNormal">
<span lang="EN-US">The SharePoint was configured as followed:<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
</div>
<ul>
<li>2 Front-End web (WFE) servers running on
Windows Server 2012 R2</li>
<li>The SharePoint-databases resided on a SQL 2014 AlwaysOn-cluster.</li>
</ul>
<br />
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo2; text-indent: -18.0pt;">
</div>
<div class="MsoNormal">
<span lang="EN-US">When we
tried to add the SharePoint form to a protection group, we were prompted with the
following error: <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US"><br /></span></div>
<div class="MsoNormal" style="margin-left: 65.2pt;">
<i><span lang="EN-US">DPM cannot protect
this SharePoint farm as it cannot detect the configuration of the dependent SQL
databases. (ID: 32008)<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-left: 65.2pt;">
<i><span lang="EN-US"><br /></span></i></div>
<div class="MsoNormal" style="margin-left: 65.2pt;">
<i><span lang="EN-US">1) Ensure that the
SharePoint VSS writer is reporting content databases on the front-end web
server.<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-left: 65.2pt;">
<i><span lang="EN-US"><br /></span></i></div>
<div class="MsoNormal" style="margin-left: 65.2pt;">
<i><span lang="EN-US">2) Verify that the SQL
Server VSS writer is enabled and running in a healthy state on all the back-end
SQL servers machines.<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-left: 65.2pt;">
<i><span lang="EN-US"><br /></span></i></div>
<div class="MsoNormal" style="margin-left: 65.2pt;">
<i><span lang="EN-US">3) Verify if some of
the databases that are part of this SharePoint farm are already being protected
by DPM. To protect the SharePoint Farm, remove these databases from protection
and delete their existing recovery points.</span></i><span lang="EN-US"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 65.2pt;">
<i><span lang="EN-US"><br /></span></i></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje_xKCUStowyEektwLocjHlMMZyreACXrl1-CGAQz2PREKzf2aaClicYFVcH0L1R_OOvOTD4UTdqg-ghG6Zq-pomiEZzk7SOh4BynH1uKXehVOGg19LpKJEr7YPAH0vy_ch8dPRqN3LXc/s1600/DPM+cannot+protect+this+SharePoint+farm+as+it+cannot+detect+the+configuration+of+the+depent+SQL+databases.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje_xKCUStowyEektwLocjHlMMZyreACXrl1-CGAQz2PREKzf2aaClicYFVcH0L1R_OOvOTD4UTdqg-ghG6Zq-pomiEZzk7SOh4BynH1uKXehVOGg19LpKJEr7YPAH0vy_ch8dPRqN3LXc/s1600/DPM+cannot+protect+this+SharePoint+farm+as+it+cannot+detect+the+configuration+of+the+depent+SQL+databases.jpg" height="156" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-indent: 65.2pt;">Additional details
of the error could not be found in any logs on the DPM-server, WFE-servers or
the SQL-servers…</span></div>
<div class="MsoNormal">
<span lang="EN-US"><br /></span></div>
<div class="MsoNormal">
<b><span lang="EN-US" style="font-size: 12.0pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt;">Troubleshooting steps:<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin: 0cm 0cm 0.0001pt 18pt;">
</div>
<ol>
<li>Verify that the SharePoint VSS writer is <b>running</b> and the status is <b>stable</b> on the WFE-server. From an
elevated command prompt: <b><i>vssadmin list writers</i></b> </li>
<li>Make sure that DPM are not protecting any SharePoint
Config- or Content-databases that belongs to the SharePoint-farm. <span style="color: red;">(Don’t forget to remove any inactive protection as well!)</span></li>
<li>Run the <b>ConfigureSharePoint</b>
command on the front-end web server from an elevated command prompt (<i>%program files%\Microsoft Data Protection
Manager\DPM\Bin\)</i>:<br /><b><i><span lang="EN-US">ConfigureSharePoint.exe –EnableSharePointProtection</span></i></b><b><i><span lang="EN-US"> </span></i></b></li>
<li>(For SQL-cluster using SQL Alias)<br />Make sure your SQL aliases is configured properly on your WFEs (both 32bits
& 64bits):<br /><a href="http://mmman.itgroove.net/2013/11/03/setting-up-a-sql-server-alias-with-sharepoint-server-2013/">http://mmman.itgroove.net/2013/11/03/setting-up-a-sql-server-alias-with-sharepoint-server-2013/</a><b><i><span lang="EN-US"> </span></i></b></li>
</ol>
<br />
<div class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -18pt;">
</div>
<div class="MsoNormal">
<b><span lang="EN-US" style="font-size: 12.0pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt;">Additional troubleshooting:</span></b></div>
<div class="MsoNormal">
<span lang="EN-US">However,
even after performing the steps above we were still encountered with the same
error message and DPM could not enumerate all SharePoint-content databases that
belonged to the farm.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US">What we had
to do (even as we could see that the SharePoint VSS writer was up and running) were
to run the Stsadm command-line tool on the WFE-server. </span></div>
<div class="MsoNormal">
<span lang="EN-US">The Stsadm.exe is found together
with the other SharePoint products and technologies in the default installation
folder: <i>%</i><i><span lang="EN-US" style="font-family: "Calibri",sans-serif; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">CommonProgramFiles</span></i><i>%\microsoft
shared\web server extensions\12\bin</i>.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US">To register
the SharePoint VSS writer you will have to run the following command from an
elevated command prompt: <b>stsadm -o –registerwsswriter.<o:p></o:p></b></span></div>
<div class="MsoNormal">
<span lang="EN-US"><b><br /></b></span></div>
<br />
<div class="MsoNormal">
<span lang="EN-US">After the
operation completed successfully, we could go back to my DPM-server and configure
protection for the SharePoint-farm with any errors.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US">//Markus</span></div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com2tag:blogger.com,1999:blog-5639188471484165101.post-38872792500171820192015-02-10T09:35:00.001+01:002015-02-10T09:37:10.178+01:00List unproteced volumes on your DPM-serverHi folks,<br />
<br />
Last week I encountered a customer that had a challenge that backup operators would add a production server to a protection group in DPM but not protect all necessary volumes on the production server.<br />
<br />
To solve their challenge I created a PowerShell-script that queries all protected servers and compare what volumes they have with the protected volumes in DPM. The result of the script is a list with the server name and drive letter on the volume that is not protected.<br />
<br />
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span lang="EN-US" style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Lucida Console";"># Create folder for
output-files</span><span lang="EN-US" style="font-family: "Lucida Console"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span lang="EN-US" style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Lucida Console";">New-item</span><span lang="EN-US" style="font-family: "Lucida Console"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Lucida Console";"> <span style="color: blueviolet;">C:\Temp\DPM\Scripts</span>
<span style="color: navy;">-type</span> <span style="color: blueviolet;">directory</span>
<span style="color: navy;">-force</span> <span style="color: darkgrey;">|</span> <span style="color: blue;">Out-Null</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span lang="EN-US" style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Lucida Console";"># Clears all content
in output-files, if exists</span><span lang="EN-US" style="font-family: "Lucida Console"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Clear-Content</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: blueviolet;">C:\Temp\DPM\Scripts\AllVolumes.txt</span></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><span style="color: blue;">Clear-Content</span> <span style="color: blueviolet;">C:\Temp\DPM\Scripts\ProtectedVolumes.txt</span></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><span style="color: blue;">Clear-Content</span> <span style="color: blueviolet;">C:\Temp\DPM\Scripts\NotProtectedVolumes.txt</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Get all servers that is present in any Protection Groupp</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$Allps</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: darkgrey;">=</span> <span style="color: blue;">Get-ProductionServer</span> <span style="color: darkgrey;">|</span>
<span style="color: blue;">where</span> { <span style="color: orangered;">$_</span><span style="color: darkgrey;">.</span>ServerProtectionState <span style="color: darkgrey;">-eq</span>
<span style="color: darkred;">"HasDataSourcesProtected"</span> }<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Gets all Protection Groups</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: orangered; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">$pg</span><span style="color: darkgrey; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">=</span><span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Get-ProtectionGroup</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> <span style="color: navy;">-DPMServerName</span> (<span style="color: darkgrey;">&</span><span style="color: blue;">hostname</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Gets all protected Volumes</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">foreach</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> (<span style="color: orangered;">$ps</span>
<span style="color: darkblue;">in</span> <span style="color: orangered;">$pg</span>)
{ <span style="color: blue;">GET-DataSource</span> <span style="color: navy;">-ProtectionGroup</span>
<span style="color: orangered;">$ps</span> <span style="color: darkgrey;">|</span> <span style="color: blue;">where</span> { <span style="color: orangered;">$_</span><span style="color: darkgrey;">.</span>ObjectType <span style="color: darkgrey;">-eq</span>
<span style="color: darkred;">"Volume"</span> } <span style="color: darkgrey;">|</span> <span style="color: blue;">Select</span> <span style="color: blueviolet;">Computer</span><span style="color: darkgrey;">,</span><span style="color: blueviolet;">Name</span> <span style="color: darkgrey;">|</span> <span style="color: blue;">ft</span> <span style="color: navy;">-HideTableHeaders</span> <span style="color: darkgrey;">|</span> <span style="color: blue;">out-file</span> <span style="color: navy;">-Width</span> <span style="color: purple;">50</span> <span style="color: blueviolet;">C:\Temp\DPM\Scripts\ProtectedVolumes.txt</span> <span style="color: navy;">-Append</span> }<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Gets all available Volumes</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: darkblue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">foreach</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> (<span style="color: orangered;">$Allps1</span>
<span style="color: darkblue;">in</span> <span style="color: orangered;">$Allps</span>)
{ <span style="color: blue;">Get-DPMDatasource</span> <span style="color: navy;">-ProductionServer</span>
<span style="color: orangered;">$Allps1</span> <span style="color: navy;">-Inquire</span>
<span style="color: darkgrey;">|</span> <span style="color: blue;">where</span> { <span style="color: orangered;">$_</span><span style="color: darkgrey;">.</span>ObjectType
<span style="color: darkgrey;">-eq</span> <span style="color: darkred;">"Volume"</span>
} <span style="color: darkgrey;">|</span> <span style="color: blue;">Select</span> <span style="color: blueviolet;">Computer</span><span style="color: darkgrey;">,</span><span style="color: blueviolet;">Name</span> <span style="color: darkgrey;">|</span> <span style="color: blue;">ft</span> <span style="color: navy;">-HideTableHeaders</span> <span style="color: darkgrey;">|</span> <span style="color: blue;">out-file</span> <span style="color: navy;">-Width</span> <span style="color: purple;">50</span> <span style="color: blueviolet;">C:\Temp\DPM\Scripts\AllVolumes.txt</span> <span style="color: navy;">-Append</span> }<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Removes empty lines and sort data from output-files </span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">(<span style="color: blue;">gc</span> <span style="color: blueviolet;">C:\Temp\DPM\Scripts\ProtectedVolumes.txt</span>)
<span style="color: darkgrey;">|</span> <span style="color: blue;">?</span> {<span style="color: orangered;">$_</span><span style="color: darkgrey;">.</span>trim() <span style="color: darkgrey;">-ne</span> <span style="color: darkred;">""</span>
} <span style="color: darkgrey;">|</span> <span style="color: blue;">Sort-Object</span>
<span style="color: darkgrey;">|</span> <span style="color: blue;">Set-Content</span>
<span style="color: blueviolet;">C:\Temp\DPM\Scripts\ProtectedVolumes.txt</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">(<span style="color: blue;">gc</span> <span style="color: blueviolet;">C:\Temp\DPM\Scripts\AllVolumes.txt</span>)
<span style="color: darkgrey;">|</span> <span style="color: blue;">?</span> {<span style="color: orangered;">$_</span><span style="color: darkgrey;">.</span>trim() <span style="color: darkgrey;">-ne</span> <span style="color: darkred;">""</span>
} <span style="color: darkgrey;">|</span> <span style="color: blue;">Sort-Object</span>
<span style="color: darkgrey;">|</span> <span style="color: blue;">Set-Content</span>
<span style="color: blueviolet;">C:\Temp\DPM\Scripts\AllVolumes.txt</span><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: darkgreen; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"># Compare protected volumes with all volumes and exports not
proteced volumes</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></div>
<br />
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="color: blue; font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";">Compare-Object</span><span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"> $(<span style="color: blue;">Get-Content</span>
<span style="color: blueviolet;">C:\Temp\DPM\Scripts\ProtectedVolumes.txt</span>)
$(<span style="color: blue;">Get-Content</span> <span style="color: blueviolet;">C:\Temp\DPM\Scripts\AllVolumes.txt</span>)
<span style="color: navy;">-PassThru</span> <span style="color: darkgrey;">|</span>
<span style="color: blue;">out-file</span> <span style="color: navy;">-Width</span>
<span style="color: purple;">50</span> <span style="color: blueviolet;">C:\Temp\DPM\Scripts\NotProtectedVolumes.txt</span>
<span style="color: navy;">-Append<o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="font-family: "Lucida Console"; font-size: 9.0pt; mso-bidi-font-family: "Lucida Console";"><span style="color: navy;"><br /></span></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
Remember to run the code in an elevated DPM Shell and if you want to use the script for another data-source rather then volumes: Change the "Volume" to for example "System Protection" in line 14 & 17. Example: {<span style="font-family: 'Lucida Console'; font-size: 12px;"> </span><span style="color: orangered; font-family: 'Lucida Console'; font-size: 12px;">$_</span><span style="color: darkgrey; font-family: 'Lucida Console'; font-size: 12px;">.</span><span style="font-family: 'Lucida Console'; font-size: 12px;">ObjectType </span><span style="color: darkgrey; font-family: 'Lucida Console'; font-size: 12px;">-eq</span><span style="font-family: 'Lucida Console'; font-size: 12px;"> </span><span style="color: darkred; font-family: 'Lucida Console'; font-size: 12px;">"System Protection"</span><span style="font-family: 'Lucida Console'; font-size: 12px;"> }</span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="font-family: 'Lucida Console'; font-size: 12px;"><br /></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
<span style="font-family: 'Lucida Console'; font-size: 12px;"><br /></span></div>
<div class="MsoNormal" style="background: white; margin-bottom: 0.0001pt;">
Take care! //Markus</div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0tag:blogger.com,1999:blog-5639188471484165101.post-59060845427491482812015-01-28T09:07:00.001+01:002015-01-28T09:08:53.198+01:00Contribute to the development of DPM<span style="background-color: white; color: #141823; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 14px; line-height: 19.3199996948242px;">Do you want to have your opinion heard about development of SCDPM? </span><br />
<div>
<span style="background-color: white; color: #141823; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 14px; line-height: 19.3199996948242px;">Then complete the following survey: </span><span style="color: #141823; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 14px; line-height: 19.3199996948242px;"><a href="https://www.surveymonkey.com/s/DPMdeploymentblockers">https://www.surveymonkey.com/s/DPMdeploymentblockers</a></span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7-ba2IsGpgrKwJCbFMn6Fn_tWmX86dVHWAGhcM8RW8kEZkMX7XEqVkTKIlVVwZYL-oBZq2YG3xSSW4D3db-S6uWD7VK3DPtgx6jypdyXy9sOd2yURIUAyGbtuRT4kNJwj9oZ6iMFoyNg/s1600/Sk%C3%A4rmklipp.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7-ba2IsGpgrKwJCbFMn6Fn_tWmX86dVHWAGhcM8RW8kEZkMX7XEqVkTKIlVVwZYL-oBZq2YG3xSSW4D3db-S6uWD7VK3DPtgx6jypdyXy9sOd2yURIUAyGbtuRT4kNJwj9oZ6iMFoyNg/s1600/Sk%C3%A4rmklipp.JPG" height="65" width="400" /></a></div>
<br /></div>
<div>
<span style="color: #141823; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;"><span style="font-size: 14px; line-height: 19.3199996948242px;"><br /></span></span></div>
<div>
<span style="color: #141823; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;"><span style="font-size: 14px; line-height: 19.3199996948242px;">Take care all!</span></span><br />
<div>
<br /></div>
</div>
Markus Eliassonhttp://www.blogger.com/profile/08552172715552474136noreply@blogger.com0