Answered by:
DPM recovery points

Question
-
I set my recovery points to hold for 2 days, but it appears the it is holding almost two weeks and causes the storage to run out of space. What is going on here and how do I fix it?Wednesday, June 27, 2012 6:33 PM
Answers
All replies
-
Hi Stegib,
Open DPM powershell console and type: (Example DPM 2010)
C:\Program Files\Microsoft DPM\DPM\bin>pruneshadowcopiesDpm2010.ps1
This script will delete old Recovery Point according to your Retention settings.
Stephane
Please remember to click “Mark as Answer” on the post that helps you. This posting is provided "AS IS" with no warranties. knowledge is valid only if it is shared by All.
- Proposed as answer by Stephane LADUNE Thursday, June 28, 2012 8:05 AM
Thursday, June 28, 2012 8:05 AM -
Same method with DPM 2007 ???
Message when I run it...... It is in AD and I can ping it...........The service is running and the user has full Domain rights and member of local admin....
PS C:\Program Files\Microsoft DPM\DPM\bin> pruneshadowcopies.ps1
Connect-DPMServer : The server SCCD-BACKUP.hiw.casino could not be found in Act
ive Directory. (ID: 31144)
Ping this server to verify that it is accessible and then retry the operation.
If the server is accessible, verify that the DPM service is running and that th
e current user has a domain account and is a member of the local administrators
group. If the problem persists, contact your DPM administrator.
At C:\Program Files\Microsoft DPM\DPM\bin\pruneshadowcopies.ps1:90 char:28
+ $dpmsrv = connect-dpmserver <<<< $dpmservername
PS C:\Program Files\Microsoft DPM\DPM\bin>- Edited by Stegib Thursday, June 28, 2012 12:07 PM
Thursday, June 28, 2012 11:10 AM -
I installed SP1 and the script ran however I got this message:
PS C:\Program Files\Microsoft DPM\DPM\bin> pruneshadowcopies.PS1
Index operation failed; the array index evaluated to null.
At C:\Program Files\Microsoft DPM\DPM\bin\pruneshadowcopies.ps1:215 char:18
+ $replicaList[$ <<<< inactiveDs.ReplicaPath] = $inactiveDs.RecoveryRangein
Days
Index operation failed; the array index evaluated to null.
At C:\Program Files\Microsoft DPM\DPM\bin\pruneshadowcopies.ps1:216 char:23
+ $latestScDateList[$ <<<< inactiveDs.ReplicaPath] = new-object DateTime 0,
0
PS C:\Program Files\Microsoft DPM\DPM\bin>So it failed,, why???
Friday, June 29, 2012 10:16 AM -
-
Hi Stephane,
I am doing this now, do you have any idea how long it takes? It appears to be just sitting there doing nothing.
Shawn
Shawn
Monday, October 22, 2012 8:14 PM