A backup job that targets a cloud repository, that is hosted by a service provider whose Cloud Connect server utilizes PostgreSQL for storing the configuration database, fails with the error:
Inner SQL exception in the service provider infrastructure. Please contact your service provider.
This error may also occur when backing up to a non-cloud repository if the Veeam Backup & Replication deployment uses PostgreSQL 15.1 or 15.2 to host its configuration database.
If the Service Provider's Cloud Connect server uses PostgresSQL for its configuration database, the Service Provider should check logs to verify if this article is relevant.
Default path: C:\ProgramData\Veeam\Backup\CloudConnectService\<tenant_name>\<job_name>\Session.log
Example of error in Session.log on the Service Provider side:
The SQL Server machine hosting the configuration database is currently unavailable. Possible reasons are a network connectivity issue, server reboot, heavy load or hot backup.
Please try again later.
Error:
invalid XML content (Veeam.Backup.Common.CSqlException)
at Veeam.Backup.Common.CExceptionUtil.ThrowSqlException(Exception innerException, Boolean retryable)
at Veeam.Backup.Common.CRetriableQueryExecuter.OnPsqlException(Exception ex, Int32 retryNumber, String spName)
at Veeam.Backup.Common.CRetriableQueryExecuter.ExecNonQuery(CommandType type, CStoredProcedureData spData, Nullable`1 identifier)
at Veeam.Backup.PostgresAccessor.CLocalPsqlDatabaseAccessor.ExecNonQuery(CStoredProcedureData procedureData)
at Veeam.Backup.Common.CExceptionLoggingDbAccessorDecorator.ExecNonQuery(CStoredProcedureData procedureData)
To resolve and prevent this issue, Veeam recommends all customers (including Servicer Providers) with Veeam Backup & Replication or Veeam Cloud Connect deployments using PostgreSQL 15.1 or 15.2 upgrade to the latest 15.x version of PostgreSQL.
A guide on how to upgrade the backend PostgreSQL database engine is available on Veeam KB 4386.
If you get the following error when executing the psql.exe command, review: KB4542: "SSPI authentication failed for user".
'psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: SSPI authentication failed for user "postgres"
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case