DpmSync Syntax

Published : September 27, 2005

DpmSync -Sync

DpmSync -DpmDbLoc location

DpmSync -DpmReportDbLoc location

DpmSync -ReallocateReplica

DpmSync -?

Parameters

Parameter

Description

-Sync

Synchronizes restored databases and reallocates missing replica volumes

You must run DpmSync –sync after you restore the databases.

After you run DpmSync –sync, some replicas may still be marked as missing. To reallocate these replicas, on the Disks tab of the Management task area in DPM Administrator Console, remove the missing disks from DPM and then run DpmSync -reallocatereplica.

-DpmDbLoc location

Identifies the location of backup of DPM database

-DpmReportDbLoc location

Identifies the location of backup of Report database

-ReallocateReplica

Reallocates all missing replica volumes without synchronization.

-?

Describes usage of the command

Example

To restore the DPM and Report databases from local backup media on the DPM server, you run the following commands:

DpmSync -DpmDbLoc G:\DPM\Backups\2005\November\DPMDB.bak 
DpmSync -DpmReportDbLoc G:\DPM\Backups\2005\November\ReportServer.bak 

After you restore the DPM and Report databases, to synchronize the databases, you run the following command:

DpmSync -Sync

Note

If the DPM server is being monitored in Microsoft Operations Manager 2005 (MOM), after you restore the DPM database, you will need to synchronize the alerts in MOM with those on the DPM server. For more information, see the Data Protection Manager 2006 Management Pack Guide, available on the TechNet site MOM 2005 Management Pack Guides (https://go.microsoft.com/fwlink/?linkid=50206).

After you restore and synchronize the DPM and Report databases and before you restore the replicas, to reallocate disk space for the replicas, you run the following command:

DpmSync -ReallocateReplica