fradelg / docker-mysql-cron-backup

Docker image to backup all your databases periodically
Apache License 2.0
290 stars 111 forks source link

[Bugfix] RESTORE_LATEST script sorted by backup date #92

Closed g-nardiello closed 1 year ago

g-nardiello commented 1 year ago

Enabling RESTORE_LATEST flag it restores the oldest backup on my testing environment, manually built from master branch.

To fix that I added a sort on the selection of script to be restored, properly checked, so I'm sure file will be restored is correct.