This documentation is archived and is not being maintained.

Repairing DPM 2007

Updated: February 1, 2010

Applies To: Data Protection Manager, System Center Data Protection Manager 2007

This topic describes actions you must take to repair System Center Data Protection Manager (DPM) 2007, including information about:

  • What you should do before you reinstall DPM 2007

  • What to do if you do not plan to reinstall DPM immediately

  • What happens to protection jobs during the repair process

  • The procedures you use to successfully repair DPM 2007

  • What to do after the installation is complete

In the unlikely event of corruption of the Microsoft Windows registry, system files, Internet Information Services (IIS), or the DPM binaries, you can repair DPM 2007 by reinstalling it. Reinstalling DPM 2007 involves uninstalling the application with an option to retain your data protection configuration and then re-running DPM Setup.

In most cases, you do not have to uninstall the DPM prerequisite software to reinstall DPM. However, if the binaries become corrupted, you might have to uninstall and reinstall also.

You do not have to uninstall the protection agents from the protected computers to reinstall DPM.

Before starting a reinstallation of DPM 2007, we strongly recommend that you archive the DPM database, Report database, and replicas to tape or other removable storage medium. For more information, see Disaster Recovery ( in the DPM Operations Guide.

If you do not plan to reinstall DPM 2007 immediately after the uninstallation part of the repair operation is complete:

  1. Disable end-user recovery on the DPM server.

  2. Run synchronization for each volume in your protection groups.

These steps help make sure that users to whom you deny access to the server cannot access the replicas of those files on the DPM server.

Protection jobs cannot run successfully during a repair operation. Any jobs scheduled to run while a repair operation is in progress will be unsuccessful. Any jobs that are in progress when the uninstallation part of a repair operation starts are canceled. Upon completing a repair operation, DPM automatically attempts to perform any canceled replica creation, synchronization, or consistency check jobs, but it does not attempt to perform canceled recovery point creation jobs.

You must perform the following procedures to successfully repair DPM:

  1. Back up the DPM database.

  2. Note the updates installed on DPM using Add/Remove Programs in Control Panel.

  3. Uninstall DPM.

  4. Delete the DPM database.

  5. Reinstall DPM.

  6. Reinstall all DPM updates that were previously installed.

  7. Restore the DPM database.

To back up the DPM database

  1. From the command prompt, run DPMBackup.exe -db, located at <drive letter>:\Program Files\Microsoft Data Protection Manager\DPM\bin.

  2. In the console tree of the backup program, browse to \Program Files\Microsoft Data Protection Manager\DPM\Volumes\ShadowCopy\Database Backups. The file name of the DPM database backup is DPMDB.bak.

  3. Select the media to which you want to back up the database.

  4. Start the backup.

To uninstall DPM

  1. In Control Panel, click Add or Remove Programs, and then click Change or Remove Programs.

  2. Under Currently installed programs, select Microsoft System Center Data Protection Manager 2007 and then click Change/Remove.

  3. On the Uninstallation Options page, select the Retain data option, and then click Next.

  4. On the Summary of Options page, click Uninstall.

  5. When uninstallation is complete, click Close.

To delete the DPM database

  1. On the Start menu, point to Microsoft SQL Server 2005, and then click SQL Server Management Studio.

  2. Select the <computer name>\MS$DPM2007$ database, and then click Connect.

  3. Expand Databases, right-click the DPMDB database, and then click Delete.

  4. Click Yes to confirm the deletion.

To install DPM

To restore the DPM database using the DpmSync tool

  1. From the command prompt, type DpmSync –restoredb –dbloc <DPMDB location>, and then press ENTER.

    The default location of DPMDB is C:\Program Files\Microsoft DPM\DPM\DPMDB. When you use an existing instance of SQL Server for DPM, the default location of DPMDB is the path on the instance of SQL Server where the SQL databases are located.

  2. From the command prompt, type DpmSync -sync.

  3. After the new installation is complete and the database is restored, in DPM Administrator Console, in the Monitoring task area, check for protection jobs that failed during the repair operation. Manually restart any failed jobs.

  4. After you restart the failed jobs, you must perform a consistency check for all data sources. For more information about how to perform a manual consistency check, see "How to synchronize a replica" in DPM 2007 Help.