Error PostgreSQL Permission denied

Aug 26, 2025
4
0
1
Hi,

We use currently Veeam to backup our virtual machines, we get the following error when the process is running.

4-3-2026 22:28:27 :: Failed to explore PostgreSQL instance mailfilter:5432 : Command explore_instance completed with error Error Permission denied for tablespace pg_global.

Any advice to fix this issue?
 
hm - just to not miss anything - is the affected system a Proxmox Mail Gateway?

In any case - the issue seems rooted in Veeam - so asking there might yield better results.

I don't have experience with Veeam application backups - so I might miss something.

The error message seems like Veeam's agent cannot connect to the postgres instance - maybe some permissions are missing?

/var/log/postgresql/ should have the relevant log-entries which should show which user tried to connect and which access was denied.

Depending on how you setup the Veeam agent - maybe the Usage on the public-schema is missing - see the following commit in pmg-api where this was addressed:
https://git.proxmox.com/?p=pmg-api.git;a=commitdiff;h=50673cae61165df512eea14b29fbafdd4bedb405


The following links might help further:
https://forums.veeam.com/applications-f66/veeam-failed-to-explore-postgresql-t95698.html
https://www.veeam.com/kb4818

I hope this helps!
 
Thank you for your reply! Yes its the Proxmox Mail Gateway.
I will look into this with Veeam some more but it seems to be some issue on the machine it self where the root user has access to, i will look into the pmg-api and will give a update when i got more information, we got the instance for like 6 months ago installed so who knows!
 
Last edited: