mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2025-06-25 16:19:07 +00:00
[Feature] Remove duplicate database dumps to save storage space (#127)
* Replace gzip with deterministic bzip2 compression * Exclude comments from SQL dump * Add option to remove duplicates using fdupes * Revert change to bzip2 as gzip can be deterministic using no-name parameter
This commit is contained in:
parent
8a403d725b
commit
823343381d
3 changed files with 10 additions and 3 deletions
|
@ -21,7 +21,8 @@ RUN apk add --update \
|
|||
mysql-client \
|
||||
gzip \
|
||||
openssl \
|
||||
mariadb-connector-c && \
|
||||
mariadb-connector-c \
|
||||
fdupes && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
COPY --from=binary /go/bin/dockerize /usr/local/bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue