[{"data":1,"prerenderedAt":180},["ShallowReactive",2],{"content-query-4yxsX5Mti6":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":7,"icon":9,"body":10,"_type":174,"_id":175,"_source":176,"_file":177,"_stem":178,"_extension":179},"/dragonfly/misc/savedb","misc",false,"","ArmaDragonflyClient - Save DB","mdi:file-text-outline",{"type":11,"children":12,"toc":160},"root",[13,22,29,35,41,54,60,65,71,76,82,89,97,103,112,118,138,144],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"save-db",[19],{"type":20,"value":21},"text","Save DB",{"type":14,"tag":23,"props":24,"children":26},"h2",{"id":25},"description",[27],{"type":20,"value":28},"Description",{"type":14,"tag":30,"props":31,"children":32},"p",{},[33],{"type":20,"value":34},"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.",{"type":14,"tag":23,"props":36,"children":38},{"id":37},"syntax",[39],{"type":20,"value":40},"Syntax",{"type":14,"tag":42,"props":43,"children":48},"pre",{"className":44,"code":46,"language":47,"meta":7},[45],"language-sqf","[] call dragonfly_db_fnc_saveDB;\n","sqf",[49],{"type":14,"tag":50,"props":51,"children":52},"code",{"__ignoreMap":7},[53],{"type":20,"value":46},{"type":14,"tag":23,"props":55,"children":57},{"id":56},"parameters",[58],{"type":20,"value":59},"Parameters",{"type":14,"tag":30,"props":61,"children":62},{},[63],{"type":20,"value":64},"None. This function does not require any parameters.",{"type":14,"tag":23,"props":66,"children":68},{"id":67},"return-value",[69],{"type":20,"value":70},"Return Value",{"type":14,"tag":30,"props":72,"children":73},{},[74],{"type":20,"value":75},"None. The operation runs synchronously and saves the database immediately.",{"type":14,"tag":23,"props":77,"children":79},{"id":78},"examples",[80],{"type":20,"value":81},"Examples",{"type":14,"tag":83,"props":84,"children":86},"h3",{"id":85},"save-the-database-without-creating-a-backup",[87],{"type":20,"value":88},"Save the database without creating a backup:",{"type":14,"tag":42,"props":90,"children":92},{"className":91,"code":46,"language":47,"meta":7},[45],[93],{"type":14,"tag":50,"props":94,"children":95},{"__ignoreMap":7},[96],{"type":20,"value":46},{"type":14,"tag":83,"props":98,"children":100},{"id":99},"call-the-save-function-remotely-from-a-client",[101],{"type":20,"value":102},"Call the save function remotely from a client:",{"type":14,"tag":42,"props":104,"children":107},{"className":105,"code":106,"language":47,"meta":7},[45],"[] remoteExecCall [\"dragonfly_db_fnc_saveDB\", 2, false];\n",[108],{"type":14,"tag":50,"props":109,"children":110},{"__ignoreMap":7},[111],{"type":20,"value":106},{"type":14,"tag":23,"props":113,"children":115},{"id":114},"notes",[116],{"type":20,"value":117},"Notes",{"type":14,"tag":119,"props":120,"children":121},"ul",{},[122,128,133],{"type":14,"tag":123,"props":124,"children":125},"li",{},[126],{"type":20,"value":127},"This function should be called periodically to ensure data persistence",{"type":14,"tag":123,"props":129,"children":130},{},[131],{"type":20,"value":132},"Saving is a resource-intensive operation, so it shouldn't be called too frequently",{"type":14,"tag":123,"props":134,"children":135},{},[136],{"type":20,"value":137},"Consider saving before mission end or during low-activity periods",{"type":14,"tag":23,"props":139,"children":141},{"id":140},"links",[142],{"type":20,"value":143},"Links",{"type":14,"tag":30,"props":145,"children":146},{},[147,152,154],{"type":14,"tag":148,"props":149,"children":150},"a",{"href":4},[151],{"type":20,"value":21},{"type":20,"value":153}," |\n",{"type":14,"tag":148,"props":155,"children":157},{"href":156},"/dragonfly/misc/test",[158],{"type":20,"value":159},"Test",{"title":7,"searchDepth":161,"depth":161,"links":162},2,[163,164,165,166,167,172,173],{"id":25,"depth":161,"text":28},{"id":37,"depth":161,"text":40},{"id":56,"depth":161,"text":59},{"id":67,"depth":161,"text":70},{"id":78,"depth":161,"text":81,"children":168},[169,171],{"id":85,"depth":170,"text":88},3,{"id":99,"depth":170,"text":102},{"id":114,"depth":161,"text":117},{"id":140,"depth":161,"text":143},"markdown","content:dragonfly:misc:saveDb.md","content","dragonfly/misc/saveDb.md","dragonfly/misc/saveDb","md",1742777962660]