PostgreSQL database application-consistent hot backup with Veeam B&R, no DB downtime required
Just upload it to your VBR server and install as described in Veeam documentation:
https://helpcenter.veeam.com/docs/backup/vsphere/backup_job_vss_scripts_vm.html?ver=110
https://helpcenter.veeam.com/docs/backup/hyperv/pre_post_scripts.html?ver=110
Since Veeam B&R V12 this functionaluty is available out of the box. Read here: https://helpcenter.veeam.com/docs/backup/vsphere/backup_job_vss_postgresql_vm.html?ver=120