Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3133

Package LMDB utilities; mdb_dump, mdb_load, mdb_copy, mdb_drop, mdb_stat

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.12.3
    • Component/s: None
    • Labels:
      None

      Description

      LMDB repository includes a set of utilities for interacting with .lmdb database files from the command line. When building packages which use LMDB as db backend (all currently), I think we should include these.

      The tools have some overlap in functionality with our own tooling (cf-check/lmdump), but could be very useful for some purposes:

      1. mdb_copy - Database backup
      2. mdb_dump - Dumping to a cleartext format
      3. mdb_load - Restore from cleartext format (same machine / platform / architecture)

      We will still need cf-check for things which are outside of scope for lmdb utilities:

      1. Pretty printing of CFEngine specific structs
      2. Pretty printing of CFEngine data (i.e. not just printing the strings)
      3. JSON output
      4. Supporting other database backends (eventually)

        Attachments

          Activity

            People

            • Assignee:
              olehermanse Ole Herman Schumacher Elgesem
              Reporter:
              olehermanse Ole Herman Schumacher Elgesem
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel