cannot start dpmbackup

Hi,

Running DPM 2012 on 2012 server with local SQL installation. I am trying to backup DPM database with dpmbackup, but it fails everytime; 

dpmbackup -db

DpmBackup 1.0 - Data Protection Manager backup command-line tool
Copyright (c) 2012 Microsoft Corporation. All rights reserved.

Error: Invalid command -db.

dpmbackup -db -instancename MSSQLSERVER

Error: Invalid command -db.

Any ideas on this?

Regards,

Onur

June 20th, 2013 11:37am

Hi,

If you copied and pasted the -db from a web link, that sometimes does not work, but see if you can copy / paste it from the output of dpmbackup /?

Free Windows Admin Tool Kit Click here and download it now
June 20th, 2013 6:43pm

I am having the same issue and it doesn't appear that there has been any update on this issue. Is no one able to reproduce this? Any assistance is appreciated.

I have a separate thread going for this issue at:

https://social.technet.microsoft.com/Forums/en-US/10c67052-0afb-4e2d-8d89-69b839d7a1c6/new-install-dpm-2012-r2-ur6-unable-to-backup-dpmdb-by-running-dpmdbexe-db?forum=databasedesign

May 21st, 2015 9:18am

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

Free Windows Admin Tool Kit Click here and download it now
May 21st, 2015 10:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics