Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

Failed to verify the connection to SQL Server

$
0
0
KB ID: 4190
Product: Veeam Backup for Microsoft Azure

Challenge

  • To back up a database, workers must be able to connect to the source SQL server.

    In case of consistent backup (using a staging server), the workers must connect to the staging server. Connection to the source server is not required as Microsoft Azure performs the copy from the source to the staging server.
  • To restore a database, workers must be able to connect to the target SQL server.

Cause

An error is reported when workers cannot reach SQL Servers. There can be different causes of such errors, for example:

  • Incorrect credentials used to log in to the server
  • Workers cannot reach the server due to networking issues

Solution

Incorrect credentials used to log in to the server

As the backup process is based on the BACPAC export, workers must connect using any SQL account to access the database.

  • For backup operations, the selected account must have access to all protected databases.
  • For restore operations, the account must have full access to the newly created (restored) databases.

 

Workers cannot reach the server due to networking issues

The virtual network where all Veeam Backup for Azure workers are running must be enabled in the SQL server firewall.

In case of the SQL Managed Instances, enable the public endpoint in the instance networking options and then configure the security group of the network where the SQL Managed Instance is connected.

If there are any other firewalls between Veeam Backup for Azure and the SQL Servers or SQL Managed Instances, they must be configured as well.

  • Connections to SQL Servers use port 1433.
  • Connection to SQL Managed Instances run on port 3342.

Viewing all articles
Browse latest Browse all 4362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>