Hi,
See syntax below - do not copy / paste, manually type in the command from administrative command prompt.
DpmBackup 1.0 - Data Protection Manager backup command-line tool
Copyright (c) 2012 Microsoft Corporation. All rights reserved.
Description:
DpmBackup backs up the DPM database, and creates shadow copies that can be used for backing up replicas.
To back up the DPM database, run DpmBackup.exe -db locally on the computer running the instance of SQL Server used by DPM.
Usage:
DpmBackup.exe [-db [-instanceName <name>] [-dpmdbName <name>] [-targetLocation <location>]] [-replicas] [-certificates]
[-db] Backs up the databases to the default backup location on the DPM server, %DPMInstallLocation%\Volumes\ShadowCopy\Database
Backups\.
[-instanceName] Specifies the instance of SQL Server that hosts DPM database. This parameter can be used only with -db.
If you are backing up from a remote instance of SQL Server:
- From a named SQL instance, provide the instance name with -instanceName.
- From a default SQL instance, provide "(Local)" with -instanceName.
If SQL Server is not on the same computer as DPM, the default backup location for DPM database
will be %SystemDrive%\DPMBackup.
[-dpmdbname] Specifies the DPM database name
[-targetLocation] Overrides the default backup location and points to a folder on the local computer.
If -db is specified, the folder path should be an absolute path.
[-replicas] Creates and mounts shadow copies of the DPM replica volumes to %DPMInstallLocation%\Volumes\ShadowCopy.
[-certificates] Creates a file of the public certificates at %DPMInstallLocation%\DPMBackup\Certificates.
EXAMPLES
=======
C:\>dpmbackup.exe -db -instancename CustomInstance -dpmdbname DPMDB_DPM03 -targetlocation c:\temp
C:\>dpmbackup -db -instancename CustomInstance -dpmdbname DPMDB_DPM03 -targetlocation "C:\Program Files\Microsoft System Center 2012\DPM\DPM\Volumes\ShadowCopy\Database Backups"
BACKUP DPMDB ON REMOTE SQL SERVER (USING DEFAULT INSTANCE)
=================================
CD C:\Program Files\Microsoft Data Protection Manager\DPM2012\SQLPrep
C:\Program Files\Microsoft Data Protection Manager\DPM2012\SQLPrep>dpmbackup -db -instancename (Local) -dpmdbname DPMDB_DPM03 -targetlocation c:\temp