If I want to exclude a table in a schema which contains a minus -
, how do I escape that in mysqldump? Or do I not need to?
mysqldump --ignore-table=foo-bar.tl_log
does not seem to work
If I want to exclude a table in a schema which contains a minus -
, how do I escape that in mysqldump? Or do I not need to?
mysqldump --ignore-table=foo-bar.tl_log
does not seem to work
No special escaping is needed:
You normally escape a hyphen - with quotes so I would expect the following to work:
Per MySQL :: MySQL 5.7 Reference Manual :: 5.5.4 mysqldump — A Database Backup Program
Try following: