\subsection*{S\+Y\+N\+O\+P\+S\+ES}

{\ttfamily kdb stash}

\subsection*{D\+E\+S\+C\+R\+I\+P\+T\+I\+ON}

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.

\subsection*{E\+X\+A\+M\+P\+L\+ES}


\begin{DoxyCode}
kdb set user/x foo
#>
#> Create a new key user/x with string "foo"

kdb mount a.ini /a
kdb mount
#> a.ini on /a with name /a
#> none on system/info/elektra/constants with name system/info/elektra/constants
#> /usr/local/share/doc/elektra/CONTRACT.ini on system/info/elektra/contract/#0 with name
       system/info/elektra/contract/#0
#> none on system/info/elektra/desktop with name system/info/elektra/desktop
#> /usr/local/share/doc/elektra/METADATA.ini on system/info/elektra/metadata/#0 with name
       system/info/elektra/metadata/#0
#> none on system/info/elektra/uname with name system/info/elektra/uname

kdb backup
#> kdb restore 1500000000

kdb get user/x
#> Did not find key

kdb mount

kdb restore 1500000000

kdb get user/x
#> foo

kdb mount
#> a.ini on /a with name /a
#> none on system/info/elektra/constants with name system/info/elektra/constants
#> /usr/local/share/doc/elektra/CONTRACT.ini on system/info/elektra/contract/#0 with name
       system/info/elektra/contract/#0
#> none on system/info/elektra/desktop with name system/info/elektra/desktop
#> /usr/local/share/doc/elektra/METADATA.ini on system/info/elektra/metadata/#0 with name
       system/info/elektra/metadata/#0
#> none on system/info/elektra/uname with name system/info/elektra/uname
\end{DoxyCode}


\subsection*{S\+EE A\+L\+SO}


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