Closed matiasgarciaisaia closed 1 year ago
My use case is to add --no-tablespaces
to the mysqldump
command (to avoid the need for granting PROCESS
privilege to the backup user), without having to repeat the defaults of the image (that I never needed to check, so I assume they are OK as they are).
I've built this branch into matiasgarciaisaia/mysql-backup-s3:extra-options
MYSQLDUMP_OPTIONS
allowed to set themysqldump
command options, but implied setting once again the defaults that the current image already has. The newMYSQLDUMP_EXTRA_OPTIONS
gets concatenated to the other variable, allowing the user to add without having to repeat the defaults.