Is it possible to backup an SQL Database hosted on an Azure VM, to our internal DPM2012?


I've got an SQL database on an azure VM (non domain) that i'd like to backup to our internal DPM 2012 server. I've installed the DPM agent on the Azure VM, setup DCOM to use only the ports 5000 to 5025 on both the VM and the DPM server, created the 135, 5000-5025, 5718 5719 endpoints on azure and on the VM's firewall.

When trying to add this agent to the DPM server, I end up with an error, "Unable to contact the protection Agent on server"

I know there is some sort of connection between them, as using a wrong password gives me an Invalid Credentials error.

The error seems to be DCOM related : When trying to connect to the Azure VM from the DPM server using VBEMTest, i get an Error "0x800706ba The RPC server is unavailable", but access is deneid when using wrong credentials )

What am i missing ? Has someone been able to achieve this kind of setup ?

Thanks for your help !

asked on Server Fault Aug 23, 2013 by Florent Courtay

1 Answer


RPC also uses ephemeral port ranges. On Server 2008 and later, that range is 49152 to 65535. In Server 2003 and earlier, it is 1025-5000.

If you wish to limit the RPC port range, so that it's easier to control what goes in and out of your firewall, you should check out this article, which coincidently covers DPM.

The reason you're seeing sporadic errors that hint at connectivity is that you can connect to the RPC endpoint mapper (135) which will return an available ephemeral port for RPC communication, but your firewall doesn't allow further communication on that assigned port.

answered on Server Fault Aug 23, 2013 by MDMarra

User contributions licensed under CC BY-SA 3.0