[BUG] select specific tables in some tables using `--regex`
jackwener opened this issue · 1 comments
jackwener commented
Describe the bug
select specific tables in some tables using --regex
.
There are redundant tables with same prefix name in result.
To Reproduce
Command executed:
mydumper -u root -p * --regex mysql.proc -o .
Expected behavior
just include metadata mysql.proc.metadata mysql.proc-schema.sql
Backup
ls
metadata mysql.proc.metadata mysql.proc-schema.sql
mysql.procs_priv.metadata mysql.procs_priv-schema.sql mysql.proc.sql
Environment (please complete the following information):
- OS version: debian buster
- mydumper 0.10.7, built against MySQL 5.7.33-36
jackwener commented
It is caused by my mistake.
Correctly, --regex ^mysql.proc$