diff --git a/CHANGELOG.md b/CHANGELOG.md index 44a3cb7..cf18172 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ [Back to main](README.md#changelog) +## 2024-04-09 + +- Exclude save backup directory in backup @Dashboy1998 (#259) + ## 2024-04-06 - Disabled recursive Backups by default @Callum027 (#257) diff --git a/scripts/backupmanager.sh b/scripts/backupmanager.sh index 733d2dc..5b21b21 100644 --- a/scripts/backupmanager.sh +++ b/scripts/backupmanager.sh @@ -144,7 +144,7 @@ function create_backup() { sleep 15 rconcli broadcast "$(get_time) Creating backup..." - if ! tar cfz "${LOCAL_BACKUP_PATH}/${backup_file_name}" -C "${LOCAL_GAME_PATH}/" "Saved" ; then + if ! tar cfz "${LOCAL_BACKUP_PATH}/${backup_file_name}" -C "${LOCAL_GAME_PATH}/" --exclude "backup" "Saved" ; then broadcast_backup_failed ee ">>> Backup failed" else