Posts Tagged "Tapes"

How to get a list of all tapes a System Center DPM Server knows about?

Posted by on Nov 15, 2012 in Data Protection Manager, Powershell | 1 comment

How to get a list of all tapes a System Center DPM Server knows about?

I have a long list of DPM tapes – a very long list… and most of them are offline. But how would you know what data is stored on what tape? Jeff Wouters wrote a blogpost about it at http://jeffwouters.nl/index.php/2012/04/list-all-tapes-in-dpm-with-a-powershell-oneliner/ He put the list of tapes in a text file using Get-ProtectionGroup –DPMServer DPM001 | get-tape | select barcode | sort | out-file E:\Temp\DPMTapeBarcodeList.txt I prefer to have a quick overview in powershell itself by using gc env:computername | Get-ProtectionGroup | get-tape | fl This will list all tapes known...

Read More

How to mark a DPM tape containing active recovery points as free

Posted by on Mar 8, 2012 in Data Protection Manager, Powershell | 9 comments

When trying to mark a tape that contains active recovery points as free in Data Protection Manager you’ll receive an error like this: The selected tapes cannot be marked as free because they belong to protection groups. You need to stop protection of the associated protection groups before you can mark the tapes as free. The protection group that a tape belongs to is listed in the Protection Group column. (ID: 31116) You can still force DPM to mark the tape as free by removing the recovery points. Use the following script in the DPM Powershell. $barcode = "000012L4" #type the...

Read More