mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
include default backup retention time
This commit is contained in:
@@ -17,6 +17,6 @@ fi
|
||||
echo "backup created at $FILE_PATH"
|
||||
|
||||
if [ "${DELETE_OLD_BACKUPS}" = true ]; then
|
||||
echo "removing backups older than $OLD_BACKUP_DAYS days"
|
||||
echo "removing backups older than ${OLD_BACKUP_DAYS:=30} days"
|
||||
find /palworld/backups/ -mindepth 1 -maxdepth 1 -mtime +$OLD_BACKUP_DAYS -print -delete
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user