mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
Added save before backup
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "${RCON_ENABLED}" = true ]; then
|
||||
rcon-cli save
|
||||
fi
|
||||
|
||||
DATE=$(date +"%Y-%m-%d_%H-%M-%S")
|
||||
FILE_PATH="/palworld/backups/palworld-save-${DATE}.tar.gz"
|
||||
cd /palworld/Pal/ || exit
|
||||
|
||||
Reference in New Issue
Block a user