If you have usecase to change location (disk) of PostgreSQL binaries with databases, where is not an option by Veeam wizard and change user, and if you need to change from default postgres user to different one. Or only one of the option.
My usecase is to change from D:\ to E:\ drive and change back from non-standard user veeam to postgres due custom installation of PostgreSQL.
Changing user of databases is possible, but not for templates, so easy.
This usecase is for administrators with minimal knowledge, so via easiest way :)
- Stop Veeam Services

After Veeam application is down, change on PostgreSQL could be provided.
First is needed to create postgres user as is missing due custom installation (not via Veeam wizard). This could be done for existing role.
- Change postgres back as role


- Set user as owner of databases - VBR and EM.
Changing from veeam user to postgres user


- Checking of ownership via psql.

- Local backup of all
This Dump will be used for recovery.

Remove server - is good to remove if you have some customer settings of pgAdmin4 like to avoid entering master password by starting console.

- Uninstall old PostgreSQL binaries

- Reboot of the VBR server
- Install new binaries via unattended installation.

- Create empty VBR and EM databases
Without that step is not possible to recovery these databases.

- Full Recovery from dump


- Check ownership of databases including templates
- Now we can see that database and templates have owner as required.

- Connection to VBR into new Database via Configuration Database Connection Settings of Veeam utility
Now is needed to link application to correct location of VBR database.

- Connection to EM into new Database via Configuration Database Connection Settings of Veeam utility
And as well is needed to link application to correct location of VBR database.
