mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-22 20:42:54 +08:00
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:
parent
83fa92a600
commit
d18ea7979f
@ -12,3 +12,18 @@ Set in a brutally unforgiving post-apocalyptic world overrun by the undead, 7 Da
|
|||||||
| Game | 26900 - 26902 |
|
| Game | 26900 - 26902 |
|
||||||
| RCON | 8080 - 8081 |
|
| RCON | 8080 - 8081 |
|
||||||
| webmap | 8082 |
|
| 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/
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user