You can use the PG env variables to achieve this PGHOST PGPORT PGUSER https://www.postgresql.org/docs/17/libpq-envars.html
You're going to have a line similar to ... PGHOST=remotehost /usr/lib/bareos/scripts/update_bareos_tables On Thursday, 6 March 2025 at 19:52:57 UTC+1 marcelo.j...@gmail.com wrote: > Hi Bareos Community, > > I have the PostgreSQL database on a different machine and I just upgraded > Bareos to version 24. In past versions I was able to execute the script to > upgrade the database tables like this: > > ./update_bareos_tables --host=[my database host here] --port=[my database > port here] --user=[my database user here] > > With version 24, when I execute the script I get the following error: > > Error: db_type --host=[my database host here] is no more supported, only > postgresql > > How do I solve this? > > Thank you! > > -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/bareos-users/032ce32b-6602-4a7a-b5fd-82ea1e3d65d7n%40googlegroups.com.