CDB data files to readable format


I understand CDB is stored as A.cdb, C.cdb and O.cdb. Currently, it is not in readable format.
I would like to understand the below,

  1. Is there a way to convert these .cdb files to readable format using some utility/tool? and
  2. Is there a way to store .cdb files as readable data in first place? if so, please help on what needs to be done?

I tried looking through the ConfD guide but no related points.

Thank you!



If you only have the CDB files, you can use the confd --cdb-debug-dump <path to cdb files> command.
See the confd(1) man page under “STANDALONE OPTIONS” for more details on --cdb-debug-dump.

No, they are stored in binary format.