[{"data":1,"prerenderedAt":181},["ShallowReactive",2],{"/docs/guide/updates-backups":3,"/docs/guide/updates-backups-surround":168},{"id":4,"title":5,"body":6,"description":157,"extension":158,"head":159,"meta":160,"navigation":161,"path":163,"schemaOrg":159,"seo":164,"sitemap":165,"stem":166,"__hash__":167},"docs/1.docs/1.guide/4.updates-backups.md","Updates & Backups",{"type":7,"value":8,"toc":147},"minimark",[9,13,18,21,24,35,38,42,45,48,77,81,84,90,93,97,100,106,109,113,116,134,138,141],[10,11,12],"p",{},"Updates are safest when you treat your config as your own work and the downloaded resource as the new base.",[14,15,17],"h2",{"id":16},"before-updating","Before Updating",[10,19,20],{},"Back up the old resource folder before replacing anything.",[10,22,23],{},"Example:",[25,26,32],"pre",{"className":27,"code":29,"language":30,"meta":31},[28],"language-text","sky_ambulancejob/\nsky_ambulancejob_backup_2026-05-30/\n","text","",[33,34,29],"code",{"__ignoreMap":31},[10,36,37],{},"Also back up your database before larger updates, especially if the changelog mentions SQL changes.",[14,39,41],{"id":40},"do-not-blindly-overwrite-configs","Do Not Blindly Overwrite Configs",[10,43,44],{},"New updates may add new config keys. If you overwrite the new config with your old config, the new version may miss required values.",[10,46,47],{},"Recommended update flow:",[49,50,51,55,58,68,71,74],"ol",{},[52,53,54],"li",{},"Download the new resource.",[52,56,57],{},"Keep a backup of your old resource.",[52,59,60,61,64,65,67],{},"Compare your old ",[33,62,63],{},"config/"," files with the new ",[33,66,63],{}," files.",[52,69,70],{},"Copy your custom values into the new config.",[52,72,73],{},"Import new SQL changes if the changelog asks for it.",[52,75,76],{},"Restart the server and check the console.",[14,78,80],{"id":79},"files-usually-safe-to-edit","Files Usually Safe To Edit",[10,82,83],{},"These files are normally intended for configuration:",[25,85,88],{"className":86,"code":87,"language":30,"meta":31},[28],"config/config.lua\nconfig/functions.lua\nconfig/sv_functions.lua\nconfig/webhooks.lua\nconfig/locales/*.lua\n",[33,89,87],{"__ignoreMap":31},[10,91,92],{},"Some resources include additional config files. Follow the product-specific documentation for those.",[14,94,96],{"id":95},"files-you-should-avoid-editing","Files You Should Avoid Editing",[10,98,99],{},"Avoid editing internal source files unless support specifically asks you to.",[25,101,104],{"className":102,"code":103,"language":30,"meta":31},[28],"source/client/*.lua\nsource/server/*.lua\nsource/html/*\n",[33,105,103],{"__ignoreMap":31},[10,107,108],{},"Changing internal files can make updates harder and may break escrowed code.",[14,110,112],{"id":111},"after-updating","After Updating",[10,114,115],{},"Check these things before opening a support ticket:",[117,118,119,122,125,128,131],"ul",{},[52,120,121],{},"The resource starts without console errors.",[52,123,124],{},"The SQL import or migration ran successfully.",[52,126,127],{},"Your framework, inventory, target, and SQL settings are still correct.",[52,129,130],{},"Old conflicting resources are still stopped.",[52,132,133],{},"Your server artifacts are reasonably up to date.",[14,135,137],{"id":136},"keep-notes","Keep Notes",[10,139,140],{},"When you change something, write it down. A simple note like this saves a lot of debugging time:",[25,142,145],{"className":143,"code":144,"language":30,"meta":31},[28],"Changed ambulance garage vehicles in config.lua\nAdded new medical items to ox_inventory\nUpdated sky_base and sky_ambulancejob\nImported ambulance import.sql\n",[33,146,144],{"__ignoreMap":31},{"title":31,"searchDepth":148,"depth":149,"links":150},1,2,[151,152,153,154,155,156],{"id":16,"depth":149,"text":17},{"id":40,"depth":149,"text":41},{"id":79,"depth":149,"text":80},{"id":95,"depth":149,"text":96},{"id":111,"depth":149,"text":112},{"id":136,"depth":149,"text":137},"How to update Sky-Systems resources safely without losing your configuration.","md",null,{},{"icon":162},"i-lucide-refresh-cw","/docs/guide/updates-backups",{"title":5,"description":157},{"loc":163},"1.docs/1.guide/4.updates-backups","B_nATlzjg8irR2U4_wplv51YpsMo12Meyz7JDRC-4Hg",[169,175],{"title":170,"path":171,"stem":172,"description":173,"icon":174,"children":-1},"FiveM Basics","/docs/guide/fivem-basics","1.docs/1.guide/3.fivem-basics","Basic FiveM concepts that help you install, configure, and debug resources.","i-lucide-server",{"title":176,"path":177,"stem":178,"description":179,"icon":180,"children":-1},"Reporting Issues","/docs/guide/reporting-issues","1.docs/1.guide/5.reporting-issues","What to include when reporting a bug or asking for support.","i-lucide-message-circle-warning",1780173462569]