View Issue Details

IDProjectCategoryView StatusLast Update
0000985bareos-core[All Projects] apipublic2019-07-31 15:57
ReporterenikqAssigned To 
PrioritylowSeverityfeatureReproducibilityhave not tried
Status acknowledgedResolutionopen 
Product Version17.2.6 
Target VersionFixed in Version 
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: https://fossies.org/linux/bacula/src/dird/bdirjson.c

Does bareos has somewhere hidden such implementation too, if not can you add this?
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

arogge

arogge

2019-07-31 15:57

developer   ~0003544

Update this to be a feature request.

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