Skip to content

Commit

Permalink
Merge pull request #533 from SURFscz/bzip2-zstd
Browse files Browse the repository at this point in the history
Replace bzip2 with zstd
  • Loading branch information
baszoetekouw authored Jul 9, 2024
2 parents dd3906d + 200f3b1 commit 8001d36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/apt/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
- "vim"
- "wget"
- "xz-utils"
- "zstd"

- name: Upgrade packages
apt:
Expand Down
2 changes: 1 addition & 1 deletion roles/sbs/templates/backup-database.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ mysqldump --host="{{ sbs_db_host }}" \
--disable-keys --extended-insert \
--databases "{{ sbs_db_name }}" \
> "${BACKUP_FILE}"
bzip2 "${BACKUP_FILE}"
zstd -qq --rm "${BACKUP_FILE}"

exit 0

0 comments on commit 8001d36

Please sign in to comment.