\chapter{save}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save}{}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save}\index{save@{save}}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md40}{}\doxysubsection{\texorpdfstring{autotoc\+\_\+md40}{autotoc\+\_\+md40}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md40}
title\+: Arma\+Dragonfly\+Client -\/ Save DB icon\+: mdi\+:file-\/text-\/outline \hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md41}{}\doxysubsection{\texorpdfstring{excerpt\+: Save DB to disc.}{excerpt\+: Save DB to disc.}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md41}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md42}{}\doxysection{\texorpdfstring{dragonfly\+\_\+db\+\_\+fnc\+\_\+save}{dragonfly\+\_\+db\+\_\+fnc\+\_\+save}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md42}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md43}{}\doxysubsection{\texorpdfstring{Description}{Description}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md43}
Saves the entire database to disk storage. This function persists all data (key-\/value pairs, hash tables, and lists) to a file, allowing it to be retrieved later even after server restart.\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md44}{}\doxysubsection{\texorpdfstring{Syntax}{Syntax}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md44}

\begin{DoxyCode}{0}
\DoxyCodeLine{[]\ call\ dragonfly\_db\_fnc\_save}

\end{DoxyCode}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md45}{}\doxysubsection{\texorpdfstring{Parameters}{Parameters}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md45}
None. The function saves the database without any parameters.\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md46}{}\doxysubsection{\texorpdfstring{Return Value}{Return Value}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md46}
None. The operation runs synchronously and saves the database immediately.\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md47}{}\doxysubsection{\texorpdfstring{Examples}{Examples}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md47}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md48}{}\doxysubsubsection{\texorpdfstring{Save the database without creating a backup\+:}{Save the database without creating a backup\+:}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md48}

\begin{DoxyCode}{0}
\DoxyCodeLine{[]\ call\ dragonfly\_db\_fnc\_save;}

\end{DoxyCode}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md49}{}\doxysubsubsection{\texorpdfstring{Call the save function remotely from a client\+:}{Call the save function remotely from a client\+:}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md49}

\begin{DoxyCode}{0}
\DoxyCodeLine{[]\ remoteExecCall\ ["{}dragonfly\_db\_fnc\_save"{},\ 2,\ false];}

\end{DoxyCode}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md50}{}\doxysubsection{\texorpdfstring{Notes}{Notes}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md50}

\begin{DoxyItemize}
\item This function should be called periodically to ensure data persistence
\item Saving is a resource-\/intensive operation, so it shouldn\textquotesingle{}t be called too frequently
\item Consider saving before mission end or during low-\/activity periods
\end{DoxyItemize}\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md51}{}\doxysubsection{\texorpdfstring{Related Functions}{Related Functions}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md51}
None.\hypertarget{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md52}{}\doxysubsection{\texorpdfstring{Links}{Links}}\label{md__g_1_2ids_2dragonfly_2docs_2basic_2save_autotoc_md52}
None. 