databacker / mysql-backup

image to enable automated backups of mysql databases in containers
636 stars 178 forks source link

How to ignore tables? in 1.0.4rc? #309

Open drmax24 opened 4 months ago

drmax24 commented 4 months ago

How to ignore tables? in 1.0.4rc? i don't see environment variable. there was a MYSQLDUMP_OPTS now it seems it's gone

drmax24 commented 4 months ago

In the latest I can not set a static name for the dump file. And in 1.0.4 I can not ignore tables... No backwards compatibility to speak of too...

Omg

deitch commented 4 months ago

there was a MYSQLDUMP_OPTS

Those were passed to mysqldump, which was executed as-is. The 1.0 branch doesn't use mysqldump, but implements it directly. That wasn't guaranteed. Definitely open to an option, if you want to add a pull request.

deitch commented 4 months ago

In the latest I can not set a static name for the dump file.

Open a new issue, if you are interested in contributing.