bareos: master 6c0bd56d

Author Committer Branch Timestamp Parent
joergs pstorz master 2016-02-01 14:27 master 3b86e541 Pending
Changeset bconsole: added "configure add <resourcetype> ..."

The "configure add" command allows to add resources during runtime.

Usage:
configure add <resourcetype> name=<resourcename> <directive1>=<value1> <directive2>=<value2> ...

A new, valid resource will be stored at <CONFIGDIR>/bareos-dir.d/<resourcetype>/<resourcename>.conf
and can therefore also be loaded on restart.

When adding a client, the director resource for the file daemon is also created at
the path: <CONFIGDIR>/bareos-dir-export/bareos-fd.d/director/<clientname>

Changed behavior:
  * when no configuration file is given (-c <CONFIGFILE> option)
    and the default configuration file is not found,
    the daemons try reading their configuration
    from their config include directories:
      * bareos-dir: <CONFIGDIR>/bareos-dir.d/*/*.conf
      * bareos-sd: <CONFIGDIR>/bareos-sd.d/*/*.conf
      * bareos-fd: <CONFIGDIR>/bareos-fd.d/*/*.conf
  * Windows: the installer does not set the -c <CONFIGFILE> option
    when registering the daemons as services
    or adding programs to the Start menu.
mod - debian/bareos-director.dirs Diff File
mod - debian/bareos-director.postinst.in Diff File
add - debian/bareos-filedaemon.dirs Diff File
mod - debian/bareos-filedaemon.postinst.in Diff File
mod - debian/bareos-storage.dirs Diff File
mod - debian/bareos-storage.postinst.in Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - src/dird/Makefile.in Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_configure.c Diff File
mod - src/filed/Makefile.in Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/include/baconfig.h Diff File
mod - src/lib/bsys.c Diff File
mod - src/lib/lex.c Diff File
mod - src/lib/lex.h Diff File
mod - src/lib/output_formatter.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/protos.h Diff File
mod - src/stored/Makefile.in Diff File
mod - src/stored/stored_conf.c Diff File