databacker / mysql-backup

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

fix filename-pattern #340

Closed deitch closed 2 weeks ago

deitch commented 2 weeks ago

It was not being reference. This should fix it.

deitch commented 2 weeks ago

Fixes #303

deitch commented 2 weeks ago

While I was at it, restructured the Push() call, so that it returns information about the push (timestamps, final filename, since the type of target might change it, etc.). Then used those inside the integration tests.

Besides making for better tests, it also gives us the ability to test FilenamePattern.

deitch commented 2 weeks ago

And added FilenamePattern checking to the integration tests. As soon as this passes CI, we can merge in.