Quantcast
Channel: Data Protection Manager - Tape Protection forum
Viewing all articles
Browse latest Browse all 706

ForceMarkTapeFree.ps1 returns errors: Remove-RecoveryPoint : Length cannot be less than zero

$
0
0

I turned on encryption for tape backups last week.  When setting it up, I went through a couple of runs of test backups to tape before I got the setup just right.  I have 1 tape that encrypted data backed up to, but the certificate wasn't quite right for what I needed, so I had to recreate the certificate after that tape was written.  Now, I want to erase the data on the tape and free it up for use by a routine backup job, but the "ForceMarkTapeFree.ps1" script isn't working.

When I run the script, specifying the dpm server, library, and slot when prompted, I get the following:

The operation will remove the following recovery point(s) because they have dependencies on each other:

Remove-RecoveryPoint : Length cannot be less than zero.
Parameter name: length
At C:\Program Files\Microsoft DPM\DPM\bin\ForceMarkTapeFree.ps1:68 char:1
+ Remove-RecoveryPoint -RecoveryPoint $rp -ForceDeletion -Confirm:$false+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : NotSpecified: (:) [Remove-RecoveryPoint], ArgumentOutOfRangeException+ FullyQualifiedErrorId : System.ArgumentOutOfRangeException,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.RecoveryCmdLets.RemoveRecoveryPoint

What can I do to get this tape cleaned up for re-use?


Viewing all articles
Browse latest Browse all 706

Trending Articles



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