This article is intended for use in environments where Veeam Backup for Microsoft 365 8 is already installed. The information provided in this article documents migrating the Configuration and Cache Databases from one PostgreSQL instance to another.
For information about upgrading to Veeam Backup for Microsoft 365 version 8 from an older version please review: Upgrading Veeam Backup for Microsoft 365
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
<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.
The migration procedure documented in this article requires pgAdmin.
To deploy pgAdmin, either download it from the pgAdmin website or run the postgresql installer, which includes pgAdmin, from the Redistr folder on the Veeam Backup for Microsoft 365 installer ISO.
Using pgAdmin, connect to the PostgreSQL server where the Veeam Backup for Microsoft 365 configuration database is located and export the following (the sections that follow explain in detail how to export these):
Note: When connecting to the default included PostgreSQL instance, the default authentication method for the postgres user is SSPI, and you may see the error "SSPI authentication failed for user." If this occurs, review KB4542. If prompted to specify a password after connecting, click OK with the password field empty.
If any databases named cache_<guid> were backed up from the original PostgreSQL instance:
When the Veeam Backup for Microsoft 365 Configuration Database is hosted on a remote PostgreSQL Instance, you must configure authentication within the PostgreSQL configuration to allow Veeam Backup for Microsoft 365 to access the restored Configuration Database.
In this section you'll update the PostgreSQL connection settings on the Veeam Backup for Microsoft 365 machine and any associated Proxies.
<ControllerPostgres ControllerConnectionString="host=pgsql;port=5432;database=VeeamBackup365;username=veeam365svc;password=pa55word;maxpoolsize=100;connectionidlelifetime=10" />
Get-Service Veeam.Archiver.Proxy | Start-Service Get-Service Veeam.Archiver.Service | Start-Service
Get-Service Veeam.Archiver.Proxy | Start-Service
systemctl start Veeam.Archiver.Proxy
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case