From d18ea7979f4c6b484db97f5a3a8035e1f4f60e2a Mon Sep 17 00:00:00 2001 From: Chris Cox Date: Sun, 17 Sep 2023 13:38:41 +0100 Subject: [PATCH] Update README.md Added a sample ignore file that disallows anything that's pulled from the container image and restricts backups to the server's unique files. --- .../steamcmd_servers/7_days_to_die/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/game_eggs/steamcmd_servers/7_days_to_die/README.md b/game_eggs/steamcmd_servers/7_days_to_die/README.md index 890b3d11..8b48da48 100644 --- a/game_eggs/steamcmd_servers/7_days_to_die/README.md +++ b/game_eggs/steamcmd_servers/7_days_to_die/README.md @@ -12,3 +12,18 @@ Set in a brutally unforgiving post-apocalyptic world overrun by the undead, 7 Da | Game | 26900 - 26902 | | RCON | 8080 - 8081 | | webmap | 8082 | + +## Sample ignore file for backups + +By default the backup includes a lot of files that can be reacquired by pulling the image. Using the following file limits backups to the files that are unique to your server: your config files, logs, saves and generated worlds. + +``` +# Ignore all +* +# Except server config file +!serverconfig.xml +# Except server data dir +!.local/ +# Except logs +!logs/ +```