{"id":174580,"date":"2024-11-15T14:06:15","date_gmt":"2024-11-15T13:06:15","guid":{"rendered":"https:\/\/fivem-mods.net\/?p=174580"},"modified":"2026-06-24T17:40:35","modified_gmt":"2026-06-24T15:40:35","slug":"fivem-sunucu-yedeklemeleri-nasil-otomatiklestirilir","status":"publish","type":"post","link":"https:\/\/fivemx.com\/tr\/how-to-automate-fivem-server-backups\/","title":{"rendered":"FiveM Sunucu Yedeklemeleri Nas\u0131l Otomatikle\u015ftirilir"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Bu e\u011fitimde, bir PowerShell beti\u011fi ve Windows G\u00f6rev Zamanlay\u0131c\u0131s\u0131 kullanarak FiveM sunucunuz i\u00e7in otomatik yedeklemeleri nas\u0131l ayarlayaca\u011f\u0131n\u0131z\u0131 \u00f6\u011freneceksiniz. Yedeklemelerinizi otomatikle\u015ftirmek, sunucu verilerinizin g\u00fcvende olmas\u0131n\u0131 ve gerekti\u011finde geri y\u00fcklenebilmesini sa\u011flar.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Ad\u0131m 1: Yedekleme Komut Dosyas\u0131n\u0131 \u0130ndirin<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Yedekleme beti\u011fini \u015furadan indirin: <a href=\"https:\/\/github.com\/FiveMLuxe\/ServerAutoBackup\" target=\"_blank\" rel=\"noopener\">GitHub deposu<\/a>.<\/li>\n\n\n\n<li>Kaydet <code>SunucuYedeklemeScripti.ps1<\/code> dosyay\u0131 sunucunuzun eri\u015febilece\u011fi bir konuma kaydedin.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/codeload.github.com\/FiveMLuxe\/ServerAutoBackup\/zip\/refs\/heads\/main\" target=\"_blank\" type=\"link\" id=\"https:\/\/github.com\/FiveMLuxe\/ServerAutoBackup\/archive\/refs\/heads\/main.zip\" rel=\"noreferrer noopener\">Komut dosyas\u0131n\u0131 buradan indirin<\/a><\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Ad\u0131m 2: Yedekleme Klas\u00f6rlerini Ayarlay\u0131n<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Yedekleme Dizini Olu\u015ftur:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Sunucunuzun k\u00f6k dizinine gidin (FX Server ba\u015flat\u0131c\u0131s\u0131n\u0131n bulundu\u011fu yer).<\/li>\n\n\n\n<li>Ad\u0131nda yeni bir klas\u00f6r olu\u015fturun <code>yedek<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>PowerShell Beti\u011fini D\u00fczenleyin:<\/strong>\n<ul class=\"wp-block-list\">\n<li>A\u00e7\u0131n <code>SunucuYedeklemeScripti.ps1<\/code> Bir metin d\u00fczenleyicide (\u00f6rne\u011fin Not Defteri).<\/li>\n\n\n\n<li>G\u00fcncelle <code>$kaynakYolu<\/code> yedeklemek istedi\u011finiz klas\u00f6re. \u00d6rne\u011fin: <code>$sourcePath = \"C:MyServerresources\"<\/code><\/li>\n\n\n\n<li>G\u00fcncelle <code>$hedefYolu<\/code> to the folder where backups should be stored. For example: <code>$destinationPath = \"C:BackupsServerBackup_$backupDate\"<\/code><\/li>\n\n\n\n<li>The <code>$yedeklemeTarihi<\/code> de\u011fi\u015fkeni, daha iyi bir organizasyon i\u00e7in yedekleme klas\u00f6r\u00fc ad\u0131na ge\u00e7erli tarih ve saati ekler.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Ad\u0131m 3: Zamanlanm\u0131\u015f G\u00f6rev Ayarlay\u0131n<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>G\u00f6rev Zamanlay\u0131c\u0131s\u0131n\u0131 a\u00e7\u0131n:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Basmak <code>Kazan + S<\/code> ve ara <strong>G\u00f6rev Zamanlay\u0131c\u0131<\/strong>, sonra a\u00e7\u0131n.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Yeni G\u00f6rev Olu\u015ftur:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Sa\u011f t\u0131klama <strong>G\u00f6rev Zamanlay\u0131c\u0131 K\u00fct\u00fcphanesi<\/strong> ve se\u00e7 <strong>Temel G\u00f6rev Olu\u015ftur<\/strong>.<\/li>\n\n\n\n<li>G\u00f6reve bir ad verin (\u00f6rne\u011fin, \u201cFiveM Sunucu Yedekleme\u201d) ve t\u0131klay\u0131n <strong>Sonraki<\/strong>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Teti\u011fi Ayarlay\u0131n:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Yedeklemenin ne s\u0131kl\u0131kla \u00e7al\u0131\u015fmas\u0131n\u0131 istedi\u011finizi se\u00e7in (\u00f6rne\u011fin, G\u00fcnl\u00fck, Haftal\u0131k).<\/li>\n\n\n\n<li>Ba\u015flang\u0131\u00e7 tarihini, saatini ve s\u0131kl\u0131\u011f\u0131n\u0131 gerekti\u011fi gibi ayarlay\u0131n, ard\u0131ndan t\u0131klay\u0131n <strong>Sonraki<\/strong>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Eylemi Ayarla:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Se\u00e7me <strong>Bir Program Ba\u015flat<\/strong> ve t\u0131kla <strong>Sonraki<\/strong>.<\/li>\n\n\n\n<li>\u0130\u00e7inde <strong>Program\/senaryo<\/strong> alan, t\u00fcr: <code>powershell.exe<\/code><\/li>\n\n\n\n<li>\u0130\u00e7inde <strong>Arg\u00fcmanlar\u0131 ekle (iste\u011fe ba\u011fl\u0131)<\/strong> alan, t\u00fcr:<code>-File \"C:BackupsServerBackupScript.ps1\" <\/code>Komut dosyas\u0131 ba\u015fka bir yerde saklan\u0131yorsa dosya yolunu ayarlay\u0131n.<\/li>\n\n\n\n<li>\u0130\u00e7inde <strong>Ba\u015fla (iste\u011fe ba\u011fl\u0131)<\/strong> alan\u0131na, beti\u011fin bulundu\u011fu klas\u00f6r yolunu yaz\u0131n, \u00f6rne\u011fin: <code>C:Backups<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>G\u00f6revi Bitir:<\/strong>\n<ul class=\"wp-block-list\">\n<li>T\u0131klamak <strong>Sona ermek<\/strong> g\u00f6revi kaydetmek i\u00e7in.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Ad\u0131m 4: G\u00f6revi Test Edin<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>G\u00f6rev Zamanlay\u0131c\u0131&#039;da yeni olu\u015fturulan g\u00f6reve sa\u011f t\u0131klay\u0131n ve \u015funu se\u00e7in: <strong>Ko\u015fmak<\/strong>.<\/li>\n\n\n\n<li>\u00c7\u0131kt\u0131 klas\u00f6r\u00fcn\u00fc kontrol edin (\u00f6rne\u011fin, <code>C:Backups<\/code>) yedeklemenin ba\u015far\u0131yla olu\u015fturuldu\u011funu onaylamak i\u00e7in. Yedekleme dosyas\u0131 veya klas\u00f6r\u00fc, ad\u0131na g\u00fcncel tarihin eklenmesi gerekir (\u00f6rn. <code>SunucuYedekleme_2024-11-15<\/code>).<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Ad\u0131m 5: Yedekleme Tutarl\u0131l\u0131\u011f\u0131n\u0131 Do\u011frulay\u0131n<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>T\u00fcm kritik dosyalar\u0131n dahil edildi\u011finden emin olmak i\u00e7in yedeklerinizi d\u00fczenli olarak kontrol edin.<\/li>\n\n\n\n<li>\u0130\u015flevselli\u011fini do\u011frulamak i\u00e7in bir geli\u015ftirme sunucusunda yedeklemeyi geri y\u00fcklemeyi deneyin.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u0130pu\u00e7lar\u0131:<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Yedekleme Boyutunu \u0130zle:<\/strong> Hedef klas\u00f6r\u00fcn\u00fczdeki disk alan\u0131na dikkat edin.<\/li>\n\n\n\n<li><strong>Saklama Politikas\u0131:<\/strong> Depolama alan\u0131 sorun te\u015fkil ediyorsa eski yedekleri otomatik olarak silecek bir komut dosyas\u0131 d\u00fc\u015f\u00fcn\u00fcn.<\/li>\n\n\n\n<li><strong>G\u00fcnl\u00fckler:<\/strong> Daha kolay hata ay\u0131klama i\u00e7in PowerShell beti\u011fine g\u00fcnl\u00fck kayd\u0131 ekleyin.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Art\u0131k yedeklemeleri ba\u015far\u0131yla otomatikle\u015ftirdiniz <a href=\"https:\/\/fivemx.com\/tr\/fivem-sunucusu-nasil-olusturulur\/\" id=\"345\">FiveM sunucusu<\/a>!<\/p>\n\n\n<!-- fivemx-quality-enrichment-v2 -->\n<h2>Practical checklist<\/h2><p>Use this guide as a staging checklist before changing a live FiveM server. Confirm the current server artifact version, framework version, resource dependencies, database changes, and any client-side files before you apply the change.<\/p><ul><li>Back up the affected configuration files and database tables.<\/li><li>Apply the change on a test server first.<\/li><li>Watch the server console and client F8 console for errors.<\/li><li>Check whether the change affects jobs, inventory, vehicles, maps, voice, permissions, or player data.<\/li><li>Document the exact file, command, or setting you changed so it can be reverted quickly.<\/li><\/ul><h2>Testing before production<\/h2><p>After the first test, join with a normal player account and repeat the flow from the player perspective. If the topic involves performance, measure before and after with the same player count, route, and resource set. If it involves admin tools or permissions, verify both allowed and denied users.<\/p><h2>Yayg\u0131n hatalar<\/h2><p>Most FiveM issues come from missing dependencies, stale cache, wrong folder names, framework mismatch, or configuration copied from another server. Avoid changing multiple systems at once; make one change, test it, and then continue.<\/p><h2>Related resources<\/h2><p>For production-ready assets, compare paid resources in the <a href=\"https:\/\/fivemx.com\/tr\/magaza\/\">FiveMX shop<\/a>. For free resources, browse <a href=\"https:\/\/fivemx.com\/tr\/free-fivem-scripts\/\">free FiveM scripts<\/a> and test each resource before using it publicly.<\/p>\n\n<!-- fivemx-quality-depth-v3 -->\n<h2>Production rollout notes<\/h2><p>Before using this guidance on a live FiveM server, define the exact outcome you expect from the change. For How to Automate FiveM Server Backups, that means checking which resource, setting, command, or workflow is affected and confirming that the change fits your current framework, artifact version, and server rules. Keep the rollout small enough that you can reverse it quickly if players report errors.<\/p><p>Use a staging server with the same framework, database schema, resource order, and key dependencies as production. If the topic changes gameplay, permissions, visuals, voice, vehicles, maps, inventory, or economy behavior, test with at least one admin account and one normal player account. Watch server console output, client F8 logs, and resource timing while repeating the exact player flow that will happen on the live server.<\/p><h2>Rollback checklist<\/h2><ul><li>Save the previous configuration file, resource folder, and database state before changing anything.<\/li><li>Record the resource version, commit, download page, or setting value you tested.<\/li><li>Restart only the affected resource first when possible, then restart the full server if dependencies require it.<\/li><li>If errors appear, revert the single changed resource or setting before testing another fix.<\/li><\/ul><h2>Maintenance guidance<\/h2><p>Review this setup again after FiveM artifact updates, framework updates, or major resource changes. A configuration that works today can break after dependency updates, renamed exports, changed events, or database migrations. Keep notes with your server documentation so future admins understand what was changed, why it was changed, and how to verify it again.<\/p>\n\n<!-- fivemx-quality-depth-v4 -->\n<h2>Ongoing review<\/h2><p>Recheck How to Automate FiveM Server Backups after major FiveM artifact updates, framework changes, or resource migrations. Confirm that the advice still matches current server behavior, that any linked source remains available, and that installation steps still match the files a server owner will actually download or configure.<\/p><p>For public servers, keep a short changelog beside your server documentation. Note what was tested, what changed, which accounts were used for verification, and how to roll back. This makes future maintenance faster and prevents old setup notes from becoming unclear or unsafe for players.<\/p>","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to set up automated backups for your FiveM server using a PowerShell script and Windows Task Scheduler. Automating your backups ensures your server data is safe and can be restored if needed. Step 1: Download the Backup Script Download the script here Step 2: Set Up Backup Folders [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":174581,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1899],"tags":[],"class_list":["post-174580","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/posts\/174580","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/comments?post=174580"}],"version-history":[{"count":1,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/posts\/174580\/revisions"}],"predecessor-version":[{"id":208550,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/posts\/174580\/revisions\/208550"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/media\/174581"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/media?parent=174580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/categories?post=174580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemx.com\/tr\/wp-json\/wp\/v2\/tags?post=174580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}