You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running the following commands fails if the catalog is mysql (probably postgresql as well): /usr/lib/bareos/scripts/create_bareos_database && /usr/lib/bareos/scripts/make_bareos_tables && /usr/lib/bareos/scripts/grant_bareos_privileges
It requires to pass the credentials to the commands.
This is something which needs to be improved. I think create_bareos_database, grant_bareos can be removed as we should provide usually an user with grants and schema.
The text was updated successfully, but these errors were encountered:
For posgresql the script works when run as postgres user (su postgres -c /usr/lib/bareos/scripts/create_bareos_database). Maybe a conditional statement can be added in director.pp to check if DB is postgres and change the exec user to postgres if it is.
running the following commands fails if the catalog is mysql (probably postgresql as well):
/usr/lib/bareos/scripts/create_bareos_database && /usr/lib/bareos/scripts/make_bareos_tables && /usr/lib/bareos/scripts/grant_bareos_privileges
It requires to pass the credentials to the commands.
This is something which needs to be improved. I think create_bareos_database, grant_bareos can be removed as we should provide usually an user with grants and schema.
The text was updated successfully, but these errors were encountered: