You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix backup/rotation with multiple excluded databases
* When using multiple excluded databases, the list of databases
is filtered using `grep -v`.
i.e. `grep -v '^\(information_schema|performance_schema\)$`
* When using Basic vs Extended Regular Expressions, the characters
`(` and `|` lose their special meaning, the backslashed versions
have to be used.
For the group (`()`) the escaping has been done, however the
alternation is unescaped.
Leading to:
* All the excluded databases will be backed up.
* In case a database is not backuppable (which is why it had been
excluded), this leads to the cleanup not being run at all, as it
depends on the backup having been successful.
This MR aims to fix this issue, by revising the regular expression
and specifying that behaviour in the respective class spec.
0 commit comments