If you need to force a tape to be free when you’re using System Center Data Protection Manager you can use the PowerShell script ForceFree-Tape.ps1. The syntax of this command had me stuck for a while, so here’s a post to explain it.
- Run the DPM Management Shell as an administrator.
- Enter ForceFree-Tape.ps1.
- Enter the DPM server name.
- Enter the library name. There’s no need to add speech marks for spaces in the name.
- Here’s the bit that got me stuck. Enter the location of the tape to be force free as slot-x, where x is the slot number of the tape you wish to erase. Press enter and repeat the process for multiple slots.
- When you’ve entered the location of the slots you wish to force free press Enter again.
As part of the planning stage for a System Center Data Protection Manager (SCDPM) 2012 R2 upgrade I found the support matrix for SCDPM 2012 R2. The matrix shows that support for Windows Server 2003 and 2008 has been removed in the 2012 R2 release.
As I manage some SQL Servers that are running on Windows Server 2003 and 2008 I investigated the upgrade options. Below is a short summary of the latest Windows OS version that is supported on various versions of SQL Server:
SQL Server 2005 supports up to Windows Server 2008 R2 as long as at least SQL 2005 SP3 is installed.
SQL Server 2008 supports Windows Server 2012 R2 as long as at least SQL 2008 SP3 is installed.
SQL Server 2008 R2 supports Windows Server 2012 R2 as long as at least SQL 2008 SP2 is installed.
SQL Server 2012 supports Windows Server 2012 R2 as long as at least SQL 2012 SP1 is installed.
Known issues installing SQL Server on Windows 7 or on Windows Server 2008 R2
Using SQL Server in Windows 8, Windows 8.1, Windows Server 2012 and Windows Server 2012 R2 environments
I recently came across a problem with System Center Data Protection Manager 2012 (DPM) whereby backups were failing with the error “An unexpected error occurred while the job was running. (ID 104 Details: The device is not connected (0x8007048F))”
Unfortunately, I wasn’t able to resolve the problem without data loss, but these are the steps I followed to get DPM working again.
Firstly, go to Disk Management by opening Server Manager, then expand Storage.
I saw a large number of RAW volumes with 100% free space. I had to delete each of these volumes, by right-clicking and choosing delete.
Once you’ve deleted all the RAW volumes, open the DPM Management Shell and run DPMSync – ReAllocateReplica. This recreates the volumes for each item that’s protected by DPM where the volume is missing.
Open the DPM Management Console and start an consistency check of all data sources. This ensures DPM has an up to date copy of all protected items and can resume backups.
On System Center Data Protection Manager (DPM) 2010 with March 2011 hotfix I got the following error when backing up to tape:
ID 30101 Details: The request could not be performed because of an I/O device error (0x8007045D)
This is an error that was originally fixed in DPM 2007 with a hotfix http://support.microsoft.com/kb/970868 , but reappeared on my 2010 install. It can occur with large tape backups that span more than one tape. I fixed the error by adding the following registry key, a reboot wasn’t necessary:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent]
I’ve had the same problem with DPM 2012 SP1 and the registry still fix worked.