Enabling VSS backup of TMG servers using Veeam

October 30, 2012

Veeam uses RPC to connect the destination servers.  RPC uses a random dynamic port above 1024.  To enable the traffic to traverse the firewall we need to lock down RPC to a specific range of ports.  Create the following keys on the TMG servers:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\

Ports: REG_MULTI_SZ: 5000-5200

PortsInternetAvailable: REG_SZ: Y

UseInternetPorts: REG_SZ: Y

Reboot the server.

 

Create the following firewall rule in TMG:

 

Allow traffic from selected protocols

HTTPS                                   TCP        443

NETBIOS Datagram          UDP       138

Netbios Name Service   UDP       137

Netbios Session                TCP        139

RPC (all interfaces)          TCP        135

RPC                                        TCP        5000-5200

SMB                                       TCP        445

From Veeam Server to ‘Localhost’

All Users

Veeam backup should now succeed with VSS.


Veeam Backup 6 and 6.5 Cannot complete login due to an incorrect user name or password

October 30, 2012

After a clean install of Veeam 6.5 and connecting to a vCenter server, the backups repeatedly failed and I kept getting the following error:

“Cannot complete login due to an incorrect user name or password”

If you do a bit of googling as I did, you may believe this to be due to a duplicate entry on the dbo.Hosts table in the Veeam DB (not so in my case).  If this is the case, the following solution seems to have worked for a lot of people.

1. Backup your Veeam DB

2. Open SQL Server Management Studio (I did this from a different server that already had it installed)

3.Connect to the SQL Express instance, in my case: SERVERNAME\VEEAMSQL2008R2

4. Expand Databases, VeeamBackup, Tables and locate the dbo.Hosts table

5. Right click and choose ‘edit top 200 rows’

6. Search out any duplicates (in my case there was one entry for each ESX host, one for the vCenter server and one for ‘This Server’ so no duplicates)

7. You may see a duplicate entry that relates to a previous version of VMware, if so right click the row and delete it.

8. Restart the Veeam Backup Services.

Read on for the solution that worked for me!

The organisation I did the install for requires the use of a seperate AD account for services, with their own secure passwords.  This is normally some kind of headroll that has a mix of uppercase, lowercase, numbers and special characters.  In this case, I changed the password to remove the special characters, changed the password for the service accounts, and deleted the backup jobs and the vCenter Server connection and recreated them with the correct passwords (I had no backup history to worry about) and hey presto – the backups now work! :)


Follow

Get every new post delivered to your Inbox.