After much fiddling about I eventually got the backup to run by configuring the Entra ID Repository with the username postgres, whereas the connection to the main database is configured with username@machinename.
So the backup ran succesfully, but now I cannot restore as when I start the process I get the error "GSS/SSPI authentication but IntegratedSecurity not enabled"
PostgreSQL Logs show:
I have no prior experience with PostgreSQL so after googling I found that I need to create entries in the files pg_ident.conf and pg_hba.conf.2025-06-25 08:36:43.486 BST [30568] [user=postgres,db=veeamrepository_4ca09150-26b4-4fd0-8277-xxxxx,app=[unknown]] FATAL: SSPI authentication failed for user "postgres"
2025-06-25 08:36:43.486 BST [30568] [user=postgres,db=veeamrepository_4ca09150-26b4-4fd0-8277-xxxxx,app=[unknown]] DETAIL: Connection matched pg_hba.conf line 90: "host all
In pg_ident.conf I needed the line:
Just to get the backup running in the first place. This maps my logged in username to the PG name postgres.veeam username@machine name postgres
To try and get the restore name I added the following to pg_hba.conf (above the catch all entries):
host all postgres 127.0.0.1/32 sspi map=veeam
Though the catch all IPv4 entry should have worked, from my understanding:
Has anyone got this fature working for both backup and restore, anyone have any pointers?# IPv4 local connections:
host all all 127.0.0.1/32 sspi map=veeam
I'm going to keep tapping away with this today as it could be a very useful feature.
Thanks all
