Rename dump save to backup & add to readme

This commit is contained in:
Thijs van Loef
2024-01-24 12:52:48 +01:00
parent 5ebfd4c62d
commit 2707fc5525
3 changed files with 9 additions and 7 deletions

8
scripts/backup.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
DATE=$(date +"%Y-%m-%d_%H-%M-%S")
FILE_PATH="/palworld/backups/palworld-save-${DATE}.tar.gz"
cd /palworld/Pal/ || exit
tar -zcf "$FILE_PATH" "Saved/"
echo "backup created at $FILE_PATH"