Skip to content

Commit

Permalink
Merge pull request #18 from ripps818/work
Browse files Browse the repository at this point in the history
Merge Upstream changes
  • Loading branch information
ripps818 authored Apr 10, 2024
2 parents 096a276 + 7247f50 commit 299413f
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 @@ -150,7 +150,7 @@ function create_backup() {
rconcli 'broadcast $(get_time) Creating-backup'
fi

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 299413f

Please sign in to comment.