]> git.sur5r.net Git - bacula/bacula/commit
Fix #4062 on make_catalog_backup.pl script when user/password are empty
authorEric Bollengier <eric@baculasystems.com>
Thu, 12 Apr 2012 12:01:14 +0000 (14:01 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:33 +0000 (14:50 +0200)
commit1bb3b397e05c6b1959c678d97e202645155ad80b
tree9c6530f7366bf30b0f13018e08b52cd0f36bbc55
parent57e871c02eb6377572c88b9916b929d795be931f
Fix #4062 on make_catalog_backup.pl script when user/password are empty

The make_catalog_backup.pl sets PGUSER and PGPASSWORD env vars even if they
are not set in the bacula config. This leads to an error if postgresql is used
with IDENT authentification.

The following error message is printed:
---
pg_dump: [archiver (db)] connection to database "bacula" failed: FATAL: no
PostgreSQL user name specified in startup packet
bacula/src/cats/make_catalog_backup.pl.in