Skip to content

Commit

Permalink
Merge pull request #260 from jammsen/develop
Browse files Browse the repository at this point in the history
Release 2024-04-09.1
  • Loading branch information
jammsen authored Apr 9, 2024
2 parents 12418a7 + b037f49 commit 99df368
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion scripts/backupmanager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99df368

Please sign in to comment.