I would make a wrapper script and set everything in it and then call that script in the config.
Brock Palen bro...@mlds-networks.com www.mlds-networks.com Websites, Linux, Hosting, Joomla, Consulting > On Mar 2, 2023, at 8:33 AM, Christian Tardif <christian.tar...@servinfo.ca> > wrote: > > Hi, > > I need to change de CWD before running the make_catalog_backup script. I > thought to simply do something like: > > BAREOS_WORKING_DIR=/var/lib/bareos/dbase-backup > /usr/lib/bareos/scripts/make_catalog_backup MyCatalog > > but the job ends with: > > Error: Runscript: BeforeJob returned non-zero status=208. ERR=No such file or > directory > > How can I achieve this? > > -- > 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 on the web visit > https://groups.google.com/d/msgid/bareos-users/e62e79a1-e5ef-4e73-a3a6-7918245d86c3n%40googlegroups.com. -- 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 on the web visit https://groups.google.com/d/msgid/bareos-users/3F9418BA-E5FB-451C-9FEA-8D7B555FD669%40mlds-networks.com.