$darkmode
Elektra 0.11.0
kdb-record-start(1) -- Start session recording

kdb record-start [<parent_key>]

This command starts session recording. If there is already a previous session, this only changes the parent key. If you want to make sure you start at a clean state, use kdb record-reset first. By default, all changes to the KDB are recorded. The optional parameter parent_key can be used to restrict recording to a specific subtree of the KDB.

Note: when you activate session recording, concurrency of Elektra will be somewhat limited. As long as it is active, a global lock will be created to ensure no two processes will write data simultaneously. The errors reported to applications in such cases are similar to when multiple processes write to the same configuration file. Applications should already handle this case gracefully, and just retry writing their configuration. Therefore, activating recording may reduce performance slightly, but (assuming well-written applications) it should not cause application errors.