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.
This commit is contained in:
Chris Cox 2023-09-17 13:38:41 +01:00 committed by GitHub
parent 83fa92a600
commit d18ea7979f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/
```