Yeah you right , but it was good for this (I think), But when I look to API host configuration (via baculum web Interface : configuration menu ). I got this:
Host: Main IP Address/Hostname: localhost Port: 9096 stdClass Object ( [output] => Array ( [0] => stdClass Object ( [component_type] => dir [component_name] => [state] => [error_msg] => JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-dir: invalid option -- 'l' Copyright (C) 2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) Usage: bacula-dir [-f -s] [-c config_file] [-d debug_level] [config_file] -c set configuration file to file -d [,] set debug level to , debug tags to -dt print timestamp in debug output -T set trace on -f run in foreground (for debugging) -g groupid -m print kaboom output (for debugging) -r run now -P do not create pid file -s no signals -t test - read configuration and exit -u userid -v verbose user messages -? print this message. ) [1] => stdClass Object ( [component_type] => sd [component_name] => [state] => [error_msg] => JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-sd: invalid option -- 'r' Copyright (C) 2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) Usage: bacula-sd [options] [-c config_file] [config_file] -c use as configuration file -d [,] set debug level to , debug tags to -dt print timestamp in debug output -T set trace on -f run in foreground (for debugging) -g set groupid to group -m print kaboom output (for debugging) -p proceed despite I/O errors -P do not create pid file -s no signals (for debugging) -t test - read config and exit -u userid to -v verbose user messages -? print this message. ) [2] => stdClass Object ( [component_type] => fd [component_name] => [state] => [error_msg] => JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-fd: invalid option -- 'r' Copyright (C) 2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) Usage: bacula-fd [-f -s] [-c config_file] [-d debug_level] -c use as configuration file -d [,] set debug level to , debug tags to -dt print a timestamp in debug output -f run in foreground (for debugging) -g groupid -k keep readall capabilities -m print kaboom output (for debugging) -P do not create pid file -s no signals (for debugging) -t test configuration file and exit -T set trace on -u userid -v verbose user messages -? print this message. ) [3] => stdClass Object ( [component_type] => bcons [component_name] => [state] => [error_msg] => JSON tool returned wrong exitcode. Output:/usr/sbin/bconsole: invalid option -- 'r' Copyright (C) 2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) x86_64-pc-linux-gnu debian 10.5 Usage: bconsole [-s] [-c config_file] [-d debug_level] -D select a Director -l list Directors defined -L list Consoles defined -C select a console -c set configuration file to file -d set debug level to -dt print timestamp in debug output -n no conio -s no signals -u set command execution timeout to seconds -t test - read configuration and exit -? print this message. ) ) [error] => 92 ) these are suspicious : => JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-dir: invalid option -- 'l' => JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-sd: invalid option -- 'r' => JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-fd: invalid option -- 'r' => JSON tool returned wrong exitcode. Output:/usr/sbin/bconsole: invalid option -- 'r' -----Message d'origine----- De : Marcin Haba [mailto:ganius...@gmail.com] Envoyé : mardi 8 décembre 2020 06:37 À : Lionel PLASSE Cc : Bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] [bacula-users]baculum fileset modification Hello Lionel, To be able to configure Bacula via Baculum, you need to enable this function on your Baculum API side. In the Baculum API configuration wizard (fourth step) you need to define paths to Bacula JSON tools. After that the configuration part of Baculum should start working automatically. Good luck. Best regards, Marcin Haba (gani) On Mon, 7 Dec 2020 at 21:11, Lionel PLASSE <pla...@cofiem.fr> wrote: > > Hello, > > I have a question (or a problem) , with baculum 9.6.3 debian : (Bacula > 9.4.2-2+deb10u1 with mysql and apache2) > When opening Filesets details, I do not have the action to modify a Fileset > enable. I only can go backward... > I am despite connected with an administrator role user. > All works fine but no possible for modifying Fileset or adding Client. > I have seen in the captures of the version 9.6 some pics showing these > functions available... > > Is this version able to do this. ? I can only do restoration or backup job or > manage volumes.... > > > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- "Greater love hath no man than this, that a man lay down his life for his friends." Jesus Christ "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users