View Issue Details

IDProjectCategoryView StatusLast Update
0000985bareos-coreapipublic2023-07-06 16:12
Reporterenikq Assigned Tobruno-at-bareos  
PrioritylowSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version17.2.6 
Summary0000985: Bareos Configuration in JSON format
DescriptionI need the bareos-dir, bareos-fd and bareos-sd configuration in JSON output.
I noticed you can set the bconsole output to JSOn with `.api 2`, but when doing so `show all` still output the configuration in standard format and not in JSON.

Bacula has a CLI tool to output the config in JSON, see:

Does bareos has somewhere hidden such implementation too, if not can you add this?
TagsNo tags attached.




2019-07-31 15:57

manager   ~0003544

Update this to be a feature request.


2023-07-06 16:12

manager   ~0005164

Done since a couple of version
all daemons implement a --xs output

        Excludes: --xc
        Print configuration schema in JSON format and exit.

Issue History

Date Modified Username Field Change
2018-07-15 19:38 enikq New Issue
2019-07-31 15:57 arogge Priority immediate => low
2019-07-31 15:57 arogge Severity trivial => feature
2019-07-31 15:57 arogge Status new => acknowledged
2019-07-31 15:57 arogge Note Added: 0003544
2023-07-06 16:12 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-06 16:12 bruno-at-bareos Status acknowledged => closed
2023-07-06 16:12 bruno-at-bareos Resolution open => fixed
2023-07-06 16:12 bruno-at-bareos Note Added: 0005164