Monday, August 24, 2015

Expired Disk Based Recovery Points are not deleted after installing DPM 2012 R2 UR7

Hi Everyone,
After you install DPM 2012 R2 UR7 update (KB3065246), DPM cannot delete expired recovery points. This will lead to extra recovery point volume usage.  
Please follow the link and instructions below to download and install the fix for this issue:
Fix for a known issue with Update Rollup 7 for System Center 2012 R2 Data Protection Manager
Install Instructions:

Please ensure you are currently running DPM 2012 R2 UR7 before applying the fix.
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

1. Open DPM UI and click on help menu option and click on "About Data Protection Manager" option.

2. A popup will be displayed with version information.

3. Make sure version is 4.2.1338.0, else no need to apply the fix.

Updating pruneshadowcopiesDpm2010.ps1 script:

4. Backup original pruneshadowcopiesDpm2010.ps1 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.

5. Download pruneshadowcopiesDpm2010.ps1 file from the link above.

6. Replace the original pruneshadowcopiesDpm2010.ps1 at the location in step 4 with the new downloaded pruneshadowcopiesDpm2010.ps1 file.

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.

Shrinking the recovery point volume (optional):

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: 

     a. Click on the Protection Tab

     b. Right click on the Protection Group and select “Modify Disk Allocation”

     c. Click on the Shrink link next to each Recovery Point Volume, it will display the new size of the volume.

     d. Click on OK it will open a new popup showing the progress of DPM Shrink operation.

Note: Use the Shrink feature judiciously, repeated small shrinks cause free space fragmentation and increases the number of extents.
Kind Regards
Markus Eliasson

4 comments :

  1. Hi Markus,

    Thank you soo much for this!
    I have been troubleshooting this for days. I even copied the pruneshadowcopies.ps1 file from another DPM server, but that didn't work.
    What changes were made to this one?

    Thanks again.
    Darren

    ReplyDelete
  2. Thanks, have been looking for it for a while, had huge problems because of this script.

    ReplyDelete