This article is provided as a courtesy to give customers a high-level explanation of how to upgrade the underlying PostgreSQL database engine used to host the Veeam Backup for Microsoft 365 configuration database.
Per the Veeam Customer Support Policy, section 10: Support for Veeam Configuration Databases:
"SQL Instance" in this statement broadly refers to both Microsoft SQL Server and PostgreSQL.
This article documents the procedure for upgrading the underlying PostgreSQL database engine software that Veeam Backup for Microsoft 365 uses for its configuration database and cache databases.
Unless indicated elsewhere by Veeam or under the advisement of Veeam Support, upgrading the PostgreSQL database engine in use by Veeam Backup for Microsoft 365 should be considered optional. Before upgrading, ensure that the version of PostgreSQL software being upgraded to is supported by Veeam Backup for Microsoft 365.
Review the Veeam Backup for Microsoft 365 configuration to identify the current database connection information.
<ControllerPostgres ControllerConnectionString="host=vb365srv;port=5432;database=VeeamBackup365;username=postgres;maxpoolsize=100;connectionidlelifetime=10" />In this example, we can see that the PostgreSQL server is named vb365srv, the configuration database is named VeeamBackup365, and we can tell that SSPI authentication is being used because there is no password= parameter.
<ControllerPostgres ControllerConnectionString="host=pgsqlsrv;port=5432;database=VeeamBackup365;username=veeam365svc;password=AQAAANCMnd8BFdERjHoAwE%2FCl%2BsBAAAAnyPJ1ttvw06By6Ldd2NKOkEHjdXl7buhzxlW4MjXMBBqLZQGWWjXHgyM%3D;maxpoolsize=100;connectionidlelifetime=10;PasswordEncrypted=True" />In this example, we can see that the PostgreSQL server is named pgsqlsrv, the configuration database is named VeeamBackup365, the user is named veeam365svc, and native password-based authentication is in use because there is a passsword= parameter configured.
Before proceeding, it is critical to identify if an upgrade to PostgreSQL is available for your Veeam Backup for Microsoft 365 deployment.
Use the following command to check the current PostgreSQL version:
Ensure that the version being upgraded to is compatible with Veeam Backup for Microsoft 365:
Veeam Backup for Microsoft 365 System Requirements > Configuration and Cache Database
It is highly advisable to create a Backup of the configuration database so that if anything goes wrong, you can restore or roll back the Veeam Backup for Microsoft 365 configuration.
Get-Service Veeam.Archiver.Proxy | Stop-ServiceVeeam Backup for Microsoft 365 Service
Get-Service Veeam.Archiver.Service | Stop-Service
Get-Service Veeam.Archiver.Proxy | Stop-Service
systemctl stop Veeam.Archiver.Proxy
These instructions assume you are upgrading the PostgreSQL install that came prepackaged with Veeam Backup for Microsoft 365. If the deployment of Veeam Backup for Microsoft 365 you are working with is using a different PostgreSQL server, you may need to adapt some of these steps.
Please ensure the pgAdmin server is shutdown before proceeding with the upgrade.
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case