\label{doc_help_kdb-record-start_md_md_doc_help_kdb_record_start}%
\Hypertarget{doc_help_kdb-record-start_md_md_doc_help_kdb_record_start}%
 \hypertarget{doc_help_kdb-record-start_md_autotoc_md3080}{}\doxysection{SYNOPSIS}\label{doc_help_kdb-record-start_md_autotoc_md3080}
{\ttfamily kdb record-\/start \mbox{[}$<$parent\+\_\+key$>$\mbox{]}}~\newline
\hypertarget{doc_help_kdb-record-start_md_autotoc_md3081}{}\doxysection{DESCRIPTION}\label{doc_help_kdb-record-start_md_autotoc_md3081}
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 {\ttfamily kdb record-\/reset} first. By default, all changes to the KDB are recorded. The optional parameter {\ttfamily 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.\hypertarget{doc_help_kdb-record-start_md_autotoc_md3082}{}\doxysection{OPTIONS}\label{doc_help_kdb-record-start_md_autotoc_md3082}

\begin{DoxyItemize}
\item {\ttfamily -\/H}, {\ttfamily -\/-\/help}\+: Show the man page.
\item {\ttfamily -\/V}, {\ttfamily -\/-\/version}\+: Print version info.
\item {\ttfamily -\/p}, {\ttfamily -\/-\/profile $<$profile$>$}\+: Use a different kdb profile.
\item {\ttfamily -\/C}, {\ttfamily -\/-\/color $<$when$>$}\+: Print never/auto(default)/always colored output.
\item {\ttfamily -\/v}, {\ttfamily -\/-\/verbose}\+: Explain what is happening. Prints additional information in case of errors/warnings.
\item {\ttfamily -\/d}, {\ttfamily -\/-\/debug}\+: Give debug information. Prints additional debug information in case of errors/warnings.
\end{DoxyItemize}\hypertarget{doc_help_kdb-record-start_md_autotoc_md3083}{}\doxysection{RETURN VALUE}\label{doc_help_kdb-record-start_md_autotoc_md3083}

\begin{DoxyItemize}
\item 0\+: Successful.
\item 1-\/10\+: standard exit codes, see \mbox{\hyperlink{doc_help_kdb_md}{kdb(1)}}.
\item 11\+: An error occurred during starting the recording.
\end{DoxyItemize}\hypertarget{doc_help_kdb-record-start_md_autotoc_md3084}{}\doxysection{SEE ALSO}\label{doc_help_kdb-record-start_md_autotoc_md3084}

\begin{DoxyItemize}
\item \mbox{\hyperlink{doc_help_kdb-record-stop_md}{kdb-\/record-\/stop(1)}} on how to stop the recording session
\item \mbox{\hyperlink{doc_help_kdb-record-state_md}{kdb-\/record-\/state(1)}} on how to get information about the current recording session
\item \mbox{\hyperlink{doc_help_kdb-record-reset_md}{kdb-\/record-\/reset(1)}} on how to clear the recording session 
\end{DoxyItemize}