\label{doc_help_kdb-record-export_md_md_doc_help_kdb_record_export}%
\Hypertarget{doc_help_kdb-record-export_md_md_doc_help_kdb_record_export}%
 \hypertarget{doc_help_kdb-record-export_md_autotoc_md3064}{}\doxysection{SYNOPSIS}\label{doc_help_kdb-record-export_md_autotoc_md3064}
{\ttfamily kdb record-\/export \mbox{[}$<$source$>$\mbox{]} \mbox{[}$<$format$>$\mbox{]}}~\newline
\hypertarget{doc_help_kdb-record-export_md_autotoc_md3065}{}\doxysection{DESCRIPTION}\label{doc_help_kdb-record-export_md_autotoc_md3065}
This command exports the recorded changes into the specified output format. Keys are exported to {\ttfamily stdout} in whichever format is specified.\hypertarget{doc_help_kdb-record-export_md_autotoc_md3066}{}\doxysection{USAGE}\label{doc_help_kdb-record-export_md_autotoc_md3066}
Where {\ttfamily source} is the path of the key(s) you want to export. Additionally, the user can specify a format to use by passing it as the option argument {\ttfamily format}. The {\ttfamily format} attribute relies on Elektra’s plugin system to export the keys in the desired format. The parameter {\ttfamily format} must be the name of a valid storage plugin.

Both {\ttfamily source} and {\ttfamily format} are optional parameters. By default, {\ttfamily source} is {\ttfamily /} and {\ttfamily format} is {\ttfamily ansible}. If you only specify a single argument, we will whether it is a key or the format.\hypertarget{doc_help_kdb-record-export_md_autotoc_md3067}{}\doxysection{OPTIONS}\label{doc_help_kdb-record-export_md_autotoc_md3067}

\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 -\/E}, {\ttfamily -\/-\/without-\/elektra}\+: Omit the {\ttfamily system\+:/elektra} directory.
\item {\ttfamily -\/S}, {\ttfamily -\/-\/include-\/recording-\/session}\+: Include the recording session in the output.
\item {\ttfamily -\/c}, {\ttfamily -\/-\/plugins-\/config $<$plugins-\/config$>$}\+: Add a configuration to the format plugin.
\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-export_md_autotoc_md3068}{}\doxysection{RETURN VALUE}\label{doc_help_kdb-record-export_md_autotoc_md3068}

\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 exporting.
\end{DoxyItemize}\hypertarget{doc_help_kdb-record-export_md_autotoc_md3069}{}\doxysection{SEE ALSO}\label{doc_help_kdb-record-export_md_autotoc_md3069}

\begin{DoxyItemize}
\item \mbox{\hyperlink{doc_help_kdb-record-start_md}{kdb-\/record-\/start(1)}} on how to start the recording session
\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 
\end{DoxyItemize}