\label{doc_help_kdb-stash_md_md_doc_help_kdb_stash}%
\Hypertarget{doc_help_kdb-stash_md_md_doc_help_kdb_stash}%
 \hypertarget{doc_help_kdb-stash_md_autotoc_md2706}{}\doxysection{SYNOPSIS}\label{doc_help_kdb-stash_md_autotoc_md2706}
{\ttfamily kdb stash}\hypertarget{doc_help_kdb-stash_md_autotoc_md2707}{}\doxysection{DESCRIPTION}\label{doc_help_kdb-stash_md_autotoc_md2707}
This command will stash away the {\ttfamily system}, {\ttfamily user} and {\ttfamily spec} configuration, i.\+e. it releases all mount points and reset Elektra to a clean state. Afterwards a timestamp which can be used to restore everything will be printed.

The backup will be done in the {\ttfamily /var/tmp} directory, so make sure the backup is not deleted.\hypertarget{doc_help_kdb-stash_md_autotoc_md2708}{}\doxysection{EXAMPLES}\label{doc_help_kdb-stash_md_autotoc_md2708}

\begin{DoxyCode}{0}
\DoxyCodeLine{kdb set user:/x foo}
\DoxyCodeLine{\#>}
\DoxyCodeLine{\#> Create a new key user:/x with string "{}foo"{}}
\DoxyCodeLine{}
\DoxyCodeLine{kdb mount a.ini /a}
\DoxyCodeLine{kdb mount}
\DoxyCodeLine{\#> a.ini on /a with name /a}
\DoxyCodeLine{\#> none on system:/info/elektra/constants with name system:/info/elektra/constants}
\DoxyCodeLine{\#> /usr/local/share/doc/elektra/CONTRACT.ini on system:/info/elektra/contract/\#0 with name system:/info/elektra/contract/\#0}
\DoxyCodeLine{\#> none on system:/info/elektra/desktop with name system:/info/elektra/desktop}
\DoxyCodeLine{\#> /usr/local/share/doc/elektra/METADATA.ini on system:/info/elektra/metadata/\#0 with name system:/info/elektra/metadata/\#0}
\DoxyCodeLine{\#> none on system:/info/elektra/uname with name system:/info/elektra/uname}
\DoxyCodeLine{}
\DoxyCodeLine{kdb backup}
\DoxyCodeLine{\#> kdb restore 1500000000}
\DoxyCodeLine{}
\DoxyCodeLine{kdb get user:/x}
\DoxyCodeLine{\#> Did not find key}
\DoxyCodeLine{}
\DoxyCodeLine{kdb mount}
\DoxyCodeLine{}
\DoxyCodeLine{kdb restore 1500000000}
\DoxyCodeLine{}
\DoxyCodeLine{kdb get user:/x}
\DoxyCodeLine{\#> foo}
\DoxyCodeLine{}
\DoxyCodeLine{kdb mount}
\DoxyCodeLine{\#> a.ini on /a with name /a}
\DoxyCodeLine{\#> none on system:/info/elektra/constants with name system:/info/elektra/constants}
\DoxyCodeLine{\#> /usr/local/share/doc/elektra/CONTRACT.ini on system:/info/elektra/contract/\#0 with name system:/info/elektra/contract/\#0}
\DoxyCodeLine{\#> none on system:/info/elektra/desktop with name system:/info/elektra/desktop}
\DoxyCodeLine{\#> /usr/local/share/doc/elektra/METADATA.ini on system:/info/elektra/metadata/\#0 with name system:/info/elektra/metadata/\#0}
\DoxyCodeLine{\#> none on system:/info/elektra/uname with name system:/info/elektra/uname}

\end{DoxyCode}
\hypertarget{doc_help_kdb-stash_md_autotoc_md2709}{}\doxysection{SEE ALSO}\label{doc_help_kdb-stash_md_autotoc_md2709}

\begin{DoxyItemize}
\item \mbox{\hyperlink{doc_help_kdb-restore_md}{kdb-\/restore(1)}}
\item \mbox{\hyperlink{doc_help_kdb-backup_md}{kdb-\/backup(1)}} 
\end{DoxyItemize}