Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Please, try again later.
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
Note: This procedure is 56 steps long. It will require experience and knowledge of operating pgAdmin and basic PostgreSQL administration. Customers are advised not to undertake this process unless necessary.
Please review each section's steps to understand what will be done, then go back and perform that section's steps. To the best of our ability, we have written this to document every step a customer must perform. If you find a step unclear, please highlight the step and press Ctrl+Enter to open the typo report form (this form is not for technical assistance).
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.
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.
CREATE ROLE "vb365svc" WITH
LOGIN
SUPERUSER
CREATEDB
CREATEROLE
INHERIT
REPLICATION
BYPASSRLS
CONNECTION LIMIT -1
PASSWORD 'pa55word';
# Allow remote access using Password-based authentication.
host all all 0.0.0.0/0 scram-sha-256
host all all ::/0 scram-sha-256
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
Your feedback has been received and will be reviewed.
Please, try again later.
Please try select less.
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case
Your feedback has been received and will be reviewed.
Please, try again later.