本文件已封存並已停止維護。

Repairing DPM 2010

更新日期: 2010年4月

適用於: System Center Data Protection Manager 2010

In the unlikely event of corruption of the Microsoft Windows registry, system files, or the System Center Data Protection Manager (DPM) 2010 binaries, you can repair DPM by reinstalling it. Repairing DPM involves uninstalling DPM while retaining your data protection configuration, and then reinstalling DPM.

This topic provides step-by-step instructions for repairing DPM, including the following information:

  • What you need to do before you reinstall DPM.

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

  • What happens to protection jobs during the repair process.

  • What procedures you need to use to successfully repair DPM.

  • What you need to do after the uninstallation of DPM is complete and before you reinstall DPM.

Important重要事項
Before starting a reinstallation of DPM, we strongly recommend that you back up the DPM database, the Report database, and replicas to tape or other removable storage medium. For more information, in DPM 2010 Help, see Disaster Recovery (http://go.microsoft.com/fwlink/?LinkID=179152).

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

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

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 the 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.

Important重要事項
If you do not plan to reinstall DPM immediately, before uninstalling DPM, you should do the following:

  1. Disable end-user recovery on the DPM server. For more information, in DPM 2010 Help, see How to Disable End-User Recovery (http://go.microsoft.com/fwlink/?LinkId=196900).

  2. Run synchronization for each volume in your protection groups. For more information, in DPM 2010 Help, see How to Synchronize a Replica (http://go.microsoft.com/fwlink/?LinkId=196901).

Following these steps helps to ensure that users for whom you have denied access to files on protected computers cannot access replicas of those files on the DPM server.

To successfully repair DPM, you must perform the following procedures in sequence:

  1. Back up the DPM database.

  2. Uninstall DPM.

  3. Delete the DPM database.

  4. Reinstall DPM.

  5. Restore the DPM database.

To back up the DPM database

  1. On the computer where your DPM database is located, do one of the following:

    • If the DPM database is on the DPM server

      On the DPM server, open an elevated command prompt window, type cd <system drive>:\Program Files\Microsoft DPM\DPM\bin, and then type DPMBackup.exe -db and press ENTER.

    • If the DPM database is on a remote computer

      On the computer where the DPM database is installed, open an elevated command prompt window, type cd <system drive>:\Program Files\Microsoft Data Protection Manager\DPM2010\SQLPrep, and then type DPMBackup.exe -db and press ENTER.

  2. On the computer where your DPM database is located, do one of the following:

    • If the DPM database is on the DPM server

      Navigate to <system drive>:\Program Files\Microsoft DPM\DPM\Volumes\ShadowCopy\Database Backups. The file name of the DPM database backup is DPMDB.bak.

    • If the DPM database is on a remote computer

      Navigate to <system drive>:\DPMBackup\dpmserver. The file name of the DPM database backup is DPMDB.bak.

  3. Copy the database backup file to a secure location that you can access when you are ready to restore your DPM database.

To uninstall DPM

  1. In Control Panel, click Programs, and then click Programs and Features.

  2. In the Uninstall or change a program list, right-click Microsoft System Center Data Protection Manager 2010, and then click Uninstall/Change.

    The DPM Setup Wizard opens.

  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 computer where your DPM database is located, click Start, point to All Programs, click Microsoft SQL Server 2008, and then click SQL Server Management Studio.

  2. In the Server name box, type <computer name>\<instance name>, and then click Connect.

    note附註
    The default instance name for a local DPM database installation on the DPM server is MSDPM2010.

  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. On the computer where your DPM database will be restored, open an elevated command prompt window, type cd <system drive>:\Program Files\Microsoft DPM\DPM\bin, and then type DpmSync –restoredb –dbloc <DPMDB file location> and press ENTER.

    DpmSync restores the DPM database and the DPM Report database, and synchronizes the restored DPM database with the previous state of the DPM system. In the command, <DPMDB file location> is the location where you stored the DPM database backup file (DPMDB.bak). For more information about using DpmSync, type DpmSync /?.

    note附註
    The default location of DPMDB is C:\Program Files\Microsoft DPM\DPM\DPMDB. When you use a remote instance of SQL Server for DPM, the default location of the DPM database is the path where the SQL database files for the instance 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, in DPM 2010 Help, see How to Synchronize a Replica (http://go.microsoft.com/fwlink/?LinkId=196901).

另請參閱

顯示: