]> 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)
commit4c15171459a2a23d3a542ec63eff51f6b4246885
tree4f1f359c19bb7873901cb10ed5d584dd8c0cace9
parent3da938066fe94513fa2aa1a9b1bc1864013da4e2
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