diff -urNp -x '*.orig' bacula-9.4.2.org/src/cats/make_catalog_backup.in bacula-9.4.2/src/cats/make_catalog_backup.in --- bacula-9.4.2.org/src/cats/make_catalog_backup.in 2019-02-04 17:47:31.000000000 +0100 +++ bacula-9.4.2/src/cats/make_catalog_backup.in 2021-09-26 09:47:52.123078492 +0200 @@ -16,12 +16,15 @@ # line arguments and the environment using ps. Please consult your # MySQL or PostgreSQL manual for secure methods of specifying the # password. +# In MySQL, you can create @working_dir@/.my.cnf and put password there in [client] section. # $4 is the host on which the database is located # (default "") # $5 is the type of database # # +HOME=@working_dir@ + default_db_type=@DEFAULT_DB_TYPE@ user=${2:-@db_user@}