bareos: master e9f6a2fc

Author Committer Branch Timestamp Parent
joergs joergs master 2022-03-25 15:58 master 8175491c Pending
Changeset dird: add command line feature to print resources

The bareos-dir prints its configuration when called with the -xc parameter.
This change allows to print only specific resources:

  # print full configuration
  bareos-dir -xc

  # print all Job resources
  baroes-dir -xcJob

  # print the Job resource BackupCatalog
  bareos-dir -xcJob=BackupCatalog

Co-authored-by: Alaa Eddine Elamri <46047750+alaaeddineelamri@users.noreply.github.com>
mod - core/src/dird/dird.cc Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
add - systemtests/tests/config-dump/etc/compare/Console-admin.conf Diff File
add - systemtests/tests/config-dump/etc/compare/Console.conf Diff File
mod - systemtests/tests/config-dump/testrunner Diff File