From 215c301d25ca62ecb5049501e39f24c16eccc7b9 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Fri, 16 Dec 2022 23:57:37 -0600 Subject: [PATCH] Update 7D2D - Default Backup Exclude (#252) * 7d2d * Update 7D2D - Default Backup Exclusion This adds a default .backupExclusions file for 7d2d. --- exclusions/.backupExclusions7d2d1 | 37 +++++++++++++++++++++++++++++++ seven-days-to-dieconfig.json | 15 +++++++++++++ seven-days-to-dieupdates.json | 11 +++++++++ 3 files changed, 63 insertions(+) create mode 100644 exclusions/.backupExclusions7d2d1 diff --git a/exclusions/.backupExclusions7d2d1 b/exclusions/.backupExclusions7d2d1 new file mode 100644 index 0000000..90e45f0 --- /dev/null +++ b/exclusions/.backupExclusions7d2d1 @@ -0,0 +1,37 @@ +_CommonRedist +7DaysToDieServer_Data +BepInEx +Data +doorstop_libs +Licenses +Logos +Mods +MonoBleedingEdge +steamapps +7DaysToDieServer.exe +7DaysToDieServer.x86_64 +darknessfalls.ico +DarknessFallsConfig.xml +doorstop_config.ini +libstdc++.so.6 +LICENSE +LinuxPlayer_s.debugMicrosoftGame.Config +platform.cfg +README.md +run_bepinex.sh +run_bepinex_server.sh +serverconfig.xml +startdedicated.bat +startserver.sh +steam_appid.txt +steamclient64.dll +tier0_s64.dll +UnityCrashHandler64.exe +UnityPlayer.dll +UnityPlayer.so +UnityPlayer_s.debug +UnityPlayer_Win64_mono_x64.pdb +vstdlib_s64.dll +WindowsPlayer_Master_mono_x64.pdb +WindowsPlayerHeadless.pdb +winhttp.dll \ No newline at end of file diff --git a/seven-days-to-dieconfig.json b/seven-days-to-dieconfig.json index ddb2a0e..07260ab 100644 --- a/seven-days-to-dieconfig.json +++ b/seven-days-to-dieconfig.json @@ -1182,6 +1182,21 @@ "False": "false", "True": "true" } + },{ + "DisplayName":"Download Backup Exclude File", + "Category":"SteamCMD and Updates", + "Description":"This downloads a default backup exclude file to save space on backups by only saving specific directories. If this is disabled, you will need to manually delete the .backupExclude file it downloads.", + "Keywords":"download,backup,exclude,file", + "FieldName":"backupExclude", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"backupExclude", + "IncludeInCommandLine":false, + "DefaultValue":"true", + "EnumValues":{ + "False": "false", + "True": "true" + } },{ "DisplayName":"Please Read!", "Category":"7d2d - Undead Legacy Settings", diff --git a/seven-days-to-dieupdates.json b/seven-days-to-dieupdates.json index 4daea75..cf429ec 100644 --- a/seven-days-to-dieupdates.json +++ b/seven-days-to-dieupdates.json @@ -190,5 +190,16 @@ "UpdateSourceArgs": "-c \"cp -rf ./seven-days-to-die/294420/darkness-falls-a20-main/* ./seven-days-to-die/294420/ && rm -rf ./seven-days-to-die/294420/darkness-falls-a20-main*/\"", "UpdateSourceConditionSetting": "DarknessFalls", "UpdateSourceConditionValue": "true" + }, + { + "UpdateStageName":"Backup Exclusions Download 1", + "UpdateSourcePlatform":"All", + "UpdateSource":"FetchURL", + "UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/exclusions/.backupExclusions7d2d1", + "UpdateSourceArgs":".backupExclude", + "UpdateSourceTarget":"{{$FullBaseDir}}", + "UpdateSourceConditionSetting": "backupExclude", + "UpdateSourceConditionValue": "true", + "OverwriteExistingFiles":false } ] \ No newline at end of file