none
Script to view and delete recovery points in DPM 2010 RRS feed

  • Question

  • I'm really needing to find a script that works for viewing recovery points and the ability to delete them also.   I have backups failing due to no space and it is not deleting the expired ones to make room for new ones.  Please assist as I have found nothing that works yet on the Internet.
    Thursday, May 3, 2012 3:44 PM

Answers

All replies

  • Hi Komputerguy,

    Have you tried running the PruneShadowCopies.ps1 script? There is a Show-PruneShadowCopies.ps1 also that will show you what Show-PruneShadowCopies.ps1 would be removing. Here are two links with more info on this.

    http://steili.com/2011/08/24/dpm-2010-deleting-old-restore-points/

    http://blogs.technet.com/b/dpm/archive/2011/05/04/easy-dpm-2010-fix-disk-based-recovery-points-are-not-deleted-as-per-retention-goals.aspx

    Hope this helps.


    My Blog | www.buchatech.com | www.dpm2010.com

    If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer". This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!


    Sunday, May 13, 2012 8:21 PM
    Moderator
  • Hi,

    I wrote some code a while back to help give me an overview of how much space was being used in DPM .. http://gallery.technet.microsoft.com/ff6a458f-9386-464c-876d-5d34ad541197 the code's a little tired and I'd like to rework it but it might help you. It should give you a csv you can pull into Excel for analysis.

    J

    Tuesday, May 29, 2012 10:13 AM
  • Hi John,

    I have a quastion for you. How do You deleted or decreased allocated space for "ShadowCopyAreaSize" and "ShadowCopyUsedSpace" in dpm 2010?

    I have used Your script to find unused space (http://gallery.technet.microsoft.com/scriptcenter/ef6fcd50-d280-473b-a348-149d1cc77860).

    I have found a lots of disk space associated to "Shadow Copy Area Size" and "Shadow Copy Used Space" and i don't know how to release it.

    Could You please advice in this case?

    P.S. Sorry for my english.

    LMA

    Monday, June 4, 2012 1:01 PM
  • Hi,

    A large amount of Shadow Space might be due to a lot of data churn, or perhaps you had a lot of data but now to don’t. It really depends on what’s being backed up, how much data changes and how often it is backed up.

    You cannot shrink a replica volume so the only way to get that space back is to remove it from the disk array and add it back again but making sure it’s correctly sized.

    John

    Monday, June 11, 2012 11:42 AM
  • Script for DPM 2012 R2
    http://gallery.technet.microsoft.com/DPM-2012-R2-Remove-6167f338

    Have a nice day !!!

    Tuesday, June 17, 2014 12:12 PM
    Moderator